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
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Merge conflicts

Merge conflicts

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
56 Posts 42 Posters 1 Views
  • 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.
  • F [email protected]
    This post did not contain any content.
    I This user is from outside of this forum
    I This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #21

    I'm a purist. The stable and persistent main branch, regardless of what you want to call it, should always and only ever be exactly the same as the code that's currently deployed to the production server. Generally the only exception is for the short duration between a push and deployment under normal circumstances.

    But every job I've ever had, there's at least one maverick who knows git way better than anybody else and is super advanced, so they do their own thing which is totally better in a million different ways but essentially fucks everybody else over. And I'm not even here to say they aren't smarter than the rest of us and I'm sure that somehow their process is better than what we currently do. But with version control, my anecdotal experience has been that the most important things for running smoothly are: consistency and having everybody on the same page. Process doesn't need to be perfect, maximally efficient, bleeding edge, etc to achieve that.

    S zarkanian@sh.itjust.worksZ B Z 4 Replies Last reply
    73
    • F [email protected]
      This post did not contain any content.
      P This user is from outside of this forum
      P This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #22

      Main* branch.

      Don't want to sound racist

      A 1 Reply Last reply
      8
      • potoo22@programming.devP [email protected]

        We have a deployed branch. It doesn't get merged into master until it gets reviewed... the technical debt got too big so it never gets reviewed and we just keep branching off deployed

        A This user is from outside of this forum
        A This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #23

        We build off develop and only update master once a year or so. Our company also pays 4 V&V engineers, compared to 9 software devs.

        After a release cycle, we update master. Master has never, never been built by itself.

        mobotsar@sh.itjust.worksM V 2 Replies Last reply
        4
        • I [email protected]

          I'm a purist. The stable and persistent main branch, regardless of what you want to call it, should always and only ever be exactly the same as the code that's currently deployed to the production server. Generally the only exception is for the short duration between a push and deployment under normal circumstances.

          But every job I've ever had, there's at least one maverick who knows git way better than anybody else and is super advanced, so they do their own thing which is totally better in a million different ways but essentially fucks everybody else over. And I'm not even here to say they aren't smarter than the rest of us and I'm sure that somehow their process is better than what we currently do. But with version control, my anecdotal experience has been that the most important things for running smoothly are: consistency and having everybody on the same page. Process doesn't need to be perfect, maximally efficient, bleeding edge, etc to achieve that.

          S This user is from outside of this forum
          S This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #24

          But every job I've ever had, there's at least one maverick who knows git way better than anybody else and is super advanced

          Pretty sure that's me at my job, but I take your approach too.

          I just have lousy coworkers who keep a bunch of stale branches open with no real maintenance plan. Thankfully I kind of work in my own bubble and generally avoid that jungle

          1 Reply Last reply
          6
          • A [email protected]

            We build off develop and only update master once a year or so. Our company also pays 4 V&V engineers, compared to 9 software devs.

            After a release cycle, we update master. Master has never, never been built by itself.

            mobotsar@sh.itjust.worksM This user is from outside of this forum
            mobotsar@sh.itjust.worksM This user is from outside of this forum
            [email protected]
            wrote on last edited by [email protected]
            #25

            I'm a software engineer, and I don't even know what a v&v engineer is.

            Y 1 Reply Last reply
            6
            • P [email protected]

              Main* branch.

              Don't want to sound racist

              A This user is from outside of this forum
              A This user is from outside of this forum
              [email protected]
              wrote on last edited by [email protected]
              #26

              I'll never understand why we didn't just go back to saying "trunk".

              zarkanian@sh.itjust.worksZ C 2 Replies Last reply
              10
              • L [email protected]

                I’ve been a dev at 8 places over 28 years and have never heard of this level of incompetence since git came along. Prior to git, with cvs, svn, tfs, vss - yeah, lots of incompetence because the tools sucked. Git solves all those problems tho!

                S This user is from outside of this forum
                S This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #27

                The real problem is stupid/lazy people, which no amount of tooling can address.

                1 Reply Last reply
                9
                • mobotsar@sh.itjust.worksM [email protected]

                  I'm a software engineer, and I don't even know what a v&v engineer is.

                  Y This user is from outside of this forum
                  Y This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #28

                  Verification & validation

                  1 Reply Last reply
                  3
                  • A [email protected]

                    I'll never understand why we didn't just go back to saying "trunk".

                    zarkanian@sh.itjust.worksZ This user is from outside of this forum
                    zarkanian@sh.itjust.worksZ This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #29

                    "Trunk" is nice because it fits with "branch" in the tree metaphor, but "main" does have fewer letters.

                    L 1 Reply Last reply
                    9
                    • trickdacy@lemmy.worldT [email protected]

                      You doth protest too much. Wonder why

                      L This user is from outside of this forum
                      L This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #30

                      Because the argument is stupid. Much like pointers not being a good term to use because it’s rude to point. Or man pages being sexist.

                      R trickdacy@lemmy.worldT 2 Replies Last reply
                      12
                      • I [email protected]

                        I'm a purist. The stable and persistent main branch, regardless of what you want to call it, should always and only ever be exactly the same as the code that's currently deployed to the production server. Generally the only exception is for the short duration between a push and deployment under normal circumstances.

                        But every job I've ever had, there's at least one maverick who knows git way better than anybody else and is super advanced, so they do their own thing which is totally better in a million different ways but essentially fucks everybody else over. And I'm not even here to say they aren't smarter than the rest of us and I'm sure that somehow their process is better than what we currently do. But with version control, my anecdotal experience has been that the most important things for running smoothly are: consistency and having everybody on the same page. Process doesn't need to be perfect, maximally efficient, bleeding edge, etc to achieve that.

                        zarkanian@sh.itjust.worksZ This user is from outside of this forum
                        zarkanian@sh.itjust.worksZ This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #31

                        What are the maverick git workflows? When I had a web developer job, it all seemed pretty straightforward and I can't imagine doing it some other way and it being a good idea.

                        D 1 Reply Last reply
                        13
                        • G [email protected]

                          We use main now

                          zarkanian@sh.itjust.worksZ This user is from outside of this forum
                          zarkanian@sh.itjust.worksZ This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #32

                          This is the way.

                          1 Reply Last reply
                          2
                          • potoo22@programming.devP [email protected]

                            We have a deployed branch. It doesn't get merged into master until it gets reviewed... the technical debt got too big so it never gets reviewed and we just keep branching off deployed

                            M This user is from outside of this forum
                            M This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #33

                            Well, when you said "we have a deployed branch", you could just have stopped there. All the rest is just what happens after you decide to rename your master branch.

                            1 Reply Last reply
                            15
                            • eager_eagle@lemmy.worldE [email protected]

                              Because this whole discussion is fucking stupid. There was no good reason for a change.

                              zarkanian@sh.itjust.worksZ This user is from outside of this forum
                              zarkanian@sh.itjust.worksZ This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #34

                              The good reason was that it bothered some people. "Main" is two fewer letters, so it's even more convenient to type. So what's the problem?

                              M 1 Reply Last reply
                              3
                              • squeakybeaver@lemmy.blahaj.zoneS [email protected]

                                I like the actual look of the word "main" more than I do the word "master". I think it's because it looks like a neat semi-circle

                                zarkanian@sh.itjust.worksZ This user is from outside of this forum
                                zarkanian@sh.itjust.worksZ This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #35

                                It also makes more sense.

                                1 Reply Last reply
                                6
                                • A [email protected]

                                  We build off develop and only update master once a year or so. Our company also pays 4 V&V engineers, compared to 9 software devs.

                                  After a release cycle, we update master. Master has never, never been built by itself.

                                  V This user is from outside of this forum
                                  V This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #36

                                  Depends on the field you're in. At my previous company to release a new system for internal use only I had to go through 19 validations(each one 50-100 pages of manual tests). None of it had real source control except uploading final zip of files(no source code, just the enable files).

                                  I wrote all the files, wrote all the test cases, wrote all the documentation, executed everything and wrote most of the reports. They just fired me last week so hope they have fun when they need to update something....

                                  1 Reply Last reply
                                  8
                                  • potoo22@programming.devP [email protected]

                                    We have a deployed branch. It doesn't get merged into master until it gets reviewed... the technical debt got too big so it never gets reviewed and we just keep branching off deployed

                                    R This user is from outside of this forum
                                    R This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by [email protected]
                                    #37

                                    Yes, we've had first master branch, but what about second master branch?

                                    M 1 Reply Last reply
                                    65
                                    • L [email protected]

                                      Because the argument is stupid. Much like pointers not being a good term to use because it’s rude to point. Or man pages being sexist.

                                      R This user is from outside of this forum
                                      R This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by [email protected]
                                      #38

                                      I've never heard that pointer bullshit at all. Can you link it?

                                      "Man" for "manual" is just an antiquated term kept around by Unix curmudgeons. "Help" is much better as it requires no explanation and conveniently is automatically abbreviated to its full name. It's the common term used in most other systems that aren't linux.

                                      'Man" isn't sexist, it just sucks.

                                      1 Reply Last reply
                                      5
                                      • zarkanian@sh.itjust.worksZ [email protected]

                                        The good reason was that it bothered some people. "Main" is two fewer letters, so it's even more convenient to type. So what's the problem?

                                        M This user is from outside of this forum
                                        M This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #39

                                        European here. I'm a supporter of civil rights and against racism and so on, but that controversy with master vs main for me is just a silly us american controversy, as master has more meanings that just owner of a slave (and in this context, it's not even related to that master-slave thing as used to be in hardware naming).

                                        The issue is that kind of (in my pov, unnecessary) change caused an outage in my company as some k8s objects changed its label because of this kind of controversy, and some of our selectors were not ready for that change, as iirc this happened in a minor version upgrade. We also had to invest development hours to update internal tooling to support that change too (and I bet, a lot of companies did the same).

                                        T 1 Reply Last reply
                                        11
                                        • zarkanian@sh.itjust.worksZ [email protected]

                                          "Trunk" is nice because it fits with "branch" in the tree metaphor, but "main" does have fewer letters.

                                          L This user is from outside of this forum
                                          L This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #40

                                          Yep, the metaphor would be good if git was a tree but kt isn't. It's very rare to have a real tree branch merge back into the trunk. Would it even still be called a branch after merging?

                                          A C 2 Replies Last reply
                                          3
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

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