Skip to content

Commit

Permalink
v4.2.15: avoid crashes if package name contains + signs
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Warrick <[email protected]>
  • Loading branch information
Kwpolska committed Mar 17, 2018
1 parent 508369e commit 00005cf
Show file tree
Hide file tree
Showing 67 changed files with 353 additions and 346 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Appendix C. Changelog
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: CHANGELOG

Expand Down Expand Up @@ -47,6 +47,9 @@ More information can be found on GitHub in the `releases section <https://github
Version History
===============

4.2.15
* Avoid crashes if package name contains `+` signs (or other characters not allowed in regular expressions).

4.2.14
* Fix multiinfo glitch if there are no packages

Expand Down
4 changes: 2 additions & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Maintainer: Chris Warrick <[email protected]>
pkgname=pkgbuilder
_pyname=pkgbuilder
pkgver=4.2.14
pkgver=4.2.15
pkgrel=1
pkgdesc='A Python AUR helper/library.'
arch=('any')
Expand All @@ -10,7 +10,7 @@ license=('BSD')
depends=('python' 'python-setuptools' 'pyalpm>=0.5.1-1' 'python-requests' 'python-srcinfo' 'asp' 'git')
options=(!emptydirs)
source=("https://files.pythonhosted.org/packages/source/${_pyname:0:1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
md5sums=('3b0efaaad04d9e45c8d9001414d5aaf3')
md5sums=('17ce7100fb3a356564648e315e8f3246')

package() {
cd "${srcdir}/${_pyname}-${pkgver}"
Expand Down
2 changes: 1 addition & 1 deletion PKGBUILD-git
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pkgname=pkgbuilder-git
_pyname=pkgbuilder
_gitname=pkgbuilder
pkgver=4.2.14
pkgver=4.2.15
pkgrel=1
pkgdesc='A Python AUR helper/library. (git version)'
arch=('any')
Expand Down
4 changes: 2 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ PKGBUILDer. An AUR helper (and library) in Python 3.
=====================================================
:Info: This is the README file for PKGBUILDer.
:Author: Chris Warrick <[email protected]>
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index: README

Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ PKGBUILDer. An AUR helper (and library) in Python 3.
=====================================================
:Info: This is the README file for PKGBUILDer.
:Author: Chris Warrick <[email protected]>
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index: README
Expand Down
7 changes: 5 additions & 2 deletions docs/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Appendix C. Changelog
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: CHANGELOG

Expand Down Expand Up @@ -47,6 +47,9 @@ More information can be found on GitHub in the `releases section <https://github
Version History
===============

4.2.15
* Avoid crashes if package name contains `+` signs (or other characters not allowed in regular expressions).

4.2.14
* Fix multiinfo glitch if there are no packages

Expand Down
4 changes: 2 additions & 2 deletions docs/LICENSE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Appendix B. License for PKGBUILDer
==================================
:Info: This is the license for PKGBUILDer.
:Author: Chris Warrick <[email protected]>
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: LICENSE

Expand Down
4 changes: 2 additions & 2 deletions docs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ PKGBUILDer. An AUR helper (and library) in Python 3.
=====================================================
:Info: This is the README file for PKGBUILDer.
:Author: Chris Warrick <[email protected]>
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index: README
Expand Down
4 changes: 2 additions & 2 deletions docs/aur.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ aur module (AUR class)
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: AUR; RPC
.. index:: RPC
Expand Down
4 changes: 2 additions & 2 deletions docs/build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ build module
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: build
.. versionadded:: 2.1.0.0
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
# built documents.
#
# The short X.Y version.
version = '4.2.14'
version = '4.2.15'
# The full version, including alpha/beta/rc tags.
release = '4.2.14'
release = '4.2.15'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions docs/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Exceptions in PKGBUILDer
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: Exceptions
.. versionadded:: 3.0.0
Expand Down
4 changes: 2 additions & 2 deletions docs/main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ __main__ module
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: main
.. versionchanged:: 4.0.0
Expand Down
4 changes: 2 additions & 2 deletions docs/package.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ package module (Package, AURPackage, ABSPackage classes)
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: Package
.. index:: AURPackage
Expand Down
Binary file modified docs/pb.8.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/pb.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ PBWrapper
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or Appendix B.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15
:Wrapper Version: 0.5.3
:Manual section: 8
:Manual group: PKGBUILDer manual
Expand Down
4 changes: 2 additions & 2 deletions docs/pbds.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ pbds module (PBDS class)
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. module: pbds
Expand Down
Binary file modified docs/pkgbuilder.8.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions docs/pkgbuilder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ PKGBUILDer
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or Appendix B.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15
:Manual section: 8
:Manual group: PKGBUILDer manual

Expand Down
4 changes: 2 additions & 2 deletions docs/sample-scripts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ PKGBUILDer Sample Scripts
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: sample scripts

Expand Down
4 changes: 2 additions & 2 deletions docs/transaction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Transactions
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: transaction
.. versionadded:: 4.1.0
Expand Down
4 changes: 2 additions & 2 deletions docs/ui.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ ui module (UI class)
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: UI
.. versionadded:: 3.0.0
Expand Down
4 changes: 2 additions & 2 deletions docs/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ upgrade module
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: upgrade
.. index:: Syu
Expand Down
4 changes: 2 additions & 2 deletions docs/utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ utils module
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15

.. index:: utils
.. versionadded:: 2.1.0.0
Expand Down
4 changes: 2 additions & 2 deletions docs/wrapper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ PBWrapper
:Author: Chris Warrick <[email protected]>
:Copyright: © 2011-2018, Chris Warrick.
:License: BSD (see /LICENSE or :doc:`Appendix B <LICENSE>`.)
:Date: 2017-07-13
:Version: 4.2.14
:Date: 2018-03-18
:Version: 4.2.15
:PBWrapper Version: 0.2.3

.. index:: wrapper
Expand Down
Binary file modified locale/ar/LC_MESSAGES/pkgbuilder.mo
Binary file not shown.
38 changes: 19 additions & 19 deletions locale/ar/LC_MESSAGES/pkgbuilder.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: 4.2.14\n"
"Project-Id-Version: 4.2.15\n"
"Report-Msgid-Bugs-To: Chris Warrick <[email protected]>\n"
"POT-Creation-Date: 2017-07-13 12:24+0200\n"
"POT-Creation-Date: 2018-03-18 00:07+0100\n"
"PO-Revision-Date: 2015-09-08 15:37+0000\n"
"Last-Translator: Chris Warrick <[email protected]>\n"
"Language-Team: Arabic (http://www.transifex.com/kwpolska/pkgbuilder/language/"
Expand Down Expand Up @@ -44,77 +44,77 @@ msgstr ""
msgid "makepkg (or someone else) failed and returned {0}."
msgstr ""

#: pkgbuilder/build.py:300
#: pkgbuilder/build.py:301
#, python-brace-format
msgid "Failed to fulfill package dependency requirement: {0}"
msgstr ""

#: pkgbuilder/build.py:359 pkgbuilder/__main__.py:325
#: pkgbuilder/build.py:360 pkgbuilder/__main__.py:325
msgid "Fetching package information..."
msgstr ""

#: pkgbuilder/build.py:390
#: pkgbuilder/build.py:391
msgid ":: Retrieving packages from asp..."
msgstr ""

#: pkgbuilder/build.py:393
#: pkgbuilder/build.py:394
#, python-brace-format
msgid "retrieving {0}"
msgstr ""

#: pkgbuilder/build.py:397 pkgbuilder/build.py:449
#: pkgbuilder/build.py:398 pkgbuilder/build.py:450
#, python-brace-format
msgid "Failed to retieve {0} (from ASP)."
msgstr ""

#: pkgbuilder/build.py:401
#: pkgbuilder/build.py:402
msgid ":: Retrieving packages from aur..."
msgstr ""

#: pkgbuilder/build.py:404
#: pkgbuilder/build.py:405
#, python-brace-format
msgid "cloning {0}"
msgstr ""

#: pkgbuilder/build.py:407
#: pkgbuilder/build.py:408
msgid "Successfully fetched: "
msgstr ""

#: pkgbuilder/build.py:437
#: pkgbuilder/build.py:438
#, python-brace-format
msgid "Building {0}..."
msgstr ""

#: pkgbuilder/build.py:445
#: pkgbuilder/build.py:446
msgid "Retrieving from ASP..."
msgstr ""

#: pkgbuilder/build.py:454 pkgbuilder/build.py:478
#: pkgbuilder/build.py:455 pkgbuilder/build.py:479
#, python-brace-format
msgid "Found an existing package for {0}"
msgstr ""

#: pkgbuilder/build.py:483
#: pkgbuilder/build.py:484
msgid "Cloning the git repository..."
msgstr ""

#: pkgbuilder/build.py:491
#: pkgbuilder/build.py:492
msgid "Checking dependencies..."
msgstr ""

#: pkgbuilder/build.py:494
#: pkgbuilder/build.py:495
msgid "found in system"
msgstr ""

#: pkgbuilder/build.py:494
#: pkgbuilder/build.py:495
msgid "found in repos"
msgstr ""

#: pkgbuilder/build.py:495
#: pkgbuilder/build.py:496
msgid "found in the AUR"
msgstr ""

#: pkgbuilder/build.py:498
#: pkgbuilder/build.py:499
msgid "none found"
msgstr ""

Expand Down
Binary file modified locale/cs/LC_MESSAGES/pkgbuilder.mo
Binary file not shown.
Loading

0 comments on commit 00005cf

Please sign in to comment.