anaconda-client icon indicating copy to clipboard operation
anaconda-client copied to clipboard

Using 'anaconda move' with a specific package version applies changes to all versions

Open kesmit13 opened this issue 4 years ago • 0 comments

When using the anaconda move command with a package version specified, rather than applying the label move to just that version of the package, it applies it to all versions. Even if the specified --from-label doesn't exist, it gets added.

For example, if you had files in a package such as this:

package-1.0.0.tar.bz2    [rc]
package-0.9.0.tar.bz2    [pre]
package-0.8.0.tar.bz2    [pre]

Then run the following command:

anaconda move --from-label rc --to-label main user/package/1.0.0

You end up with:

package-1.0.0.tar.bz2    [main]
package-0.9.0.tar.bz2    [pre, main]
package-0.8.0.tar.bz2    [pre, main]

The expected results were:

package-1.0.0.tar.bz2    [main]
package-0.9.0.tar.bz2    [pre]
package-0.8.0.tar.bz2    [pre]

kesmit13 avatar Sep 25 '20 15:09 kesmit13