[pacman-dev] [PATCHv2 00/10] Add color to script output

William Giokas 1007380 at gmail.com
Tue Mar 5 18:18:45 EST 2013


This is a v3 of the script color patch set. I'm just sending in this
request-pull output to save the mailing list from a lot of emails, and
to make merging easier. I hope that the changes I made are acceptable
now.

The output_format output hasn't changed, they go to the same
stderr/stdout as before, and I added the 'plain' function. The 'ask'
function uses '::' now, to follow the style of pacman.

The '-m' short option was just removed from all of the scripts that
didn't have it already, and '--no-color' was changed to '--noclor'.

The following changes since commit 8e2648bf02b44a7dc82429327c08cbfd2426ac30:

  add SYMEXPORT to alpm_filelist_contains (2013-02-24 13:11:54 +1000)

are available in the git repository at:

  https://bitbucket.org/KaiSforza/pacman.git script-color-split-3

for you to fetch changes up to 92466b262199364837f951c4bb32b5d8563f84a3:

  contrib: Add color to paccache (2013-03-05 17:05:08 -0600)

----------------------------------------------------------------
William Giokas (9):
      scripts: Add color to library/output_format.sh
      scripts: Add color to pacman-db-upgrade
      scripts: Add color to pacman-key
      scripts: Add color to pacman-optimize
      scripts: Add color to pkgdelta
      scripts: Add color to repo-add
      contrib: Make pacdiff colors the same as makepkg
      contrib: Add color to bacman
      contrib: Add color to paccache

 contrib/bacman.sh.in             | 62 ++++++++++++++++++++++------------------
 contrib/paccache.sh.in           | 20 ++++++-------
 contrib/pacdiff.sh.in            | 35 ++++++-----------------
 doc/pacman-key.8.txt             |  3 ++
 doc/repo-add.8.txt               |  3 ++
 scripts/library/README           |  9 ++++--
 scripts/library/output_format.sh | 21 ++++++++++----
 scripts/library/term_colors.sh   | 21 ++++++++++++++
 scripts/pacman-db-upgrade.sh.in  | 11 ++++++-
 scripts/pacman-key.sh.in         |  5 +++-
 scripts/pacman-optimize.sh.in    | 11 ++++++-
 scripts/pkgdelta.sh.in           |  8 +++++-
 scripts/repo-add.sh.in           |  5 ++++
 13 files changed, 137 insertions(+), 77 deletions(-)
 create mode 100644 scripts/library/term_colors.sh

-- 
William Giokas | KaiSforza
GnuPG Key: 0x73CD09CF
Fingerprint: F73F 50EF BBE2 9846 8306  E6B8 6902 06D8 73CD 09CF
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/pacman-dev/attachments/20130305/9eae3493/attachment.asc>


More information about the pacman-dev mailing list