Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kiss-hooks-update-git: add required dependency for updating git repos #1

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions kiss-hooks-update-git/build
@@ -0,0 +1,4 @@
#!/bin/sh -e

install -Dm755 -t "$1/var/db/kiss/hooks" update-git
install -Dm755 -t "$1/etc/profile.d" kiss-hooks_update-git.sh
2 changes: 2 additions & 0 deletions kiss-hooks-update-git/checksums
@@ -0,0 +1,2 @@
66597672da6be9550487265da0562542835c51853a422657c20b60779d90d7ac
3b26a08214f7bf1804d4113edbc6faab062bec8508c94fd415880636f9c92f6f
1 change: 1 addition & 0 deletions kiss-hooks-update-git/description
@@ -0,0 +1 @@
update git repository
1 change: 1 addition & 0 deletions kiss-hooks-update-git/files/kiss-hooks_update-git.sh
@@ -0,0 +1 @@
export KISS_HOOK=/var/db/kiss/hooks/update-git:$KISS_HOOK
22 changes: 22 additions & 0 deletions kiss-hooks-update-git/files/update-git
@@ -0,0 +1,22 @@
#!/bin/sh

_update=${XDG_RUNTIME_DIR:-${TMPDIR:-"/tmp"}}/kiss-hooks-update-git
clean() {
rm -f "$_update"
}
trap 'clean "$1"' EXIT INT

case $1 in
pre-update)
git remote >/dev/null 2>&1 || exit

toplevel="$(rev-parse --show-toplevel)"
grep --quiet "$toplevel" "$_update" && exit
git -C "$toplevel" pull
git -C "$toplevel" submodule update --remote --init --force
echo "$toplevel" >> "$_update"
;;
post-updates)
clean
;;
esac
2 changes: 2 additions & 0 deletions kiss-hooks-update-git/sources
@@ -0,0 +1,2 @@
files/kiss-hooks_update-git.sh
files/update-git
1 change: 1 addition & 0 deletions kiss-hooks-update-git/version
@@ -0,0 +1 @@
0.1 1
2 changes: 0 additions & 2 deletions post-install

This file was deleted.

63 changes: 39 additions & 24 deletions readme.md
@@ -1,26 +1,41 @@
# repositories

packages that install [kiss](k1ss.org) repositories for you

installs to $KISS_REPOSITORY_PATH, which defaults to **/var/db/kiss/repos**

repo-admicos: admicos's personal repository

repo-cemkeylan: cemkeylan's personal repository

repo-community: the community repository

repo-eudaldgr: libs from eudaldgr's repo

repo-eudaldgr-lang: lang from eudaldgr's repo

repo-eudaldgr-testing: testing packages from eudaldgr's repo

repo-fonts: a repository for font packages

repo-jedahan: jedahan's personal repository

repo-muevoid: mostly games and gamedev stuff

repo-wayland: a repository for wayland pacakges

Manage [kiss](kisslinux.org) repositories

Installs to `$KISS_REPOSITORY_PATH`, which defaults to **/var/db/kiss/repos**

Also installs and configures necessary hook for updating repositories

---

