this post was submitted on 12 Jul 2024
370 points (97.4% liked)

Programmer Humor

19564 readers
607 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 

One does not commit or compile credentials

Template

Context:

This meme was brought to you by the PyPI Director of Infrastructure who accidentally hardcoded credentials - which could have resulted in compromissing the entire core Python ecosystem.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 18 points 4 months ago (1 children)

Yes kids, the only stuff in ANY repo (public or otherwise) should be source code.

If it is compiled, built, or otherwise modified by any process outside of you the developer typing in your source code editor, it needs to be excluded/ignored from being committed. No excuses. None. Nope, not even that one.

No. ๐Ÿ‘ Excuses. ๐Ÿ‘

[โ€“] [email protected] 4 points 4 months ago

Two choices: Either the production software isnโ€™t in the exact state the repo was when the software was built. Or I canโ€™t get build timestamps in the software.