From 16e1a8c9a6e747507cd8eb6e79a4a8c132da7f79 Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Tue, 6 Aug 2024 04:27:14 -0700 Subject: [PATCH] Change README to markdown --- README.md | 43 +++++++++++++++++++++++++++++++++++++++++++ README.rst | 36 ------------------------------------ 2 files changed, 43 insertions(+), 36 deletions(-) create mode 100644 README.md delete mode 100644 README.rst diff --git a/README.md b/README.md new file mode 100644 index 0000000..800344d --- /dev/null +++ b/README.md @@ -0,0 +1,43 @@ +# Packaging Scripts + +## The Scripts + +- addpkg - add a package to a repository and then automatically move + its package tarfiles to that repository\'s respective cache + directory +- delpkg - remove a package from a repository by manipulating the db + file, and then remove that respective package\'s tarballs in that + repository\'s directory +- fqo (\"fuzzy pacman -Qo\") - using fzf and mlocate, select a file + and then pass that file to \$(pacman -Qo) +- pug2 - upload a gist of explicitly installed pacman packages + +### addpkg + +- Either take all pacman package files in the current working + directory or from the command line and add them to the given + repository +- Automatically move said package files to the repository\'s cache + directory + +### delpkg + +- Take the names of packages and a repository, then delete those + packages from said repository +- Automatically delete all tarfiles of those packages from the + repository + +### fqo + +- Given a query, pass to locate and then pass the results to fzf +- Select a file and then pass that file to pacman -Qo + +### pug2 + +- Automatically update a gist containing explicitly installed pacman + packages on the system +- Script inspired by ventto/pug + +## Implementation Notes + +- All code internally uses pathlib for path handling diff --git a/README.rst b/README.rst deleted file mode 100644 index 7a79ab4..0000000 --- a/README.rst +++ /dev/null @@ -1,36 +0,0 @@ -.. image:: https://img.shields.io/badge/code%20style-black-000000.svg - :target: https://github.com/ambv/black - -Packaging Scripts -================= - -The Scripts ------------ -* addpkg - add a package to a repository and then automatically move its package tarfiles to that repository's respective cache directory -* delpkg - remove a package from a repository by manipulating the db file, and then remove that respective package's tarballs in that repository's directory -* fqo ("fuzzy pacman -Qo") - using fzf and mlocate, select a file and then pass that file to $(pacman -Qo) -* pug2 - upload a gist of explicitly installed pacman packages - -addpkg -^^^^^^ -* Either take all pacman package files in the current working directory or from the command line and add them to the given repository -* Automatically move said package files to the repository's cache directory - -delpkg -^^^^^^ -* Take the names of packages and a repository, then delete those packages from said repository -* Automatically delete all tarfiles of those packages from the repository - -fqo -^^^ -* Given a query, pass to locate and then pass the results to fzf -* Select a file and then pass that file to pacman -Qo - -pug2 -^^^^ -* Automatically update a gist containing explicitly installed pacman packages on the system -* Script inspired by ventto/pug - -Implementation Notes --------------------- -* All code internally uses pathlib for path handling