this post was submitted on 17 Feb 2024
165 points (96.1% liked)

Programmer Humor

32464 readers
474 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 40 points 9 months ago* (last edited 9 months ago) (1 children)

The worst is when some mfr pushes code that doesn't compile so when you get latest the whole build is broken

[–] [email protected] 29 points 9 months ago* (last edited 9 months ago) (2 children)

CI and basic PR rules should gate this entirely… this should never be a problem.

[–] [email protected] 34 points 9 months ago (2 children)

basic PR rules

My company's code leads :

[–] [email protected] 18 points 9 months ago (1 children)

No needs for pull requests when you commit directly to main.

[–] [email protected] 9 points 9 months ago (2 children)

also remember to use --force when pushing, your colleagues will love you

[–] [email protected] 8 points 9 months ago
git rebase -i --root
git commit --amend --no-edit
git push --force
[–] [email protected] 5 points 9 months ago

use the force Luke!

[–] [email protected] 2 points 9 months ago

Working in a startup is truly an experience

[–] [email protected] 11 points 9 months ago

You owe 2 tokens to the “should jar”.

[–] [email protected] 3 points 9 months ago (1 children)

I don’t get it. How can we tell this is in prod?

[–] [email protected] 4 points 9 months ago (1 children)

You can't tell that from the screenshot, but I can tell you that I took this screenshot on my Linux box, while upgrading my system packages as an end-user.

I believe, the problem comes from a community repo I added, which doesn't have to adhere to quite the same quality standards, but evidently they have some distinction between build envs and production envs, and well, I'm at least hoping that my laptop isn't deemed a build env... 🙃

[–] [email protected] 1 points 9 months ago (1 children)

Ah! So build implies non-production?

[–] [email protected] 3 points 9 months ago

My usage of the word "production" was a bit non-standard here, in case that confuses you.

Normally, it's used for hosted services, where you have the three hosted environments "development", "integration" and "production".

In this case, I'm guessing, it's rather the case that they had a build configuration for running it in their "build-env", so probably a CI/CD runner. And then there would be a different build configuration for when they're creating a release distribution.

In a very abstracted sense, the "production" environment is where you roll out your release distribution to, so if you will, my laptop is one of thousands of production environments for this application, but only tongue-in-cheek...