Tagged Questions
0
votes
1answer
68 views
Strategy for maintaining offline repository safely using git [closed]
I use git for versioning. Just yesterday I was working on refactoring my Python code base. After adding a test I found that I had introduced a bug in one of project euler solutions. So I checked out a ...
38
votes
16answers
6k views
Good idea to put bug numbers in a comment in the beginning of the source file? [closed]
Is it a good practice to put bug numbers in the file itself inside a header comment?
The comments would look something like this:
MODIFIED (MM/DD/YY)
abc 01/21/14 - Bug 17452317 - npe in drill ...
3
votes
1answer
76 views
Where to keep track of batch editing scripts?
It is sometime useful to write a script to perform a batch editing on
several files in a source tree. Such a script is usually very
specific and used only once.
Such scripts can be used to rework ...
10
votes
2answers
348 views
Big project layout : adding new feature on multiple sub-projects
I want to know how to manage a big project with many components with version control management system.
In my current project there are 4 major parts.
Web
Server
Admin console
Platform.
The web ...
2
votes
2answers
933 views
Source control system for binary files
At work we have a legacy system written in Visual FoxPRO.
Everything in foxpro is a table, even forms, so basically if you open a form file with a text editor you don't learn much.
Does anyone know ...
3
votes
3answers
381 views
Code bases for desktop and mobile versions of the same app
I have written a small Java Swing desktop application. It seems like a natural step to port it to Android since I am interested in learning how to program for that platform. I believe that I can reuse ...
21
votes
26answers
2k views
Should developers be forced to check-in before leaving work each day, even if the code does not compile?
During a previous consulting position, the developers where told to check-in code on a nightly basis, regardless if it complied or was complete. Managers were afraid of losing any code and said now we ...
3
votes
5answers
438 views
SVN - Is it OK to use any flavor of SVN amongst the team?
Is it OK if, within a team, developers use different flavors of SVN? Say one using Tortoise SVN and other using Versionsapp.com SVN?
3
votes
4answers
959 views
source code check in / validation best practices
I am looking for best practices that big organizations follow for code check-in and validations.
Currently we follow these steps,
- Developer writes code
- Developer do some initial tests
- Code is ...
7
votes
4answers
145 views
Are there revision repositories which implement commenting on revisions other than a fixed single commit message? [closed]
Sangdol asked: Why can’t I edit and SVN commit message? There are good reasons to maintain individual records ‘as is’ for historical purposes. However, there is an arguably objective hazard in not ...
15
votes
2answers
5k views
How secure is my private repository on bitbucket
Does anybody know how secure are my private repositories on bitbucket.org? Can I rely on that?
I have some repositories and I only want them to be reachable only by me and two others.
7
votes
2answers
274 views
How can I estimate the lifespan of a line of code?
I'm trying to figure out a way to analyze code longevity in open source projects: that is, how long a specific line of code is active and in use.
My current thinking is that a line of code's lifespan ...
6
votes
7answers
223 views
Under what conditions does it make sense to break code into many files, or merge them?
Just finished merging seven scripts into one, but got me thinking that I really don't have a formal logic for breaking scripts into pages, or why I'd merge them.
Suggestions?
3
votes
1answer
432 views
Where to host open source mini-projects like jQuery plugins
I've written few jQuery plugins (as well as some other stuff) and I publish all the code on my blog (http://erraticdev.blogspot.com).
I update them as people tell me about any issues they came across ...