Reputation
401
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 3 7
Newest
 Critic
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 48 votes cast
Jul
18
comment Should unit tests run on every git branch?
This concept should not be applied beyond a specific shared team repo, or not to repos below a certain layer. Developers should still be allowed to have personal or "work-in-progress" repos, where some branches may be experimental or incomplete. The ability to easily create experimental branches was a fundamental goal when Linus Torvalds designed git.
Jul
8
awarded  Critic
Jul
7
answered Bad practice - switch case to set environment
Jun
30
awarded  Editor
Jun
30
revised Using open source apps source code under Apache v2
Clarify with a short answer
Jun
30
awarded  Yearling
Jun
29
answered Using open source apps source code under Apache v2
Jun
29
comment Using open source apps source code under Apache v2
Have you read the Apache license to learn it's terms and conditions, and find out what it says you are allowed to do and not allowed to do?
May
22
awarded  Good Answer
May
22
awarded  Populist
Apr
30
comment Commit at a logical checkpoint only, or also when you're at a stopping point?
Possible duplicate of Is it ever OK to commit non-working code? See my answer based on a vision of usage expressed by Linus Torvalds as a goal when he created git.
Apr
30
comment Commit at a logical checkpoint only, or also when you're at a stopping point?
These policies seem to be reasoned from the perspective of how should a team work together with a repository, what should the team members see, what you want people to push to a repository you may work with. But a person can commit to private repositories, on personal branches, and squash commits before pushing to a shared repo. Best practices in that private realm have different considerations which are left ignored and unmet by policies such as your answer.
Sep
24
awarded  Autobiographer
Jul
26
answered What are some version control systems based on different concepts than Git, Mercurial etc?
Feb
6
answered Using Hibernate Criteria framework for complex queries vs. just making views in DB
Sep
18
awarded  Nice Answer
Sep
17
awarded  Yearling
Sep
16
comment Is it ever OK to commit non-working code?
With git (or other DVCS) workflow, developers are working on branches, local branches, NOT the main trunk. The next question would be should a developer ever push broken code to another repository. This is a matter of a team having an understanding of what branches are for what, and of using good comments on your commits. A hot fix would only be made on a release branch. Of course nobody should be merging broken code there. Teams do need to have rules on workflow, but what is done in a local repository is an entirely different matter.
Sep
16
answered Is it ever OK to commit non-working code?
Aug
6
answered Is SQL important if I know ORM frameworks well?