Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. How often should we checkin?

How often should we checkin?

Scheduled Pinned Locked Moved The Lounge
cssquestiondiscussion
44 Posts 25 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 4483848
    wrote on last edited by
    #1

    How often should we checkin? I try to checkin as often as possible (although I don't go OTT), and I thought that was considered to be the best practice, but a lot of people seem to disagree. I find it so much easier to work with a small number of files checked out, and the more often I checkin, the less likely it is that I'll get a conflict. The other thing that I think is REALLY bad is when we have periods where we aren't allowed to checkin eg. no checkins while a build is done. Is this normal or is it really as bad as it feels? If people need to have the code stable at a certain point then shouldn't they should either label it or branch it? I see source control as being a very imporant tool that shouldn't ever be taken away from developers. As well as making things difficult (ie. moving onto other things while having other things checked out) I think it would discourage developers from using source control correctly.

    C K H D S 17 Replies Last reply
    0
    • U User 4483848

      How often should we checkin? I try to checkin as often as possible (although I don't go OTT), and I thought that was considered to be the best practice, but a lot of people seem to disagree. I find it so much easier to work with a small number of files checked out, and the more often I checkin, the less likely it is that I'll get a conflict. The other thing that I think is REALLY bad is when we have periods where we aren't allowed to checkin eg. no checkins while a build is done. Is this normal or is it really as bad as it feels? If people need to have the code stable at a certain point then shouldn't they should either label it or branch it? I see source control as being a very imporant tool that shouldn't ever be taken away from developers. As well as making things difficult (ie. moving onto other things while having other things checked out) I think it would discourage developers from using source control correctly.

      C Offline
      C Offline
      Chris Meech
      wrote on last edited by
      #2

      I checkin to the Lounge pretty frequently throughout the day. There are some that never leave. :)

      Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

      S Mike HankeyM 2 Replies Last reply
      0
      • U User 4483848

        How often should we checkin? I try to checkin as often as possible (although I don't go OTT), and I thought that was considered to be the best practice, but a lot of people seem to disagree. I find it so much easier to work with a small number of files checked out, and the more often I checkin, the less likely it is that I'll get a conflict. The other thing that I think is REALLY bad is when we have periods where we aren't allowed to checkin eg. no checkins while a build is done. Is this normal or is it really as bad as it feels? If people need to have the code stable at a certain point then shouldn't they should either label it or branch it? I see source control as being a very imporant tool that shouldn't ever be taken away from developers. As well as making things difficult (ie. moving onto other things while having other things checked out) I think it would discourage developers from using source control correctly.

        K Offline
        K Offline
        keyboard warrior
        wrote on last edited by
        #3

        depends. it drives me nuts when people 'check-in' everywhere they go. so-and-so just checked in at Big Fancy Restaurant. so-and-so just checked in at Big Fancy Club. so-and-so just checked in at Big Fancy Licker Store. so-and-so just checked in at Big Fancy Holding Cell. this is just what happens when you 'friend' Dalek Dave.

        A 1 Reply Last reply
        0
        • K keyboard warrior

          depends. it drives me nuts when people 'check-in' everywhere they go. so-and-so just checked in at Big Fancy Restaurant. so-and-so just checked in at Big Fancy Club. so-and-so just checked in at Big Fancy Licker Store. so-and-so just checked in at Big Fancy Holding Cell. this is just what happens when you 'friend' Dalek Dave.

          A Offline
          A Offline
          AspDotNetDev
          wrote on last edited by
          #4

          jgasm wrote:

          Big Fancy Licker

          :~

          [Managing Your JavaScript Library in ASP.NET]

          K 1 Reply Last reply
          0
          • C Chris Meech

            I checkin to the Lounge pretty frequently throughout the day. There are some that never leave. :)

            Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

            S Offline
            S Offline
            Smithers Jones
            wrote on last edited by
            #5

            Chris Meech wrote:

            I checkin to the Lounge pretty frequently throughout the day

            You have to check-in to the Lounge? I just wander in and out whenever it suits me. No checks, only some gazes when I forget to knock the dirt off my shoes after sneaking about Q&A :)

            "I love deadlines. I like the whooshing sound they make as they fly by." (DNA)

            S 1 Reply Last reply
            0
            • U User 4483848

              How often should we checkin? I try to checkin as often as possible (although I don't go OTT), and I thought that was considered to be the best practice, but a lot of people seem to disagree. I find it so much easier to work with a small number of files checked out, and the more often I checkin, the less likely it is that I'll get a conflict. The other thing that I think is REALLY bad is when we have periods where we aren't allowed to checkin eg. no checkins while a build is done. Is this normal or is it really as bad as it feels? If people need to have the code stable at a certain point then shouldn't they should either label it or branch it? I see source control as being a very imporant tool that shouldn't ever be taken away from developers. As well as making things difficult (ie. moving onto other things while having other things checked out) I think it would discourage developers from using source control correctly.

              H Offline
              H Offline
              Hans Dietrich
              wrote on last edited by
              #6

              I make it a rule to checkin whenever I checkout.

              Best wishes, Hans


              [Hans Dietrich Software]

              X 1 Reply Last reply
              0
              • U User 4483848

                How often should we checkin? I try to checkin as often as possible (although I don't go OTT), and I thought that was considered to be the best practice, but a lot of people seem to disagree. I find it so much easier to work with a small number of files checked out, and the more often I checkin, the less likely it is that I'll get a conflict. The other thing that I think is REALLY bad is when we have periods where we aren't allowed to checkin eg. no checkins while a build is done. Is this normal or is it really as bad as it feels? If people need to have the code stable at a certain point then shouldn't they should either label it or branch it? I see source control as being a very imporant tool that shouldn't ever be taken away from developers. As well as making things difficult (ie. moving onto other things while having other things checked out) I think it would discourage developers from using source control correctly.

                D Offline
                D Offline
                Dan Neely
                wrote on last edited by
                #7

                I check in as frequently as I have something new implemented and (appearing) to work properly. Generally every 1 to 3 hours; although some complex items can take longer. More than a day or two and I generally branch to minimize the loss of work risk and to have some incremental history on what I'm doing. The other big benefit of smaller checkins is that it's easier to see what was changed and match it with the checkin comment. I completely agree with creating a branch any time a stable snapshot is needed. Likewise any major monkeying on the server/mass reorganization that forces everyone off should be done after hours to avoid inconveniencing the team.

                3x12=36 2x12=24 1x12=12 0x12=18

                1 Reply Last reply
                0
                • U User 4483848

                  How often should we checkin? I try to checkin as often as possible (although I don't go OTT), and I thought that was considered to be the best practice, but a lot of people seem to disagree. I find it so much easier to work with a small number of files checked out, and the more often I checkin, the less likely it is that I'll get a conflict. The other thing that I think is REALLY bad is when we have periods where we aren't allowed to checkin eg. no checkins while a build is done. Is this normal or is it really as bad as it feels? If people need to have the code stable at a certain point then shouldn't they should either label it or branch it? I see source control as being a very imporant tool that shouldn't ever be taken away from developers. As well as making things difficult (ie. moving onto other things while having other things checked out) I think it would discourage developers from using source control correctly.

                  S Offline
                  S Offline
                  Soulus83
                  wrote on last edited by
                  #8

                  I use the same philosophy, and even can help ypu, if managing a team, to actually know which members are really working on features/backlog. There are some tools that can even graph the commit rate of each dev, thinking you are using something like svn. Even with VSS, you can do as you say, commit always and commit often, if something needs to freeze just branch it!

                  "Whether you think you can, or you think you can't--either way, you are right." — Henry Ford

                  1 Reply Last reply
                  0
                  • U User 4483848

                    How often should we checkin? I try to checkin as often as possible (although I don't go OTT), and I thought that was considered to be the best practice, but a lot of people seem to disagree. I find it so much easier to work with a small number of files checked out, and the more often I checkin, the less likely it is that I'll get a conflict. The other thing that I think is REALLY bad is when we have periods where we aren't allowed to checkin eg. no checkins while a build is done. Is this normal or is it really as bad as it feels? If people need to have the code stable at a certain point then shouldn't they should either label it or branch it? I see source control as being a very imporant tool that shouldn't ever be taken away from developers. As well as making things difficult (ie. moving onto other things while having other things checked out) I think it would discourage developers from using source control correctly.

                    N Offline
                    N Offline
                    NormDroid
                    wrote on last edited by
                    #9

                    I'm having checkin piri piri tonight for my tea.

                    Software Kinetics - The home of good software

                    1 Reply Last reply
                    0
                    • U User 4483848

                      How often should we checkin? I try to checkin as often as possible (although I don't go OTT), and I thought that was considered to be the best practice, but a lot of people seem to disagree. I find it so much easier to work with a small number of files checked out, and the more often I checkin, the less likely it is that I'll get a conflict. The other thing that I think is REALLY bad is when we have periods where we aren't allowed to checkin eg. no checkins while a build is done. Is this normal or is it really as bad as it feels? If people need to have the code stable at a certain point then shouldn't they should either label it or branch it? I see source control as being a very imporant tool that shouldn't ever be taken away from developers. As well as making things difficult (ie. moving onto other things while having other things checked out) I think it would discourage developers from using source control correctly.

                      G Offline
                      G Offline
                      Gary Wheeler
                      wrote on last edited by
                      #10

                      Cue the Eagles: "You can check-in any time you like, but you can never leave..." :-D I have two basic rules: 1. The checked-in code must build successfully. If I need to check something in that will break the build for any length of time, I confirm with the rest of the team they're not going to need a build within that interval. 2. I generally check in new features only when they're completed in their entirety. My users hate nothing quite like getting a bright shiny new button that does precisely squat.

                      Software Zen: delete this;

                      1 Reply Last reply
                      0
                      • A AspDotNetDev

                        jgasm wrote:

                        Big Fancy Licker

                        :~

                        [Managing Your JavaScript Library in ASP.NET]

                        K Offline
                        K Offline
                        keyboard warrior
                        wrote on last edited by
                        #11

                        it is unnerving that you picked that right out. :~

                        A 1 Reply Last reply
                        0
                        • U User 4483848

                          How often should we checkin? I try to checkin as often as possible (although I don't go OTT), and I thought that was considered to be the best practice, but a lot of people seem to disagree. I find it so much easier to work with a small number of files checked out, and the more often I checkin, the less likely it is that I'll get a conflict. The other thing that I think is REALLY bad is when we have periods where we aren't allowed to checkin eg. no checkins while a build is done. Is this normal or is it really as bad as it feels? If people need to have the code stable at a certain point then shouldn't they should either label it or branch it? I see source control as being a very imporant tool that shouldn't ever be taken away from developers. As well as making things difficult (ie. moving onto other things while having other things checked out) I think it would discourage developers from using source control correctly.

                          E Offline
                          E Offline
                          Ennis Ray Lynch Jr
                          wrote on last edited by
                          #12

                          When your source control is tied to change tickets and you check-in based on work assignments you create a beautiful system of code management. The real question is why don't more developers comment their check-ins?

                          Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

                          A D P 3 Replies Last reply
                          0
                          • K keyboard warrior

                            it is unnerving that you picked that right out. :~

                            A Offline
                            A Offline
                            AspDotNetDev
                            wrote on last edited by
                            #13

                            I think the word you are looking for is "liquor". ;)

                            [Managing Your JavaScript Library in ASP.NET]

                            K 1 Reply Last reply
                            0
                            • H Hans Dietrich

                              I make it a rule to checkin whenever I checkout.

                              Best wishes, Hans


                              [Hans Dietrich Software]

                              X Offline
                              X Offline
                              Xiangyang Liu
                              wrote on last edited by
                              #14

                              Hans Dietrich wrote:

                              checkin whenever I checkout.

                              No wonder you get done before everyone else and nobody can see what you did. :laugh:

                              My Younger Son & His "PET"

                              1 Reply Last reply
                              0
                              • U User 4483848

                                How often should we checkin? I try to checkin as often as possible (although I don't go OTT), and I thought that was considered to be the best practice, but a lot of people seem to disagree. I find it so much easier to work with a small number of files checked out, and the more often I checkin, the less likely it is that I'll get a conflict. The other thing that I think is REALLY bad is when we have periods where we aren't allowed to checkin eg. no checkins while a build is done. Is this normal or is it really as bad as it feels? If people need to have the code stable at a certain point then shouldn't they should either label it or branch it? I see source control as being a very imporant tool that shouldn't ever be taken away from developers. As well as making things difficult (ie. moving onto other things while having other things checked out) I think it would discourage developers from using source control correctly.

                                X Offline
                                X Offline
                                Xiangyang Liu
                                wrote on last edited by
                                #15

                                Reminds me of the roach motel commercial: Roaches check in, they never check out. :-D

                                My Younger Son & His "PET"

                                1 Reply Last reply
                                0
                                • A AspDotNetDev

                                  I think the word you are looking for is "liquor". ;)

                                  [Managing Your JavaScript Library in ASP.NET]

                                  K Offline
                                  K Offline
                                  keyboard warrior
                                  wrote on last edited by
                                  #16

                                  No one can spell that after they leave 'Big Fancy Club'

                                  1 Reply Last reply
                                  0
                                  • U User 4483848

                                    How often should we checkin? I try to checkin as often as possible (although I don't go OTT), and I thought that was considered to be the best practice, but a lot of people seem to disagree. I find it so much easier to work with a small number of files checked out, and the more often I checkin, the less likely it is that I'll get a conflict. The other thing that I think is REALLY bad is when we have periods where we aren't allowed to checkin eg. no checkins while a build is done. Is this normal or is it really as bad as it feels? If people need to have the code stable at a certain point then shouldn't they should either label it or branch it? I see source control as being a very imporant tool that shouldn't ever be taken away from developers. As well as making things difficult (ie. moving onto other things while having other things checked out) I think it would discourage developers from using source control correctly.

                                    J Offline
                                    J Offline
                                    Jason Hooper
                                    wrote on last edited by
                                    #17

                                    Really good question. I'm very religious about source control: I check-in VERY frequently, 10-20 times per day. Any atomic change of code needs a separate check-in. Even if it's been a couple hours since my last check-in and I bring up the Commit.. dialog, I will pick apart the individual atomic changes and do several different "sub"-check-ins at that moment. In my view, there is very little reason NOT to do it this way. If you want to see the net change between any two revisions, just Ctrl-Click them in the Log view and diff those two revisions. More generally, it is possible and very easy to "group up" a set of revisions; it is very difficult to "break down" one large commit into what its constituent atomic changes should have been. For a concrete, practical example, here is the last 24 hours for me and a co-worker: http://imagebin.org/155476[^] Note also the EVERY single check-in is documented. And almost without exception, none of our check-ins breaks the build.

                                    Jason

                                    A U D 3 Replies Last reply
                                    0
                                    • E Ennis Ray Lynch Jr

                                      When your source control is tied to change tickets and you check-in based on work assignments you create a beautiful system of code management. The real question is why don't more developers comment their check-ins?

                                      Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

                                      A Offline
                                      A Offline
                                      AspDotNetDev
                                      wrote on last edited by
                                      #18

                                      Ennis Ray Lynch, Jr. wrote:

                                      The real question is why don't more developers comment their check-ins?

                                      Out of the 5 coworkers who check in code to the same repository as me, I've only seen one of them add comments to check-ins. :sigh:

                                      [Managing Your JavaScript Library in ASP.NET]

                                      L 1 Reply Last reply
                                      0
                                      • S Smithers Jones

                                        Chris Meech wrote:

                                        I checkin to the Lounge pretty frequently throughout the day

                                        You have to check-in to the Lounge? I just wander in and out whenever it suits me. No checks, only some gazes when I forget to knock the dirt off my shoes after sneaking about Q&A :)

                                        "I love deadlines. I like the whooshing sound they make as they fly by." (DNA)

                                        S Offline
                                        S Offline
                                        Steven J Jowett
                                        wrote on last edited by
                                        #19

                                        I just lurk on the outside, and shout the odd comment through the door

                                        Steve Jowett ------------------------- Real Programmers don't need comments -- the code is obvious.

                                        1 Reply Last reply
                                        0
                                        • U User 4483848

                                          How often should we checkin? I try to checkin as often as possible (although I don't go OTT), and I thought that was considered to be the best practice, but a lot of people seem to disagree. I find it so much easier to work with a small number of files checked out, and the more often I checkin, the less likely it is that I'll get a conflict. The other thing that I think is REALLY bad is when we have periods where we aren't allowed to checkin eg. no checkins while a build is done. Is this normal or is it really as bad as it feels? If people need to have the code stable at a certain point then shouldn't they should either label it or branch it? I see source control as being a very imporant tool that shouldn't ever be taken away from developers. As well as making things difficult (ie. moving onto other things while having other things checked out) I think it would discourage developers from using source control correctly.

                                          N Offline
                                          N Offline
                                          Nemanja Trifunovic
                                          wrote on last edited by
                                          #20

                                          Depends on the process in your organization and the SCS you are using. At my workplace, checking in requires so much overhead (code reviews, etc) that I am lucky if I check in once a week. That's a bad situation however, and not the best use of source control. Ideally, we would have a distributed SCS with private branches, and then I would check-in much more often.

                                          utf8-cpp

                                          L F U 3 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups