Hacker News new | ask | show | jobs
by metalliqaz 63 days ago
changing repos to the new IDs would break any existing links to content on the pre-migration repos.
1 comments

Unless you link using tags.
Which is considered a Really Bad Idea because tags aren't immutable, so there's absolutely zero guarantee that it'll point to the same commit a few months from now.

The GitHub Actions ecosystem found out the hard way, through some rather high-profile compromises. They hotfixed it by adding "immutable tags" to their platform, and are now working on adding a lockfile to... easily reference a commit hash.

well if you use a knife to stab your fingers that's not a knife's fault

repo can also rewrite existing commit and you again won't be able to retrieve it so switching to commit IDs only lowers the level of failure somewhat

Having a fetch break is better than having a fetch pull down malware.
which I already said

> lowers the level of failure somewhat

congratulations on lack of ability to read with understanding

> congratulations on lack of ability to read with understanding

This seems weirdly aggressive and not nice.