FS#43649 - Optional depenencies containing both description and version requirement are incorrectly parsed
Attached to Project:
AUR web interface
Opened by (Det) - Saturday, 31 January 2015, 23:35 GMT
Last edited by Lukas Fleischer (lfleischer) - Friday, 19 June 2015, 19:41 GMT
Opened by (Det) - Saturday, 31 January 2015, 23:35 GMT
Last edited by Lukas Fleischer (lfleischer) - Friday, 19 June 2015, 19:41 GMT
|
Details
In jdk6-docs[1] .SRCINFO I have:
optdepends = java-environment>=6: Compile and run the examples Which results in: java-environment>=6: Compile and run the examples (optional) – (unknown) Instead of: java-environment>=6 (optional) – Compile and run the examples [1] = https://aur.archlinux.org/packages/jdk6-docs/ |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Friday, 19 June 2015, 19:41 GMT
Reason for closing: Fixed
Additional comments about closing: Implemented in v4.0.0-rc5.
Friday, 19 June 2015, 19:41 GMT
Reason for closing: Fixed
Additional comments about closing: Implemented in v4.0.0-rc5.
And then I'll do this?: https://lists.archlinux.org/pipermail/aur-dev/2014-December/003013.html
$ git clone ssh+git://aur-dev.archlinux.org/jdk6-docs.git/
$ cd jdk6-docs
- add files -
$ git add .
$ git commit -m 'Initial upload.'
$ git push origin master
Total 5 (delta 0), reused 0 (delta 0)
remote: error: The following error occurred when parsing commit
remote: error: 74d1405f3b84de80d5c9d61b18d6a57de43d7ab1:
remote: error: invalid package name: java-environment>=6: Compile and run the examples
remote: error: hook declined to update refs/heads/master
To ssh+git://aur-dev.archlinux.org/jdk6-docs.git/
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'ssh+git://aur-dev.archlinux.org/jdk6-docs.git/'
I uploaded jdk6, too, but it still doesn't detect the (optional) dependency: https://aur-dev.archlinux.org/packages/jdk6/
- https://aur.archlinux.org/packages/jdk6-docs/
- https://aur4.archlinux.org/packages/jdk6-docs/