Post AzYrWCUixknOld3IBM by musicmatze@social.linux.pizza
(DIR) More posts by musicmatze@social.linux.pizza
(DIR) Post #AzYrWCUixknOld3IBM by musicmatze@social.linux.pizza
2025-10-25T08:00:44Z
0 likes, 0 repeats
Force-pushing `master` is one of the worst crimes in #softwaredevelopment ever.And you should be prosecuted for it.
(DIR) Post #AzYsLUZdVKE1bjo7Ki by artificialmind@fosstodon.org
2025-10-25T08:10:01Z
0 likes, 0 repeats
@musicmatze but how do I rotate the secrets in my repository otherwise?(/s for those who need it)
(DIR) Post #AzYvpyfkSkERVTtWIi by musicmatze@social.linux.pizza
2025-10-25T08:49:10Z
0 likes, 0 repeats
@artificialmindWhy would you remove the old secret if you want to rotate it?I mean, your users must be able to see the history of secrets, so they can predict how long they can use your secret until you rotate again!
(DIR) Post #AzYwBkMyJxMJWBUaSe by artificialmind@fosstodon.org
2025-10-25T08:53:05Z
0 likes, 0 repeats
@musicmatze i just tag the old versions and keep them in the repo. "master"'s history is then revised as if the new secret was the secret all along. the tagged branches with the old versions are then kept around for record keeping.
(DIR) Post #AzZ0lF62TElAlfkkro by n0iroh@mastodon.social
2025-10-25T09:44:18Z
0 likes, 0 repeats
@musicmatze 😅😅😅
(DIR) Post #AzZ9WkNslCCV36GJUm by musicmatze@social.linux.pizza
2025-10-25T11:22:33Z
0 likes, 0 repeats
@artificialmind Ah, nice! And you can even force-push that tags if you think you might have some benefit from removing the old secrets... because at some point they might not matter anymore, right?
(DIR) Post #AzZ9ZM51ZxNEXWgXaq by musicmatze@social.linux.pizza
2025-10-25T11:23:02Z
0 likes, 0 repeats
@n0iroh do you feel caught? 😉
(DIR) Post #AzZ9q9BOme15SkfpYW by artificialmind@fosstodon.org
2025-10-25T11:26:03Z
0 likes, 0 repeats
@musicmatze that's a great idea! so the tags are basically "last-week", "week-before-that", and "previous-month". so obv you need to force-push those as well, how would it work otherwise?
(DIR) Post #AzZAt4yqxq9zFhlewy by musicmatze@social.linux.pizza
2025-10-25T11:37:48Z
0 likes, 0 repeats
@artificialmind yep. And that obligatory "last-week-v2-final-plus-fixes2"