Lurker News

Comments (76) 37 threads

grepular4 replies#
I wonder how many devs out there are going to basically hand over access to their companies property (private code repos) to this random guy by "signing in with github", without even thinking about what they're doing.
hobofan1 reply#
By default access to private organization repositories is not given, and has to be specifically requested from the organization.
grepular#
That's a good default.
blairanderson1 reply#
its only for public files.
grepular#
Nope
alanbernstein1 reply#
Where is the "sign in with github" prompt?
TheArcane#
Comes up if you request githistory for a file in a private repository
typpo2 replies#
I'm a bit sad to see this cynicism at the top of a Show HN thread. This project is a fun way to browse code history and it's done with an interesting visual style. It's also open source.

I would think someone trying to view a private file is aware that they are signing in via Github to share it. Github Oauth also explicitly states that code access is shared. So, I don't think it detracts from pomber's project.

kevintb2 replies#
Agreed, but this is the default attitudes of most HN comments - to criticize or nitpick something small.
olafure#
Giving someone else access to your organisation's private repo is not a small thing in my opinion.
nohnce#
I think we can do our part to vote up the comments that are more supportive and change the norm.
grepular#
There was nothing cynical about my comment. So you are sad for no reason.

The privacy implication of handing over access to private code repos to a complete stranger is real, and this project should warn users that this is what they are doing, front and center.
This project could (and arguably should) have been built in such a way that it didn't require you to hand over read access to your private code repos. It could have been built as a browser addon or greasemonkey plugin.
"I would think someone trying to view a private file is aware that they are signing in via Github to share it." - I don't agree. That is why I wrote my comment. I think lots of people would not even consider the implications of what they are doing.
This project doesn't even appear to have a privacy policy or terms and conditions, of any description, so who knows what they're doing with your source code. They could legitimately clone all the private repos that you give them access to, and keep them for statistical analysis or for personal commercial exploitation. Maybe you created a private repo for a NodeJS project but didn't switch the default license specified by NPM from ISC because nobody else should ever have seen the code. Now you've just given your code to a third party with a license that is functionally equivalent to MIT. They can chuck it up in a public github repo and let whoever wants to, use it.

grepular#
Seems the project is MIT licensed and written in JavaScript so presumably somebody could package it up in a browser extension so there are no privacy issues when viewing private repos: https://github.com/pomber/git-history - He does have browser extensions but they just look like they redirect you to the service.
btbuildem2 replies#
The slick movement makes it hard to see what the changes were -- a classic diff would be orders of magnitude more effective here.
dkoston#
Came here to say the same thing. Having to click back and forth in history to see the changes is time consuming. Function over flash please
imhoguy#
Wide multi-pane diff with committer over each pane and horizontal scroll to navigate.
koboll2 replies#
This is very cool.

One suggestion: The long horizontal sliding animation seriously detracts from the user experience. It makes it difficult to track what changed because areas of the code go briefly blank while the next bit of code is sliding in.
Would be a lot less difficult to track changes if new lines of code simply faded in in-place and pushed code around them up and down.

oneeyedpigeon#
It would also be useful to have some kind of additional indication, so that changes in files longer than one screen are visible.

Load more comments