Commit graph

11 commits

Author SHA1 Message Date
1739b7d794 Run chmod after clone
The umask appears to be ignored (maybe it is reset after running
'git config core.filemode off' ?). Run chmod to fix.
2024-04-20 01:40:13 -03:00
589702e7e3 Handle file mode change when switching branch 2024-04-19 07:29:29 -03:00
3168b47a45 Reduce doas.conf rules
This commit reduces the number of doas.conf rules to 4.
libexec/ scripts now query access permissions rather than
bin/portzap doing it.
2024-04-19 06:22:03 -03:00
4aaa685b3d Switch branch in 'portzap pull'
This commit covers a few changes:

* The 'portzap pull' command now switches to '$PORTZAP_BRANCH'
  if 'git branch --show-current' returns a different branch.

* The 'portzap pull' command fixes permissions and ownership on
  '/home/_portzap/ports/.git' before running any git commands. The
  owner and permissions can change by interacting with the
  git repository directly, as a user other than '_portzap'.

* doas.conf has been changed to be slightly more strict
2024-04-19 04:15:12 -03:00
b16722c219 v0.9.4 2024-04-18 20:21:12 -03:00
3c8697f186 Add -v switch
And move VERSION to share/portzap/VERSION
2024-04-18 20:21:01 -03:00
50d648f06a Add "portzap erase"
I haven't decided whether or not only root can do this (leaning towards
not), and we might want to be more flexible and let the user choose to
delete one of the two directories. For now it works.
2024-04-17 20:21:34 -03:00
73ec936871 Perform incremental updates (via doas) 2024-04-08 14:33:02 -03:00
ea6a5e46e5 Delegate 'portzap clone|pull' to the _portzap user (via doas) 2024-04-07 20:37:52 -03:00
cc510b13fc v0.5.7 2023-05-22 02:36:36 -03:00
ac0b2a6155 v0.5.6 2023-05-22 02:33:16 -03:00