Up to [cvs.NetBSD.org] / pkgsrc / sysutils / sysupgrade
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.3, Sun Jul 28 23:37:14 2013 UTC (4 years ago) by jmmv
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Update to 1.5: Released on 2013-07-28. * Sources migrated to a GitHub project from the previous copy in the pkgsrc repository. sysupgrade is now a first-class package and includes a traditional build system based on automake and autoconf. * Moved the sysupgrade script from bin to sbin.
Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 15 21:21:15 2012 UTC (5 years ago) by jmmv
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.1: +14 -0 lines
Diff to previous 1.1 (colored)
Update to 1.1: - Use shtk for the common utilities and configuration file parsing functionality. The local copies of the "config" and "utils" modules are gone.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 6 17:06:17 2012 UTC (5 years ago) by jmmv
Initial addition of sysupgrade, version 1.0: sysupgrade is a script to automate NetBSD system upgrades. sysupgrade works by first fetching distribution sets from a specified site or local directory, then by upgrading the system using such distribution sets and later by ensuring that the system configuration is up to date. All the process is controlled by a configuration file, and the defaults should suit the most common NetBSD upgrades. sysupgrade can be used to perform upgrades across different system major and/or minor versions, and it can also be used to track a stable or development branch from the CVS repository. sysbuild is the perfect companion to sysupgrade in those cases where you want to roll your own binaries: both utilities share a very similar command-line and configuration interface, and the default configuration files provide examples on how to integrate one with the other. A few notes about the import: Right after I submitted sysbuild, I was pointed at etcmanage and its scripts to build and upgrade NetBSD. I am sending this anyway because 1) it matches sysbuild's behavior closely, 2) it has a detailed manual page, 3) it has tests... and, well, 4) I had already written most of it at that time and didn't want to throw it away! The config and utils modules in this import are a duplicate of the code in sysbuild, with a few tweaks. This is really bad and the code should be deduplicated somehow. I'm not sure what the best way of doing so is and can only think about introducing a common base package with the shared code (which brings its own problems). I have tested this to upgrade both -current and 6.0_BETA2 to newer snapshots, both from local and remote release files.
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.