kiss-hooks-update-git: update git repository
repo-admicos: custom packages by admicos - kiss utilities, fonts, hexchat, etc
repo-android: android packages by mmatongo - for adb
repo-aosync: kiss aosync: ungoogled-chromium-bin and others
repo-bin: binary packages
repo-cemkeylan: cemkeylan's personal KISS repository
repo-community: a repository for font packages
repo-containers: kiss containers: podman + podman-compose
repo-dilyn-extra: extra packages by dilyn - for wayland-only firefox
repo-dilyn-wayland: wayland packages by dilyn
repo-dilyn: dilyn's private packages - dependency for dilyn-{extra, wayland}
repo-dumpsterfire: kiss dumpsterfire: mostly an up-to-date eiwd
repo-eudaldgr-extra: extra packages by eudaldgr - for gobject-introspection
repo-eudaldgr-python: python packages by eudaldgr - for gobject-python
repo-eudaldgr: custom packages by eudaldgr - right now, just libs
repo-flatpak: flatpak repo
repo-fonts: the community repository
repo-games-equipment: equipment for games - like freeimage
repo-games: games!
repo-himmalerin: custom packages by himmalerin - mtr, ntpd-service, gptfdisk, adwaita, wf-recorder, more
repo-ioraff: personal packages by ioraff - gpgme and others
repo-java: java packages by trbednarzyk
repo-jedahan: custom packages by jedahan
repo-lang: kiss language repo
repo-mmatongo: mmatongo dependency repo
repo-muevoid: custom packages by muevoid - mainly has gamedev related things, tic80, etc
repo-periish-audio: audio packages by periish - pulseaudio and others
repo-periish-dbus: dbus packages by periish - dunst and such
repo-periish: custom packages by periish
repo-repos: this repo of repos, added to your path
repo-talyn: kiss baselayout and linux kernel for jedahan's laptop
1 change: 1 addition & 0 deletions repo-admicos/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-admicos/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-admicos/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-admicos/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-android/depends
@@ -1,2 +1,3 @@
git make
repo-mmatongo
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-android/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-android/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-android/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-aosync/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-aosync/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-aosync/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-aosync/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-bin/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-bin/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-bin/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-bin/version
@@ -1 +1 @@
git 11
git 13
1 change: 0 additions & 1 deletion repo-cemkeylan/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-cemkeylan/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-cemkeylan/version
@@ -1 +1 @@
git 11
git 13
1 change: 0 additions & 1 deletion repo-community/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-community/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-community/version
@@ -1 +1 @@
git 12
git 13
1 change: 1 addition & 0 deletions repo-containers/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-containers/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-containers/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-containers/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-dilyn-extra/depends
@@ -1,2 +1,3 @@
git make
repo-dilyn
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-dilyn-extra/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-dilyn-extra/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-dilyn-extra/version
@@ -1 +1 @@
git 1
git 13
1 change: 1 addition & 0 deletions repo-dilyn-wayland/depends
@@ -1,2 +1,3 @@
git make
repo-dilyn
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-dilyn-wayland/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-dilyn-wayland/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-dilyn-wayland/version
@@ -1 +1 @@
git 1
git 13
1 change: 1 addition & 0 deletions repo-dilyn/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
2 changes: 1 addition & 1 deletion repo-dilyn/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-dumpsterfire/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-dumpsterfire/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-dumpsterfire/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-dumpsterfire/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-eudaldgr-extra/depends
@@ -1,2 +1,3 @@
git make
repo-eudaldgr
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-eudaldgr-extra/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-eudaldgr-extra/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-eudaldgr-extra/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-eudaldgr-python/depends
@@ -1,2 +1,3 @@
git make
repo-eudaldgr
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-eudaldgr-python/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-eudaldgr-python/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-eudaldgr-python/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-eudaldgr/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-eudaldgr/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-eudaldgr/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-eudaldgr/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-flatpak/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-flatpak/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-flatpak/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-flatpak/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-fonts/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-fonts/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-fonts/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-fonts/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-games-equipment/depends
@@ -1,2 +1,3 @@
git make
repo-games
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-games-equipment/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-games-equipment/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-games-equipment/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-games/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-games/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-games/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-games/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-himmalerin/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-himmalerin/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-himmalerin/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-himmalerin/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-ioraff/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-ioraff/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-ioraff/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-ioraff/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-java/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-java/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-java/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-java/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-jedahan/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-jedahan/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-jedahan/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-jedahan/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-lang/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-lang/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-lang/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-lang/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-mmatongo/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
2 changes: 1 addition & 1 deletion repo-mmatongo/version
@@ -1 +1 @@
git 11
git 13
1 change: 1 addition & 0 deletions repo-muevoid/depends
@@ -1 +1,2 @@
git make
kiss-hooks-update-git
1 change: 0 additions & 1 deletion repo-muevoid/post-install

This file was deleted.

2 changes: 2 additions & 0 deletions repo-muevoid/post-install
@@ -0,0 +1,2 @@
#!/bin/sh -e
source /etc/profile
2 changes: 1 addition & 1 deletion repo-muevoid/version
@@ -1 +1 @@
git 11
git 13