mgarepo 1.4.4 added the --no-vcs option to replace functionality lost when the operation of --dry-run was changed. The stable version of mgarepo in mga8 should have that option added to provide a smooth upgrade path for people & scripts that relied on the old behaviour.
mgarepo-1.14.2-4.mga8 is available in core/updates_testing with the --no-vcs option backported. Test procedure (works for 1.14.2-4 only): 1. Use "mgarepo co X; cd X" to check out just about any package 2. "rm SOURCES/*z" to delete the source tarball 3. "sed -i 1iPatch999:foobar SPECS/*spec && echo foo > SOURCES/foobar" to add a fake patch to the spec file 4. "mgarepo sync --dry-run -d && svn status" should show the missing file, then download it, then, for the last mention of foobar, show "? SOURCES/foobar" to show that it hasn't been added to svn. This validates the existing behaviuor. 5. Repeat step 2. 6. "mgarepo sync --no-vcs -d && svn status" should have exactly the same behaviour as step 4. 7. "mgarepo sync && svn status" should show "A SOURCES/foobar" for both mentions of foobar, to show that foobar has been added to svn.
Keywords: (none) => has_procedureStatus: NEW => ASSIGNED
Assignee: dan => qa-bugsCC: (none) => danTarget Milestone: --- => Mageia 8
Mageia8, x86_64 Checked out rust for this test, before and after updating. For mgarepo-1.14.2-3.mga8 no --no-cvs option. After update: $ ls SOURCES 0001-Use-lld-provided-by-system-for-wasm.patch macros.rust-toolset rustc-1.50.0-allow_fail-armv7-instruction_set.patch rustc-1.61.0-rust-gdb-substitute-path.patch rustc-1.65.0-disable-libssh2.patch rustc-1.65.0-no-default-pie.patch rustc-1.68.0-disable-http2.patch sha1.lst $ ls .svn entries format pristine/ tmp/ wc.db wc.db-journal $ sed -i 1iPatch999:foobar SPECS/*spec && echo foo > SOURCES/foobar $ mgarepo sync --dry-run -d && svn status A ./SOURCES/wasi-libc-wasi-sdk-19.tar.gz A ./SOURCES/rustc-1.68.0-src.tar.xz A ./SOURCES/foobar ? SOURCES/foobar ? SOURCES/rustc-1.68.0-src.tar.xz ? SOURCES/wasi-libc-wasi-sdk-19.tar.gz M SPECS/rust.spec $ rm -f SOURCES/*z $ sed -i 1iPatch999:foobar SPECS/*spec && echo foo > SOURCES/foobar $ mgarepo sync --no-vcs -d && svn status ........... A ./SOURCES/wasi-libc-wasi-sdk-19.tar.gz A ./SOURCES/rustc-1.68.0-src.tar.xz A ./SOURCES/foobar ? SOURCES/foobar ? SOURCES/rustc-1.68.0-src.tar.xz ? SOURCES/wasi-libc-wasi-sdk-19.tar.gz M SPECS/rust.spec Hope that this is all correct. Looks like it to me.
CC: (none) => tarazed25
Referring to comment 2: s/--no-cvs/--no-vcs/
Those test results look good. Making that particular Freudian slip in the option name really shows my age... At least I didn't say --no-sccs
Thanks for the procedure Dan. Sending this on.
Whiteboard: (none) => MGA8-64-OK
Validating.
Keywords: (none) => validated_updateCC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => advisoryCC: (none) => davidwhodgins
An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2023-0036.html
Status: ASSIGNED => RESOLVEDResolution: (none) => FIXED