Document git shenanigans with salt on sleipner #275

Open
opened 2026-01-14 08:37:33 +01:00 by oysteikt · 1 comment
Owner

There is some crazy stuff going on with the salt git repo on sleipner. AFAIK, there is:

  • Your local checkout in your home dir
  • The bare repo in `/local/adm/git/salt.git
  • A worktree of the bare repo, located in /local/adm/salt-gitea-sync with it's cronjob script and ssh keys
  • Another checkout at /srv/salt, there is a post-receive hook in /local/adm/git/salt.git to have this pull master whenever someone pushes?
  • This same hook also tries to have this checkout rsynced over to /root/public_salt_states_repo
  • This one complains for some reason, and it might have to do with its broken .git directory

What's going on 👀

This goes for pillar too ofc

It would be great if we could have a note about how you should go about fixing the system whenever you amend and forcepush and then cause a conflict in /srv/salt (or whether to ban amends altogether) in this documentation

There is some crazy stuff going on with the salt git repo on sleipner. AFAIK, there is: - Your local checkout in your home dir - The bare repo in `/local/adm/git/salt.git - A worktree of the bare repo, located in `/local/adm/salt-gitea-sync` with it's cronjob script and ssh keys - Another checkout at `/srv/salt`, there is a post-receive hook in `/local/adm/git/salt.git` to have this pull master whenever someone pushes? - This same hook also tries to have this checkout rsynced over to `/root/public_salt_states_repo` - This one complains for some reason, and it might have to do with its broken `.git` directory What's going on 👀 This goes for pillar too ofc It would be great if we could have a note about how you should go about fixing the system whenever you amend and forcepush and then cause a conflict in `/srv/salt` (or whether to ban amends altogether) in this documentation
oysteikt added the documentation label 2026-01-14 08:37:33 +01:00
oysteikt added this to the Kanban project 2026-01-14 08:37:33 +01:00
Author
Owner

See also #86

See also #86
oysteikt moved this to Medium priority in Kanban on 2026-01-14 10:29:53 +01:00
felixalb reopened this issue 2026-01-14 22:57:44 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Drift/issues#275