Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package opensuse-migration-tool for
openSUSE:Factory checked in at 2024-12-02 16:59:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/opensuse-migration-tool (Old)
and /work/SRC/openSUSE:Factory/.opensuse-migration-tool.new.28523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "opensuse-migration-tool"
Mon Dec 2 16:59:22 2024 rev:2 rq:1227703 version:20241202.1a4772b
Changes:
--------
---
/work/SRC/openSUSE:Factory/opensuse-migration-tool/opensuse-migration-tool.changes
2024-11-30 13:29:20.661450343 +0100
+++
/work/SRC/openSUSE:Factory/.opensuse-migration-tool.new.28523/opensuse-migration-tool.changes
2024-12-02 16:59:58.067300042 +0100
@@ -1,0 +2,8 @@
+Mon Dec 02 09:20:54 UTC 2024 - [email protected]
+
+- Update to version 20241202.1a4772b:
+ * Fix missing mv and missing DRYRUN
+ * Use https instead of git in a README git clone examples
+ * Update README.md with opensuse-migration tool and new repo paths
+
+-------------------------------------------------------------------
Old:
----
opensuse-migration-tool-20241129.2509e96.obscpio
New:
----
opensuse-migration-tool-20241202.1a4772b.obscpio
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ opensuse-migration-tool.spec ++++++
--- /var/tmp/diff_new_pack.Z3lOve/_old 2024-12-02 16:59:58.659325089 +0100
+++ /var/tmp/diff_new_pack.Z3lOve/_new 2024-12-02 16:59:58.663325258 +0100
@@ -19,7 +19,7 @@
Name: opensuse-migration-tool
-Version: 20241129.2509e96
+Version: 20241202.1a4772b
Release: 0
Summary: Migration and Upgrade tool for openSUSE
License: Apache-2.0
++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Z3lOve/_old 2024-12-02 16:59:58.719327628 +0100
+++ /var/tmp/diff_new_pack.Z3lOve/_new 2024-12-02 16:59:58.723327797 +0100
@@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param
name="url">https://github.com/openSUSE/opensuse-migration-tool.git</param>
- <param
name="changesrevision">2509e96d696bc9960bce4df0d711346ce0730d8c</param></service></servicedata>
+ <param
name="changesrevision">1a4772bf87115a60489689f8c3606ba89331525b</param></service></servicedata>
(No newline at EOF)
++++++ opensuse-migration-tool-20241129.2509e96.obscpio ->
opensuse-migration-tool-20241202.1a4772b.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/opensuse-migration-tool-20241129.2509e96/README.md
new/opensuse-migration-tool-20241202.1a4772b/README.md
--- old/opensuse-migration-tool-20241129.2509e96/README.md 2024-11-29
09:36:59.000000000 +0100
+++ new/opensuse-migration-tool-20241202.1a4772b/README.md 2024-12-02
10:19:37.000000000 +0100
@@ -7,9 +7,9 @@
The tool is still experimental and is not expected to be used in production
until we have a proper test suite.
-The tool gets information about point releases from [get.opensuse.org
API](https://get.opensuse.org/api/v0/distributions.json),
-and it utilizes [openSUSE-repos](https://github.com/openSUSE/openSUSE-repos)
for a cross distribution migration.
-Getting openSUSE-repos from the target repo of an upgrade or migration takes
away any manual tinkering of distribution repositories.
+The tool gets information about point releases from [get.opensuse.org
API](https://get.opensuse.org/api/v0/distributions.json)
+and also utilizes [openSUSE-repos](https://github.com/openSUSE/openSUSE-repos)
for a cross distribution migration.
+Installing openSUSE-repos from the target repo of an upgrade or migration
takes away any manual tinkering of distribution repositories.
**Intended supported scenarios**
```
@@ -32,28 +32,38 @@
### Execution on a regular system such as Leap, Tumbleweed, Slowroll
```
-$ sudo zypper in migration-tool
-$ migration-tool --dry-run
-$ sudo migration-tool
+$ sudo zypper in opensuse-migration-tool
+$ opensuse-migration-tool --dry-run
+$ sudo opensuse-migration-tool
+$ reboot
```
### Execution on Immutable systems such as Leap Micro
```
$ sudo transactional-update shell
-$ sudo zypper in migration-tool
-$ migration-tool --dry-run
-$ sudo migration-tool
+# Inside the shell
+$ sudo zypper in opensuse-migration-tool
+$ opensuse-migration-tool --dry-run
+$ sudo opensuse-migration-tool
+$ exit && reboot # into new snapshot
```
-## Upgrading to pre releases such as Alpha, Beta
+### Upgrading to pre-releases such as Alpha, Beta
+
+By default the tool with **not show up** Alpha, Beta, RC releases of point
releases as viable targets for upgrade/migration.
+E.g. Leap Micro 6.1 Beta or Leap 16.9 Alpha.
+
+This is on purpose. We want to ensure that nobody accidentally upgrades their
system to e.g. Alpha version of an upcoming release.
+
+The --pre-release argument does the trick, then we'll fetch information from
[get.opensuse.org API](https://get.opensuse.org/api/v0/distributions.json)
about all available releases which are not EOL.
+Default behavior is to fetch only releases with state "Stable" which means
released/supported.
-The --pre-release argument does the trick.
-We want to ensure that nobody accidentally upgrades their system to e.g. Alpha
version of an upcoming release.
```
-./migration-tool.sh --pre-release --dry-run
-sudo ./migration-tool.sh --pre-release
+./opensuse-migration-tool --pre-release --dry-run
+sudo ./opensuse-migration-tool --pre-release
+
```
### Alternatively with git/distrobox (recommended for development)
@@ -63,21 +73,30 @@
Please be aware that in such a container environment there could be an issue
with updating bind-mounted files such as
[/etc/hostname](https://bugzilla.opensuse.org/show_bug.cgi?id=1233982).
```
-$ git clone [email protected]:openSUSE/migration-tool.git
-$ cd migration-tool
+$ git clone https://github.com/openSUSE/opensuse-migration-tool.git
+$ cd opensuse-migration-tool
$ distrobox create --image
registry.opensuse.org/opensuse/leap-micro/6.0/toolbox --name micro60
$ distrobox enter micro60
$ zypper in bc jq curl dialog sed gawk
-$ ./migration-tool.sh --dry-run
-$ sudo ./migration-tool.sh
+$ ./opensuse-migration-tool --dry-run
+$ sudo ./opensuse-migration-tool
```
```
-$ git clone [email protected]:openSUSE/migration-tool.git
-$ cd migration-tool
+$ git clone https://github.com/openSUSE/opensuse-migration-tool.git
+$ cd opensuse-migration-tool
$ distrobox create --image opensuse/leap:15.5 --name leap155
$ distrobox enter leap155
$ sudo zypper in bc jq curl dialog sed gawk
-$ ./migration-tool.sh --dry-run
-$ sudo ./migration-tool.sh
+$ ./opensuse-migration-tool --dry-run
+$ sudo ./opensuse-migration-tool
```
+## Documentation for a manual migration
+
+These are wiki that describe the manual upgrade process with zypper dup
+
+https://en.opensuse.org/SDB:System_upgrade
+
+https://en.opensuse.org/SDB:How_to_migrate_to_SLE
+
+https://en.opensuse.org/SDB:System_upgrade_to_LeapMicro_6.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/opensuse-migration-tool-20241129.2509e96/opensuse-migration-tool
new/opensuse-migration-tool-20241202.1a4772b/opensuse-migration-tool
--- old/opensuse-migration-tool-20241129.2509e96/opensuse-migration-tool
2024-11-29 09:36:59.000000000 +0100
+++ new/opensuse-migration-tool-20241202.1a4772b/opensuse-migration-tool
2024-12-02 10:19:37.000000000 +0100
@@ -149,7 +149,7 @@
repo-openh264.repo openSUSE-*-0.repo repo-main.repo $TMP_REPO_NAME.repo; do
if [ -f /etc/zypp/repos.d/$repo_file ]; then
echo "Storing old copy as /etc/zypp/repos.d/$repo_file.rpmsave"
- $DRYRUN /etc/zypp/repos.d/$repo_file /etc/zypp/repos.d/$repo_file.rpmsave
+ $DRYRUN mv /etc/zypp/repos.d/$repo_file
/etc/zypp/repos.d/$repo_file.rpmsave
fi
done
# regexpes
@@ -166,7 +166,7 @@
service_file=$(basename $file)
if [ -f /etc/zypp/services.d/$service_file ]; then
echo "Storing old copy as /etc/zypp/repos.d/$service_file.rpmsave"
- mv /etc/zypp/services.d/$service_file
/etc/zypp/services.d/$service_file.rpmsave
+ $DRYRUN mv /etc/zypp/services.d/$service_file
/etc/zypp/services.d/$service_file.rpmsave
fi
done
}
++++++ opensuse-migration-tool.obsinfo ++++++
--- /var/tmp/diff_new_pack.Z3lOve/_old 2024-12-02 16:59:58.823332028 +0100
+++ /var/tmp/diff_new_pack.Z3lOve/_new 2024-12-02 16:59:58.827332197 +0100
@@ -1,5 +1,5 @@
name: opensuse-migration-tool
-version: 20241129.2509e96
-mtime: 1732869419
-commit: 2509e96d696bc9960bce4df0d711346ce0730d8c
+version: 20241202.1a4772b
+mtime: 1733131177
+commit: 1a4772bf87115a60489689f8c3606ba89331525b