| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Third part of the format-upgrade inclusion: add support in s6-rc-set-install | Laurent Bercot | 32 hours | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Now that everything is in place, we go for the main thing: add snapshot support to s6-rc-set install. The workflow is: - check the major version of the old db against the current s6-rc - if the old db is up to date, nothing changes - otherwise: + find the snapshot corresponding to the old db + compile it + copy the snapshot db to the bootdir + call s6-rc-format-upgrade on it + atomically switch the bootdb to it. At this point the snapshot is the new bootdb: same as the old db, but with the correct major version. + unconditionally remove the old db + and now we can perform the regular s6-rc-update with the wanted set, since they have the same major. We also add --no-snapshot options to s6-rc-set-commit and s6-rc-set-install, and propagate them in the supporting functions, so users can manually skip all this bloat (and this is important for the initial install). All that remains is cleaning up obsolete snapshots. This will probably go at the end of s6-rc-set-install as well. | ||||
| * | But this day is not today, so screw it. We gotta keep em separated | Laurent Bercot | 9 days | 1 | -13/+12 |
| | | |||||
| * | Someday I'll figure out dynamic libraries dependencies with rpath | Laurent Bercot | 9 days | 1 | -14/+14 |
| | | |||||
| * | Maybe maybe maybe | Laurent Bercot | 9 days | 1 | -3/+3 |
| | | |||||
| * | Fix build, maybe? | Laurent Bercot | 9 days | 1 | -7/+7 |
| | | |||||
| * | Propagate -L catchall changes to s6-rc-set-commit | Laurent Bercot | 13 days | 1 | -3/+4 |
| | | | | | | s6-rc-set-install is undergoing changes, it might not work properly. The rest is coming this week. | ||||
| * | Prepare for 0.7.1.0; add major version to every compiled db | Laurent Bercot | 2026-10-03 | 1 | -4/+6 |
| | | |||||
| * | First part of the format-upgrade support in repo | Laurent Bercot | 2026-10-02 | 1 | -4/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to work across major bumps, we need to add a call to s6-rc-format-upgrade before s6-rc-update in the s6-rc-set-install sequence of commands. s6-rc-format-upgrade only works when the db is exactly the same across s6-rc versions. That means we need to have the source version of the current live set at all times, in order to compile it with the new s6-rc version before upgrading and then updating. So: 1. we take a snapshot of the source version of a set every time we commit. 2. we refuse to install if we don't have the snapshot. 3. we add s6-rc-format-upgrade to the processing chain 4. for cleanup: after installing, we delete all the snapshots of the set except the one that corresponds to the newly installed live set. This commit implements 1: taking the snapshot. It's a regular s6-rc-set-copy, using an internal name. We refactor s6-rc-set-copy and s6-rc-set-delete to have primitives we can use internally. Wait for later commits before using repo, else you'll fill your repository with snapshots that won't get cleaned up. TBD: how to store the s6-rc version in the compiled db. We probably need to add a small file in there. | ||||
| * | Add -c|--clean option to s6-rc (untested) | Laurent Bercot | 2026-07-09 | 1 | -6/+6 |
| | | |||||
| * | Rename "sub" to "prescription" | Laurent Bercot | 2026-01-24 | 1 | -6/+6 |
| | | |||||
| * | Working repo fix that understands pipelines | Laurent Bercot | 2025-12-20 | 1 | -4/+5 |
| | | |||||
| * | Add s6-rc-repo-list | Laurent Bercot | 2025-12-20 | 1 | -3/+5 |
| | | |||||
| * | Add s6-rc-set-fix | Laurent Bercot | 2025-12-20 | 1 | -0/+3 |
| | | |||||
| * | Next batch of fixes | Laurent Bercot | 2025-12-09 | 1 | -4/+7 |
| | | |||||
| * | s6-rc-set-list is now s6-rc-set-status and does everything | Laurent Bercot | 2025-11-26 | 1 | -3/+3 |
| | | |||||
| * | Add s6-rc-set-list | Laurent Bercot | 2025-11-12 | 1 | -1/+3 |
| | | |||||
| * | s6rc_repo_nlto0 replaced with string_index in skalibs | Laurent Bercot | 2025-11-10 | 1 | -5/+5 |
| | | |||||
| * | Separate libs6rcrepo | Laurent Bercot | 2025-10-22 | 1 | -55/+65 |
| | | |||||
| * | add getserviceflags and use it in fillset; add some doc | Laurent Bercot | 2025-10-21 | 1 | -5/+5 |
| | | |||||
| * | Move all string comparison operations into skalibs | Laurent Bercot | 2025-10-09 | 1 | -7/+6 |
| | | |||||
| * | Add s6-rc-set-install, repodefs page | Laurent Bercot | 2025-10-06 | 1 | -7/+12 |
| | | |||||
| * | Add repo/set touching to avoid extra compiles | Laurent Bercot | 2025-10-01 | 1 | -4/+6 |
| | | |||||
| * | Add stores, edit init and sync | Laurent Bercot | 2025-10-01 | 1 | -4/+5 |
| | | |||||
| * | More progress: updated sync, nominal fix | Laurent Bercot | 2025-09-24 | 1 | -5/+13 |
| | | |||||
| * | Add s6rc_repo_fixset | Laurent Bercot | 2025-09-22 | 1 | -4/+6 |
| | | |||||
| * | Add s6-rc-set-commit, slightly rephrase other binaries | Laurent Bercot | 2025-09-21 | 1 | -0/+3 |
| | | |||||
| * | Support bundles in changestate, various refactors | Laurent Bercot | 2025-09-18 | 1 | -4/+5 |
| | | |||||
| * | Add s6-rc-set-changestate. FINALLY. | Laurent Bercot | 2025-09-15 | 1 | -10/+13 |
| | | |||||
| * | Implement badsub, refactor moveservices, get ready for enable/disable | Laurent Bercot | 2025-09-15 | 1 | -5/+5 |
| | | |||||
| * | Reorganize for 4 subs; add makesvlist, start badsub | Laurent Bercot | 2025-09-08 | 1 | -4/+7 |
| | | |||||
| * | Almost got a full sync, still need the adjustment heuristic | Laurent Bercot | 2025-08-19 | 1 | -6/+7 |
| | | |||||
| * | Major refactors, add makesetbundle, refcompile/setcompile, etc. | Laurent Bercot | 2025-08-08 | 1 | -6/+10 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Next additions: better bundle management and autobuild | Laurent Bercot | 2025-08-05 | 1 | -11/+13 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Add makebundle, moveservices, defcompile | Laurent Bercot | 2025-08-04 | 1 | -4/+8 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Refactor to add listalldeps | Laurent Bercot | 2025-08-04 | 1 | -5/+7 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | More utilities: s6rc_nlto0, s6rc_repo_set_listdeps | Laurent Bercot | 2025-08-04 | 1 | -4/+6 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | first draft of s6rc_repo_set_compile | Laurent Bercot | 2025-08-04 | 1 | -7/+8 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Add set-copy, set-delete | Laurent Bercot | 2025-07-04 | 1 | -1/+7 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | s6-rc-set-new, refactors, additions, etc. | Laurent Bercot | 2025-07-03 | 1 | -4/+9 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Finish s6-rc-repo-init | Laurent Bercot | 2025-07-02 | 1 | -9/+8 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Add s6-rc-repo-init, s6-rc-repo-populate | Laurent Bercot | 2025-06-30 | 1 | -0/+6 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Add s6rc_live_state functions | Laurent Bercot | 2025-06-18 | 1 | -4/+6 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Support shlibs on MacOS, next iteration | Laurent Bercot | 2025-05-30 | 1 | -0/+2 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Prepare for 0.5.6.0, add pkg-config support, etc. | Laurent Bercot | 2025-04-27 | 1 | -22/+23 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | It's a vpath problem... so work around it, temporarily >.> | Laurent Bercot | 2025-03-18 | 1 | -4/+4 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | fix full dynamic build (missing dep in s6-rc-oneshot-run) | Laurent Bercot | 2025-03-18 | 1 | -1/+2 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Prepare for 0.5.5.0; add s6rc_livedir_canon | Laurent Bercot | 2024-07-05 | 1 | -3/+4 |
| | | | | | Signed-off-by: Laurent Bercot <ska@appnovation.com> | ||||
| * | Fix gen-deps.sh for cross-builds | Laurent Bercot | 2019-10-21 | 1 | -20/+20 |
| | | |||||
| * | Remove tainnow.lib dependency | Laurent Bercot | 2019-09-21 | 1 | -5/+5 |
| | | |||||
| * | Add s6-rc-format-upgrade | Laurent Bercot | 2017-12-04 | 1 | -0/+2 |
| | | |||||
