Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with short package names #908

Open
Neo-Oli opened this issue Feb 11, 2020 · 1 comment
Open

Issues with short package names #908

Neo-Oli opened this issue Feb 11, 2020 · 1 comment

Comments

@Neo-Oli
Copy link

Neo-Oli commented Feb 11, 2020

aptly/deb/package.go

Lines 645 to 647 in 24a0271

if len(source) < 2 {
return "", fmt.Errorf("package source %s too short", source)
}

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
ghost pushed a commit to termux/termux-packages that referenced this issue Feb 11, 2020
@reglim
Copy link
Contributor

reglim commented Mar 7, 2023

@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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants