<feed xmlns='http://www.w3.org/2005/Atom'>
<title>makepnd.git/scripts/libmakepkg/lint_pkgbuild, branch makepnd</title>
<subtitle>makepnd-ng
</subtitle>
<id>https://git.cloudef.pw/makepnd.git/atom?h=makepnd</id>
<link rel='self' href='https://git.cloudef.pw/makepnd.git/atom?h=makepnd'/>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/'/>
<updated>2017-01-04T03:59:14Z</updated>
<entry>
<title>Update copyright years</title>
<updated>2017-01-04T03:59:14Z</updated>
<author>
<name>Allan McRae</name>
<email>allan@archlinux.org</email>
</author>
<published>2017-01-01T07:52:18Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=1a2d5bee3bc8841f81db7a4d6b2d41a2363b93d6'/>
<id>urn:sha1:1a2d5bee3bc8841f81db7a4d6b2d41a2363b93d6</id>
<content type='text'>
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>makepkg: Disallow forward slashes in pkgver</title>
<updated>2017-01-04T03:59:14Z</updated>
<author>
<name>Steef Hegeman</name>
<email>steefhegeman@hotmail.com</email>
</author>
<published>2016-10-23T00:27:21Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=5dfa3c8f6a0b1c170feac564b1fca51a33f78723'/>
<id>urn:sha1:5dfa3c8f6a0b1c170feac564b1fca51a33f78723</id>
<content type='text'>
scripts/libmakepkg/lint_pkgbuild/pkgver.sh.in now raises an error when
pkgver contains forward slashes.

pkgver containing a forward slash results in a package filename
containing a forward slash, which isn't a valid filename.

Signed-off-by: Steef Hegeman &lt;steefhegeman@hotmail.com&gt;
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>lint_pkgbuild/pkgname: pkgname is not allowed to be empty</title>
<updated>2016-10-10T00:38:05Z</updated>
<author>
<name>Christian Hesse</name>
<email>mail@eworm.de</email>
</author>
<published>2016-10-04T08:21:11Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=e2b4e220bcb6d3770716fb000953aa729ed07989'/>
<id>urn:sha1:e2b4e220bcb6d3770716fb000953aa729ed07989</id>
<content type='text'>
We checked for empty array elements, but did not catch empty array. Add
a check for that case as well.

Signed-off-by: Christian Hesse &lt;mail@eworm.de&gt;
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>libmakepkg: increase robustness of the detection of array variables</title>
<updated>2016-02-20T04:01:53Z</updated>
<author>
<name>Allan McRae</name>
<email>allan@archlinux.org</email>
</author>
<published>2016-02-07T11:27:31Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=3cb1669e07106e9108976a76b7d2f37e659bce6c'/>
<id>urn:sha1:3cb1669e07106e9108976a76b7d2f37e659bce6c</id>
<content type='text'>
Extract array detection into its own utility function that ensures
extglob is enabled.

Suggested-by: Dave Reisner &lt;dreisner@archlinux.org&gt;
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Fix testing of arrays status for arch specific variables</title>
<updated>2016-01-25T02:36:50Z</updated>
<author>
<name>Zuyi Hu</name>
<email>hzy068808@gmail.com</email>
</author>
<published>2016-01-25T02:36:50Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=765e29b67cf139efb1e88d428f95f71b5f0f01bb'/>
<id>urn:sha1:765e29b67cf139efb1e88d428f95f71b5f0f01bb</id>
<content type='text'>
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Update copyright years for 2016</title>
<updated>2016-01-04T03:27:08Z</updated>
<author>
<name>Allan McRae</name>
<email>allan@archlinux.org</email>
</author>
<published>2016-01-03T03:48:43Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=4742f5929dda4a7418781bc4b3d834a9f22b2d62'/>
<id>urn:sha1:4742f5929dda4a7418781bc4b3d834a9f22b2d62</id>
<content type='text'>
make update-copyright OLD=2015 NEW=2016

Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>lint_pkgbuild/variable: increase robustness</title>
<updated>2015-11-23T06:03:33Z</updated>
<author>
<name>Allan McRae</name>
<email>allan@archlinux.org</email>
</author>
<published>2015-11-13T03:48:30Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=23f128ad5e2b26733376d16f5095d36085a97747'/>
<id>urn:sha1:23f128ad5e2b26733376d16f5095d36085a97747</id>
<content type='text'>
Approach the detection of variables of the wrong type using an approach
similar to that used for construction of .SRCINFO files. While doing silly
things in bash could still result in false negatives, this approach should
be very robust to generatinf false positives results.

Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>lint_pkgbuild: explicitly return value</title>
<updated>2015-11-23T01:13:39Z</updated>
<author>
<name>Allan McRae</name>
<email>allan@archlinux.org</email>
</author>
<published>2015-11-13T04:32:52Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=c26e5b81e5c22e1316eb2f384cc175438772a8f2'/>
<id>urn:sha1:c26e5b81e5c22e1316eb2f384cc175438772a8f2</id>
<content type='text'>
Set the return value to be local and always explictly returns it.

Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>Refactor lint_source to work with earlier versions of Bash</title>
<updated>2015-11-05T01:55:17Z</updated>
<author>
<name>Aaron Campbell</name>
<email>aaron@monkey.org</email>
</author>
<published>2015-11-04T19:43:12Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=bf0e8e6b435f0ab28745d6f6d3279dc66ac3e9ef'/>
<id>urn:sha1:bf0e8e6b435f0ab28745d6f6d3279dc66ac3e9ef</id>
<content type='text'>
Negative subscripts to indexed arrays are not supported before 4.2.  However,
since substring expansion works on arrays, we can specify an offset of -1 to
be taken relative to one greater than the maximum index of the specified
array (see Parameter Expansion section of the bash man page).  This works with
both Bash 4.1 and 4.2, and 4.1 is already the oldest supported by pacman.

Signed-off-by: Aaron Campbell &lt;aaron@monkey.org&gt;
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
<entry>
<title>libmakepkg: fix pkgver checking</title>
<updated>2015-10-27T10:44:57Z</updated>
<author>
<name>Allan McRae</name>
<email>allan@archlinux.org</email>
</author>
<published>2015-10-27T10:44:57Z</published>
<link rel='alternate' type='text/html' href='https://git.cloudef.pw/makepnd.git/commit/?id=960b64553db7c738202d5108abff77af0bdb87b5'/>
<id>urn:sha1:960b64553db7c738202d5108abff77af0bdb87b5</id>
<content type='text'>
Signed-off-by: Allan McRae &lt;allan@archlinux.org&gt;
</content>
</entry>
</feed>
