| Summary: | Provide --no-vcs in mgarepo sync for mga8 | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Dan Fandrich <dan> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | andrewsfarm, dan, davidwhodgins, sysadmin-bugs, tarazed25 |
| Version: | 8 | Keywords: | advisory, has_procedure, validated_update |
| Target Milestone: | Mageia 8 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | MGA8-64-OK | ||
| Source RPM: | mgarepo-1.14.2-3.mga8.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Dan Fandrich
2023-04-17 20:58:20 CEST
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_procedure
Dan Fandrich
2023-04-17 21:19:46 CEST
Assignee:
dan =>
qa-bugs 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 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_update
Dave Hodgins
2023-04-24 00:23:13 CEST
Keywords:
(none) =>
advisory An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2023-0036.html Status:
ASSIGNED =>
RESOLVED |