AUR web interface

Tasklist

FS#62149 - "Invalid name: only lowercase letters are allowed" on package called "rodin"

Attached to Project: AUR web interface
Opened by sseneca (sseneca) - Tuesday, 26 March 2019, 21:35 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 26 March 2019, 23:14 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 4.7.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

I am trying to merge an outdated AUR package with my repo which updates it, but I get "Invalid name: only lowercase letters are allowed." even though the package is called "rodin". My repo is at https://gitlab.com/sseneca/rodin-aur, the PKGBUILD is https://gitlab.com/sseneca/rodin-aur/blob/master/PKGBUILD

The PKGBUILD works fine once on a computer, btw.
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Tuesday, 26 March 2019, 23:14 GMT
Reason for closing:  Not a bug
Additional comments about closing:  User error; the request submission box is working as expected.
Comment by Santiago Torres (sangy) - Tuesday, 26 March 2019, 21:40 GMT
care to share your .SRCINFO too?
Comment by sseneca (sseneca) - Tuesday, 26 March 2019, 21:41 GMT Comment by Eli Schwartz (eschwartz) - Tuesday, 26 March 2019, 22:47 GMT
The error message string comes from aurweb's "Submit Request" machinery and is totally unrelated to the PKGBUILD or .SRCINFO -- in accordance with your statement that you are trying to merge the repos, I assume you went to https://aur.archlinux.org/pkgbase/rodin/request/ and changed the "Request type:" dropdown to "merge". Did you read the warning?

> By submitting a merge request, you ask a Trusted User to delete the package base and transfer its votes and comments to another package base. Merging a package does not affect the corresponding Git repositories. Make sure you update the Git history of the target package yourself.

If you tried to submit the gitlab URL to your git version control repository there, then you'd essentially be asking to delete the "rodin" package from the AUR and transfer its votes and comments to the gitlab.com website. The error message will be because ":/." are all characters in that URL, and they aren't lowercase alphanumeric chars.

...

You don't want to delete the rodin package either way. You want to acquire ownership of the package, and then push an update once the git repository belongs to you. That means an orphan request.

Please correct me if I've misunderstood what you are trying to do.
Comment by Eli Schwartz (eschwartz) - Tuesday, 26 March 2019, 22:49 GMT
You may also consider git reset --hard 6caaf96322e3e9216c1d2be030fd915d5c52f006 to revert back to the initial update to the PKGBUILD, so as to avoid cluttering up the AUR history with unneeded changes based on this misunderstanding. I'd also recommend updating the .SRCINFO automatically, not in a followup commit, every time you commit a new version of the PKGBUILD. The [community]/aurpublish package can help automate this.
Comment by sseneca (sseneca) - Tuesday, 26 March 2019, 22:52 GMT
I did read the warning, I just misunderstood. Thanks, you're right about what I want to do. I'm going to try to contact that user first through their email, as the warning states:

> Please only do this if the package needs maintainer action, the maintainer is MIA and you already tried to contact the maintainer previously.

Thanks for the recommendation! I'll check out `aurpublish`.

Loading...