aptly icon indicating copy to clipboard operation
aptly copied to clipboard

Issues with short package names

Open Neo-Oli opened this issue 5 years ago • 1 comments

https://github.com/aptly-dev/aptly/blob/24a027194ea8818307083396edb76565f41acc92/deb/package.go#L645-L647 What's up with that?

Detailed Description

There's apparently now a text editor named o in a repository I am mirroring and I am getting ERROR: unable to publish: unable to process packages: package source o too short and since it has been added I can no longer publish the repository.

Possible Implementation

Can this check simply be removed? I was unable to find any documentation as to why it is necessary for packages to be at least 2 characters long.

Your Environment

The repository I am mirroring:

aptly mirror create main https://termux.org/packages/ stable

Neo-Oli avatar Feb 11 '20 16:02 Neo-Oli

@randombenj Do we want to drop this requirement? The o editor has been renamed to o-editor so they fixed the issue on their side...

reglim avatar Mar 07 '23 13:03 reglim