aptly icon indicating copy to clipboard operation
aptly copied to clipboard

aptly repo copy should accept a wildcard

Open aioue opened this issue 8 years ago • 3 comments

Use case

Copy all packages from one local repo to another

Expected behaviour

aptly --dry-run=true repo copy foo-test foo-stable * should show that it will copy all packages on local repo foo-test to local repo foo-stable

Actual behaviour

No packages are listed as being copied

aioue avatar Jul 06 '15 14:07 aioue

@aioue I agree that 'wildcard' should work, but right now "always true" condition is Name (which means Name is not empty)

smira avatar Jul 06 '15 14:07 smira

Yes that's a good point. A simple workaround is aptly --dry-run=true repo copy foo-test foo-stable Name *.

aioue avatar Jul 06 '15 14:07 aioue

No, you don't need * at all, just Name

smira avatar Jul 06 '15 15:07 smira