News for hackers. Stuff that matters.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by bbrunner on Wednesday October 08, 2014 @11:09AM (#8427263)
Hey, developer here. Made this in my spare time to get reacquainted with django and to learn how to use celery and celery beat. I also love the idea of using data that people are already creating passively in a new way that breathes some more use into it (e.g. using github commits to give a daily status update).

Thanks for checking it out!

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by adolfoabegg on Wednesday October 08, 2014 @01:52PM (#8428312)
Hey, this looks cool but I don't want grant write permission to my public and private repos just to get a daily status update. Is it possible to ask for read-only perm?
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by rubyn00bie on Wednesday October 08, 2014 @02:01PM (#8428374)
+1 to this sentiment... I want to use this service, but it requires I give it way too many permissions. I actually couldn't click "authorize" when I looked at how much access it wanted (probably an oversight, and nothing nefarious).

Hopefully it gets fixed, because this is sweet. I'd happily pay $20-$50 a month for my team to get an overview of github activity for our organization.

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by bbrunner on Wednesday October 08, 2014 @03:36PM (#8428987)
Yea I wish it was possible. The read/write repo permission is the only way I've found to be able to list all of the private repositories in an org. There's a few other threads in these comments that cover the specifics a little bit better but the gist is that GitHub has pretty coarse grained permissions unfortunately.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by aembleton on Wednesday October 08, 2014 @04:02PM (#8429133)
Looks like this has been fixed. I've just signed up and it was only asking for read permissions.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by mackwerk on Friday October 17, 2014 @03:35AM (#8469828)
If I revoke the application from github and sign up again I am asked for write permissions to private repos still :(
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by peetle on Wednesday October 08, 2014 @02:13PM (#8428459)
+1 - I will never use this with these kinds of permissions.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by wdewind on Wednesday October 08, 2014 @01:47PM (#8428278)
It seems like you don't allow someone to get their organization's feed unless they are an admin for that organization. Is that correct? All I can get are my personal repos.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by bbrunner on Wednesday October 08, 2014 @02:00PM (#8428360)
I'm able to access repos for organizations I'm not an admin for. That's very strange.

I'll have to look into it. Feel free to hit me up at [email protected] with your account info and I'll see what I can do.

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by 100k on Wednesday October 08, 2014 @12:23PM (#8427754)
Cool idea.

I can't tell from the screenshots: does it show changes across all branches in the repository?

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by dyeje on Thursday October 09, 2014 @11:14AM (#8432861)
Checked it out and it seems like it only does the default branch.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by siliconc0w on Wednesday October 08, 2014 @02:46PM (#8428680)
Throw in some git analysis. What I find useful is highlighting files with the most frequent and # of changes. "Hot files" like a controller that is constantly getting logic added and modified it's probably a good target for refactoring and future changes should be more closely peer reviewed.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by ionforce on Wednesday October 08, 2014 @02:52PM (#8428714)
Conversely, I'm also curious to find cold files or files that people are afraid to touch.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by mackwerk on Wednesday October 08, 2014 @11:52AM (#8427551)
How come the application needs write permissions to repos (private and public)?
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by makmanalp on Wednesday October 08, 2014 @11:55AM (#8427561)
Yeah, I was super excited until I saw this - write perms to repos and personal info. Especially since I use github for work and admin a bunch of repos, I can't take the risk of allowing write access.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by bbrunner on Wednesday October 08, 2014 @11:57AM (#8427576)
Unfortunately, as far as I can tell, there isn't any way to specifically ask for only read permissions for private repos. The commit statuses permission doesn't allow for listing of private repos either.

If I'm completely missing something than I'd be more than happy to get a change deployed.

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by 100k on Wednesday October 08, 2014 @12:24PM (#8427759)
I wish GitHub would add more fine-grained permissions. Right now authorizing an app like this is giving away the keys to the kingdom and that's a little scary. For a similar reason we chose to run Hound (https://houndci.com/) locally instead of use the SaaS version.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by masklinn on Wednesday October 08, 2014 @03:47PM (#8429051)
> I wish GitHub would add more fine-grained permissions.

Yes, for both API and direct access. You can't allow somebody to triage bugs without giving them write access to the repository itself.

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by curun1r on Wednesday October 08, 2014 @12:11PM (#8427685)
Judging by the screenshots of the product, it seems like repo:status is the permission that you should be asking for instead of repo. It's still read/write, but only to commit statuses and not code.

Is there something that your product is doing that requires read access to the code?

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by bbrunner on Wednesday October 08, 2014 @12:17PM (#8427719)
I tried repo:status but from my testing I wasn't able to list private repos. So even though I might be able to get their commits I had no way of discovering all of the private repos for a person/org.

I'll reinvestigate this as soon as I'm off the caltrain and have decent internet :)

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by res0nat0r on Wednesday October 08, 2014 @12:35PM (#8427821)
I think r/w access is due to a limitation in the permissions from Github. Hopefully they will make this more fine-grained soon.

https://slack.zendesk.com/hc/en-us/articles/201824286-Why-do...

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by agilebyte on Wednesday October 08, 2014 @12:35PM (#8427818)
Could you ask for either public or private scope?
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by IanCal on Wednesday October 08, 2014 @03:23PM (#8428904)
There doesn't seem to be such a thing in github, at least there wasn't last time I had to deal with this. If they've updated it since then that'd be awesome, but I think this is a long-standing issue.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by agilebyte on Wednesday October 08, 2014 @03:30PM (#8428960)
I see, you are right you could only do ` ` to get some information and `public_repo` grants write access too.

https://developer.github.com/v3/oauth/#scopes

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by flavor8 on Wednesday October 08, 2014 @11:31AM (#8427416)
Nice. Could you add bitbucket support too?
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by Xeoncross on Wednesday October 08, 2014 @01:03PM (#8427968)
Wait, isn't this the same information the github dashboard, repo commit log (on github.com), desktop client (on mac), and cli already tell you? Am I missing something?
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by bbrunner on Wednesday October 08, 2014 @01:09PM (#8428006)
It's repackaged according to person and repo and in your inbox every day. I'm also working on joining it with other data sources (trello, jira, sentry, etc.) to make it more holistic.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by bluerail on Wednesday October 08, 2014 @01:07PM (#8427983)
Yes it is, but as mentioned it gives you daily digest of it in your email inbox..
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by whymsicalburito on Wednesday October 08, 2014 @02:11PM (#8428438)
It would be really cool if this could give some insight into how much weight each commit made carries. For example it could flag a commit that contains significantly more code changes than that team member typically submits. Or if a section of code has been stable and untouched for a while, if a change comes in that may be able to be classified as a bug fix. Similarly if a bunch of new files are added, that could be highlighted as a feature build.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by bbrunner on Wednesday October 08, 2014 @02:26PM (#8428544)
I agree! There is a ton of awesome information just waiting to be uncovered. Diffmatic currently just sends out a really raw digest but getting smart about surfacing meaningful and important changes would be huge. I think that incorporating sources like sentry and other exception trackers and correlating them back to code changes in the digest would be very interesting and useful.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by tomblomfield on Wednesday October 08, 2014 @05:25PM (#8429552)
This is awesome - I've been wanting this exact tool for the last 5 years on various projects.

Over time, it would be good to have little bits of markup that allows you to highlight things like outstanding questions that need answering by a specific person, pull requests that need review, blocking issues etc

And then have them pulled out in the summary email.

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by tekacs on Wednesday October 08, 2014 @11:34AM (#8427429)
Any chance we could get GitLab/generic Git (even just from commit author) support?
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by bbrunner on Wednesday October 08, 2014 @11:42AM (#8427487)
I'd love to support other providers (BitBucket) and have generic Git support. This is a quick first pass since GitHub comes built in to python-social-auth and their API is really well documented and has good python wrappers.

I think it'd be interesting to have a daemon sitting on devs' computers that could track unpushed commits or even in-progress code. It might be a little bit intrusive but I think that having more insight could be really neat.

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by tekacs on Wednesday October 08, 2014 @11:51AM (#8427543)
Commit hooks (no daemon necessary) might work for unpushed commits?

inotify/fsevents watching of folders (for in-progress code) is pretty common nowadays for various things, is it not? I guess some devs might not like having their unfinished code made visible to others?

Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by bluerail on Wednesday October 08, 2014 @01:05PM (#8427975)
Looks Cool... Definitely going to signup..
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by ar7hur on Wednesday October 08, 2014 @11:47AM (#8427509)
Time is diffmatic.
Re:Show HN: Diffmatic – A daily GitHub digest for dev teams by LeicaLatte on Wednesday October 08, 2014 @12:33PM (#8427814)
Looks good