FS#28505 - AUR Source field contains unparsed bash string operation

Attached to Project: Arch Linux
Opened by tjbp (STM) - Saturday, 18 February 2012, 15:09 GMT
Last edited by Dave Reisner (falconindy) - Saturday, 18 February 2012, 19:01 GMT
Task Type Bug Report
Category Web Sites
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Elements of a package's source array often contain a bash variable - specifically $pkgver (as encouraged on the wiki). The AUR's backend attempts to parse the earlier definition of this variable, in order to deliver a valid URL on the package's AUR page. This parsing fails if the earlier definition contains a bash string operation - necessary if the source URL has a different formatting for the package version.

Steps to reproduce:
# define version
# define custom version with "." removed for URL
# define source

Expected URL:

Actual URL:

Example in the wild:
This task depends upon

Closed by  Dave Reisner (falconindy)
Saturday, 18 February 2012, 19:01 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#15043 
Comment by tjbp (STM) - Saturday, 18 February 2012, 15:12 GMT
Whoops, didn't realise there were separate projects. Can someone move this to AUR -> Backend?