Live data from Hacker News

Why do you not make the code available under a 'source code repository'?

live555.com

51–60 of 99 posts

Re: Why do you not make the code available under a 'source code repository'?

#51
post #43

A source code repository lets me see what bugs you have fixed, and lets me do things like "git bisect" to discover the identity of the commit where you broke something six months ago that wasn't discovered because it's not covered by tests. Helping others find your bugs helps you. Anyone who is serious about any open source project today has a repository. Your bogus rationalizations sound like you haven't held a soft…

Git bisect is only available for git and (at least) subversion has no comparable command, so unless you are willing to force everybody to use git (and that may not be bad) you aren't guaranteed to get anything useful out of it. Heck git allows you to edit the history pretty widely, right (I have only limited experience with git myself)? So in this case he could maintain a separate upstream repository which only conta…

git bisect automates the process, but the underlying technique should work with any VCS. and i've scripted it up in SVN several times to good effect

Re: Why do you not make the code available under a 'source code repository'?

#52
post #43

A source code repository lets me see what bugs you have fixed, and lets me do things like "git bisect" to discover the identity of the commit where you broke something six months ago that wasn't discovered because it's not covered by tests. Helping others find your bugs helps you. Anyone who is serious about any open source project today has a repository. Your bogus rationalizations sound like you haven't held a soft…

Git bisect is only available for git and (at least) subversion has no comparable command, so unless you are willing to force everybody to use git (and that may not be bad) you aren't guaranteed to get anything useful out of it. Heck git allows you to edit the history pretty widely, right (I have only limited experience with git myself)? So in this case he could maintain a separate upstream repository which only conta…

I know it's svn is just an example but:

http://git-scm.com/docs/git-svn

The svn plugin to git let's have a git repo that is a clone /client of an svn repo. Very handy if you have an svn upstream but need to work offline.

Re: Why do you not make the code available under a 'source code repository'?

#54
post #41

My experience is that for a software development project of just a few people, for a code repository fairly obvious use of the hierarchical file system on a shared server is just fine.

No, it isn't. Especially since it's so damn easy to setup a git or mercurial server.

Re: Why do you not make the code available under a 'source code repository'?

#55
post #51
post #43

Earlier quoted context omitted.

Git bisect is only available for git and (at least) subversion has no comparable command, so unless you are willing to force everybody to use git (and that may not be bad) you aren't guaranteed to get anything useful out of it. Heck git allows you to edit the history pretty widely, right (I have only limited experience with git myself)? So in this case he could maintain a separate upstream repository which only conta…

git bisect automates the process, but the underlying technique should work with any VCS. and i've scripted it up in SVN several times to good effect

I've been in situations where I was desperate enough to do it by hand. 20+ builds and manual tests later, I found a really nasty bug in some 3rd party code that manifested with the most bizarre repro that had no obvious connection even in hindsight, and symptoms involving cleanly exit(3)ing out of the program from a totally unrelated bit of code.

Re: Why do you not make the code available under a 'source code repository'?

#56
post #25

A source code repository lets me see what bugs you have fixed, and lets me do things like "git bisect" to discover the identity of the commit where you broke something six months ago that wasn't discovered because it's not covered by tests. Helping others find your bugs helps you. Anyone who is serious about any open source project today has a repository. Your bogus rationalizations sound like you haven't held a soft…

> Your bogus rationalizations sound like you haven't held a software job working with other developers in twenty-five years, if ever. Video codec people are kind of weird as developers. Consider ffmpeg and libav. They're certainly competent, just weird.

Interesting point, and I happen to have worked with the internals of ffmpeg on the job, so I understand. (I gave it a plugin architecture, supporting dynamically loaded AVParser and AVCodec objects, supporting hardware acceleration.)

Re: Why do you not make the code available under a 'source code repository'?

#57
post #49
post #25

Earlier quoted context omitted.

> Your bogus rationalizations sound like you haven't held a software job working with other developers in twenty-five years, if ever. Video codec people are kind of weird as developers. Consider ffmpeg and libav. They're certainly competent, just weird.

I dunno. Statements like in the link make me question if someone is actually competent.

someone's grasp of best practices in vcs is in no way an indicator of their programming or cs abilities

Re: Why do you not make the code available under a 'source code repository'?

#58
post #28
post #3

I don't see an issue with this (am I supposed to? Do we demand everyone use git or similar now?). They can give you the source however they want. On another topic, did anyone see the license section? --- If you distribute a product (whether software or hardware; whether free or for pay) that uses the LIVE555 library code, then you must - when requested by either a customer, or Live Networks, Inc. - upgrade it as soon…

> I don't see an issue with this (am I supposed to? Do we demand everyone use git or similar now?). That depends on your job. If you are a software developer, -engineer or similar, I would argue that you should. There are good arguments for version control. - divide & conquer for bugfinding - reconstruction of history - being able to revert back to an older version if/while operations require it - it allows tracking…

Some of the arguments may seem plausible in theory, but as soon as I contemplate doing my 9-to-5 dev work without source control (specifically git)-- yeah, no, not happening.

Re: Why do you not make the code available under a 'source code repository'?

#59
post #51
post #43

Earlier quoted context omitted.

Git bisect is only available for git and (at least) subversion has no comparable command, so unless you are willing to force everybody to use git (and that may not be bad) you aren't guaranteed to get anything useful out of it. Heck git allows you to edit the history pretty widely, right (I have only limited experience with git myself)? So in this case he could maintain a separate upstream repository which only conta…

git bisect automates the process, but the underlying technique should work with any VCS. and i've scripted it up in SVN several times to good effect

Git has bisect because Torvalds and co. did the same thing outside of version control using kernel tarballs.

"Hmm, it still worked in 2.2.13, but not in 2.2.37. Let's try 2.2.25."

Re: Why do you not make the code available under a 'source code repository'?

#60

Subclassing for versioning, eh? I remember talking to a friend in the early 90s who was doing that at the company he worked at. I was reading about SCCS at the time, and wanted to convince my management to use that, but couldn't get them away from the "directory tree per release version" method. My next job in the mid 90s used RCS, and I've never worked at a job since that didn't use some kind of version control / ar…

> How do you "undo" to yesterday when you change your mind about something??? One might argue that developer time is valuable enough to ensure that it's spent on things that won't be "undone".

What happens when you introduce a bug that isn't discovered for 6 months? What happens if you think of a better way to do something? What happens if you're working on something and the power goes out, leaving you with partially-completed and saved work with no editor history? And so on...
Post reply on HN