From 4600a1dc654d4070d1d481a19e64160ac1956052 Mon Sep 17 00:00:00 2001 From: windowsboy111 Date: Thu, 8 Dec 2022 13:51:46 +0000 Subject: [PATCH] Squashed commit of the following: commit 4743164d8e3e488350128cc65be024489f08650d Merge: 5e02037 ef6b7a2 Author: Lains <4886639+lainsce@users.noreply.github.com> Date: Wed Dec 7 11:50:00 2022 -0300 Merge branch 'main' into b/chkupdate commit ef6b7a225963cf9c04110bf2c6f5629f51549133 Author: Raboneko Date: Wed Dec 7 14:35:46 2022 +0000 Automatic Update: prismlauncher-nightly prismlauncher-qt5-nightly commit 12dc462d95dcbed74e5ad5de4fb9383a3aa734a4 Author: Raboneko Date: Wed Dec 7 12:56:37 2022 +0000 Automatic Update: sccache commit 5e0203754738d9cb6a2fa2964fd13f4b588a4c1b Author: windowsboy111 Date: Wed Dec 7 15:49:04 2022 +0800 Delete requirements.txt Signed-off-by: windowsboy111 commit dbb21831c598dc030bf80887f9396b8727c686e6 Merge: a720cfd aed10b2 Author: lleyton Date: Tue Dec 6 15:50:10 2022 -0800 Merge branch 'main' into b/chkupdate commit aed10b299730e0b0160be0c658338d5555be9102 Author: lleyton Date: Tue Dec 6 15:21:03 2022 -0800 [packages/libhelium] Fix tau-helium dependency (#62) Co-authored-by: Lains <4886639+lainsce@users.noreply.github.com> commit 389abea4c51c2c3d0b0dd26619169ea2f3c1d467 Author: Raboneko Date: Tue Dec 6 22:12:00 2022 +0000 Automatic Update: rnote commit fea46a03f2856317db2f1bbe9571bf798f1cba9a Author: Raboneko Date: Tue Dec 6 20:12:23 2022 +0000 Automatic Update: prismlauncher-nightly prismlauncher-qt5-nightly commit 849ef368c70d0595ff43c838dfbbaac528e2ca19 Author: Raboneko Date: Tue Dec 6 19:10:44 2022 +0000 Automatic Update: openasar-canary commit a720cfdaad0a44ca6d19d43196838dd2546458f5 Merge: 519967a e565f09 Author: lleyton Date: Tue Dec 6 10:27:53 2022 -0800 Merge branch 'main' into b/chkupdate commit e565f0980bf325654e0c3bcef076036ea5977619 Author: Raboneko Date: Tue Dec 6 18:14:49 2022 +0000 Automatic Update: discord-ptb commit 519967a4444bdd0e8c54ba8dae3cdf277d73104d Author: windowsboy111 Date: Tue Dec 6 22:32:25 2022 +0800 Delete update.sh Signed-off-by: windowsboy111 commit 2edb2428d8b01cdd932862d1dad5d1aa07ab541b Merge: 437ed4c 701b26f Author: windowsboy111 Date: Tue Dec 6 22:31:04 2022 +0800 Merge branch 'main' into b/chkupdate commit 701b26febf7695a2c3815494e9063b032f868d89 Author: Raboneko Date: Tue Dec 6 14:20:34 2022 +0000 Automatic Update: prismlauncher-nightly prismlauncher-qt5-nightly commit 437ed4ce34f9cc7fcdecdd0718a5cfdc17e681dc Author: windowsboy111 Date: Tue Dec 6 21:42:52 2022 +0800 Fix stuff commit 496f2a6d0884ffe83bd9eb0c5e92525af4d51fb7 Author: windowsboy111 Date: Tue Dec 6 21:42:52 2022 +0800 Fix stuff commit 299a7f380766f086a0d10f79b53ccdac3f0c1bf1 Author: windowsboy111 Date: Tue Dec 6 14:25:17 2022 +0800 Update update.yml Signed-off-by: windowsboy111 commit c58cba3adf55a5b206683ab94658538ae0807c82 Merge: 7c15c20 43145fe Author: windowsboy111 Date: Tue Dec 6 06:14:05 2022 +0000 Merge branch 'main' into b/chkupdate commit 7c15c204fd5c6d853108c3c768758fc955721b3e Author: Raboneko Date: Tue Dec 6 04:13:53 2022 +0000 Automatic Update: libhelium commit cc00a586d19d4f894a51f5cf903cfa50275bdc62 Author: seth Date: Mon Dec 5 22:11:42 2022 -0500 [prismlauncher] support EPEL and F35 (again) commit c51c562b9b7be92e3b7ce998e7adcead3d51d3e5 Author: Raboneko Date: Tue Dec 6 03:05:47 2022 +0000 Automatic Update: libhelium commit 5783fc50defe7c26afee250a14ae72f21ce8fcbf Author: Raboneko Date: Tue Dec 6 02:16:18 2022 +0000 Automatic Update: elementary-camera commit 49a92c1e2e8e1e2362929ecf9f14d0068c81d661 Author: Raboneko Date: Tue Dec 6 00:54:50 2022 +0000 Automatic Update: prismlauncher-nightly prismlauncher-qt5-nightly moby-compose gcm-core commit 4849cc2d3f265a2eef305b1d23aaf7dc61ccbef5 Author: seth Date: Mon Dec 5 23:43:41 2022 +0000 set strict permissions for signing key Signed-off-by: seth commit 9717f09d2007bb37db67f64bcb5b2d004ef8a0c7 Author: lleyton Date: Mon Dec 5 15:19:36 2022 -0800 runner.temp should exist... why doesn't it? (#57) commit e7844d5b7df20a4de1463d7844660a4a53315314 Author: seth Date: Mon Dec 5 03:50:24 2022 -0500 [openasar-canary] save commit on auto update this was an L and i probably need sleep commit 8cd366eab597040c0b710af31409c12e7b3f6f0d Author: seth Date: Mon Dec 5 02:25:07 2022 -0500 support auto updating more packages commit adbd9be73ca7f6764b86f60f1974def089eff723 Author: windowsboy111 Date: Mon Dec 5 18:07:46 2022 +0800 Fix build (#53) Signed-off-by: windowsboy111 Signed-off-by: windowsboy111 commit a75aec0f8ca1ffc46c1441467a939390afe91af3 Author: lleyton Date: Mon Dec 5 02:06:58 2022 -0800 I regret not using a GPG key (#56) commit 6e62fec05ba58e3f3073ea47ad6efdb2acfd04b0 Author: seth Date: Mon Dec 5 08:35:19 2022 +0000 adopt new policies for prismlauncher (#54) * [prismlauncher] revise files to better follow fedora guidelines * add prismlauncher packages to CODEOWNERS commit 8a8125db6dd106301d2a0b49b77be18f1b84b97d Author: lleyton Date: Sun Dec 4 15:51:22 2022 -0800 gpg.signingkey -> user.signingkey commit 62ed4ed1fc697cedffff277b8e0edd33cef6dcf7 Author: windowsboy111 Date: Tue Dec 6 05:43:23 2022 +0000 More update.rhai commit 05257ca885b356103aede02300eab9073bcb74fa Author: windowsboy111 Date: Mon Dec 5 19:34:51 2022 +0800 Modify anda.hcl commit 741d90a9dfeaf6dafddd072929207302254a74a7 Author: windowsboy111 Date: Mon Dec 5 19:32:21 2022 +0800 Migrate all py to rhai woo hoooo commit 04a6d0f7f9b590b10f9c00001f48154db592bbd7 Merge: fdfa284 ba3b309 Author: windowsboy111 Date: Mon Dec 5 01:40:48 2022 +0000 Merge branch 'main' into b/chkupdate commit fdfa28471e58638eca4c024d3685bd1b8a6ce731 Author: windowsboy111 Date: Tue Nov 29 21:22:07 2022 +0800 Fix commit b337711b534117131638bb9e44affeac40aecb86 Author: windowsboy111 Date: Tue Nov 29 21:17:56 2022 +0800 Tidy up hcl files commit cc8acf45dd0d963e9e861836391c7ccc3ddc9e73 Author: windowsboy111 Date: Tue Nov 29 21:01:55 2022 +0800 Add for all packages: update.rhai commit 52780933a910441b833ca6a3fcdf4354f9c0d62f Merge: fb43ccd 3e83913 Author: windowsboy111 Date: Mon Nov 28 00:22:29 2022 +0800 Merge branch 'main' into b/chkupdate commit fb43ccdff110016192a929f3d7ea856b2451cdb2 Author: windowsboy111 Date: Mon Nov 28 00:16:44 2022 +0800 Migrate to anda update commit 40e5fb10d18557d141b96c09a975df2c45916169 Author: windowsboy111 Date: Sun Nov 20 13:10:43 2022 +0800 Create chkupdate.py commit 1adfa04d1066a5c210ae5021ce9e6fa7ffa0650b Author: windowsboy111 Date: Sun Nov 20 13:09:39 2022 +0800 Create chkupdate.py commit ae6349798ad5e553e2a0cb6d6f6d890170cbd1b5 Author: windowsboy111 Date: Sun Nov 20 13:05:03 2022 +0800 Create chkupdate.py commit b5969c67235f52b60f70a11ffef22596332c3e2d Author: windowsboy111 Date: Sun Nov 20 13:01:50 2022 +0800 Create chkupdate.py commit 762e14caa5b3c7bf347234f56385ce5757b74183 Author: windowsboy111 Date: Sun Nov 20 12:59:56 2022 +0800 Create chkupdate.py commit ae15efabdf0db39d7e3a131fcdc8526f4ab6db99 Author: windowsboy111 Date: Sun Nov 20 12:57:44 2022 +0800 Create chkupdate.py commit 5152ba315d49cdee78ceb1311f87ac4a508c5881 Author: windowsboy111 Date: Sun Nov 20 12:57:05 2022 +0800 Create chkupdate.py commit 680610ab8d489329c7d7a11a7c8d751f9c8054cf Author: windowsboy111 Date: Sun Nov 20 12:55:52 2022 +0800 Create chkupdate.py commit d0ac2c85f3d8eab99bfe6a7acaf1ecfca9490f2c Author: windowsboy111 Date: Sun Nov 20 12:55:09 2022 +0800 Create chkupdate.py commit 8e75df828832c0c8355aa3b60cf10b90693f9e3e Author: windowsboy111 Date: Sun Nov 20 12:53:53 2022 +0800 Create chkupdate.py commit 65bb02ebfe61a38f037daace6a75152e872d0f3d Author: windowsboy111 Date: Sun Nov 20 12:52:39 2022 +0800 Create chkupdate.py commit ef80995181a09896bf92d122a6c147bddcf45ce8 Author: windowsboy111 Date: Sun Nov 20 12:51:36 2022 +0800 Create chkupdate.py commit 8d108892ecdeca821ee0f2ef845a97fd138fc95b Author: windowsboy111 Date: Sun Nov 20 12:50:55 2022 +0800 Create chkupdate.py commit 2443e0a4330ea10e27d73bfc77e291c6db3c351b Author: windowsboy111 Date: Sun Nov 20 12:50:08 2022 +0800 Create chkupdate.py commit af9678860dd72ee48a0015ee9e667d0656c6bb9c Author: windowsboy111 Date: Sun Nov 20 12:49:33 2022 +0800 Create chkupdate.py commit cee01aed137d93e23d4f3f4ee12790a7a7193a7f Author: windowsboy111 Date: Sun Nov 20 12:48:31 2022 +0800 Create chkupdate.py commit 501323fa3ac92c70a44c134075f9d098fab16484 Author: windowsboy111 Date: Sun Nov 20 12:47:20 2022 +0800 Create chkupdate.py commit 5d638ddc345ee95c0cd67b867ff357114e557da5 Author: windowsboy111 Date: Sun Nov 20 12:46:25 2022 +0800 Create chkupdate.py commit 125b184004390e4fc866b345537bb33414b0df94 Author: windowsboy111 Date: Sun Nov 20 12:45:37 2022 +0800 Create chkupdate.py commit 4a21ff65790f7b8b43daca781ae1af58430e7e65 Author: windowsboy111 Date: Sun Nov 20 12:44:52 2022 +0800 Create chkupdate.py commit 7e208dae45e6e31a9f962ceba25cd627de1b0436 Author: windowsboy111 Date: Sun Nov 20 12:42:15 2022 +0800 Create chkupdate.py --- .github/workflows/update.yml | 8 +- anda/adwaita++-icons/anda.hcl | 4 +- anda/adwaita++-icons/update.rhai | 1 + anda/apps/authy/anda.hcl | 2 +- anda/apps/authy/chkupdate.py | 38 - anda/apps/authy/update.rhai | 5 + anda/apps/openasar-canary/anda.hcl | 3 +- .../apps/openasar-canary/openasar-canary.spec | 2 +- anda/apps/openasar-canary/update.rhai | 11 + anda/audio/distrho/anda.hcl | 2 +- anda/dart/anda.hcl | 3 +- anda/desktops/budgie/budgie-extras/anda.hcl | 4 +- .../desktops/budgie/budgie-extras/update.rhai | 1 + anda/desktops/elementary/contractor/anda.hcl | 2 +- .../elementary/contractor/chkupdate.py | 19 - .../elementary/contractor/update.rhai | 1 + .../elementary/elementary-calculator/anda.hcl | 2 +- .../elementary-calculator/chkupdate.py | 19 - .../elementary-calculator/update.rhai | 1 + .../elementary/elementary-calendar/anda.hcl | 2 +- .../elementary-calendar/chkupdate.py | 19 - .../elementary-calendar/update.rhai | 1 + .../elementary/elementary-camera/anda.hcl | 2 +- .../elementary/elementary-camera/chkupdate.py | 19 - .../elementary/elementary-camera/update.rhai | 1 + .../elementary-capnet-assist/anda.hcl | 2 +- .../elementary-capnet-assist/chkupdate.py | 19 - .../elementary-capnet-assist/update.rhai | 1 + .../elementary/elementary-code/anda.hcl | 2 +- .../elementary/elementary-code/chkupdate.py | 19 - .../elementary/elementary-code/update.rhai | 1 + .../elementary/elementary-files/anda.hcl | 2 +- .../elementary/elementary-files/chkupdate.py | 19 - .../elementary/elementary-files/update.rhai | 1 + .../elementary/elementary-greeter/anda.hcl | 2 +- .../elementary-greeter/chkupdate.py | 19 - .../elementary/elementary-greeter/update.rhai | 1 + .../elementary/elementary-icon-theme/anda.hcl | 2 +- .../elementary-icon-theme/chkupdate.py | 19 - .../elementary-icon-theme/update.rhai | 1 + .../elementary/elementary-music/anda.hcl | 2 +- .../elementary/elementary-music/chkupdate.py | 19 - .../elementary/elementary-music/update.rhai | 1 + .../elementary-notifications/anda.hcl | 2 +- .../elementary-notifications/chkupdate.py | 19 - .../elementary-notifications/update.rhai | 1 + .../elementary/elementary-onboarding/anda.hcl | 2 +- .../elementary-onboarding/chkupdate.py | 19 - .../elementary-onboarding/update.rhai | 1 + .../elementary/elementary-photos/anda.hcl | 2 +- .../elementary/elementary-photos/chkupdate.py | 19 - .../elementary/elementary-photos/update.rhai | 1 + .../elementary/elementary-print/anda.hcl | 2 +- .../elementary/elementary-print/chkupdate.py | 19 - .../elementary/elementary-print/update.rhai | 1 + .../elementary-screenshot-tool/anda.hcl | 2 +- .../elementary-screenshot-tool/chkupdate.py | 19 - .../elementary-screenshot-tool/update.rhai | 1 + .../elementary-settings-daemon/anda.hcl | 2 +- .../elementary-settings-daemon/chkupdate.py | 19 - .../elementary-settings-daemon/update.rhai | 1 + .../elementary-shortcut-overlay/anda.hcl | 2 +- .../elementary-shortcut-overlay/chkupdate.py | 19 - .../elementary-shortcut-overlay/update.rhai | 1 + .../elementary/elementary-sideload/anda.hcl | 2 +- .../elementary-sideload/chkupdate.py | 19 - .../elementary-sideload/update.rhai | 1 + .../elementary-sound-theme/anda.hcl | 2 +- .../elementary-sound-theme/chkupdate.py | 19 - .../elementary-sound-theme/update.rhai | 1 + .../elementary/elementary-terminal/anda.hcl | 2 +- .../elementary-terminal/chkupdate.py | 19 - .../elementary-terminal/update.rhai | 1 + .../elementary/elementary-theme/anda.hcl | 2 +- .../elementary/elementary-theme/chkupdate.py | 19 - .../elementary/elementary-theme/update.rhai | 1 + .../elementary/elementary-videos/anda.hcl | 2 +- .../elementary/elementary-videos/chkupdate.py | 19 - .../elementary/elementary-videos/update.rhai | 1 + .../elementary/elementary-wallpapers/anda.hcl | 2 +- .../elementary-wallpapers/chkupdate.py | 19 - .../elementary-wallpapers/update.rhai | 1 + anda/desktops/elementary/gala/anda.hcl | 2 +- anda/desktops/elementary/gala/chkupdate.py | 19 - anda/desktops/elementary/gala/update.rhai | 1 + anda/desktops/elementary/granite-7/anda.hcl | 2 +- .../elementary/granite-7/chkupdate.py | 19 - .../desktops/elementary/granite-7/update.rhai | 1 + .../pantheon-agent-geoclue2/anda.hcl | 2 +- .../pantheon-agent-geoclue2/chkupdate.py | 19 - .../pantheon-agent-geoclue2/update.rhai | 1 + .../elementary/pantheon-agent-polkit/anda.hcl | 2 +- .../pantheon-agent-polkit/chkupdate.py | 19 - .../pantheon-agent-polkit/update.rhai | 1 + .../pantheon-session-settings/anda.hcl | 1 - .../elementary/switchboard-plug-a11y/anda.hcl | 2 +- .../switchboard-plug-a11y/chkupdate.py | 19 - .../switchboard-plug-a11y/update.rhai | 1 + .../switchboard-plug-about/anda.hcl | 2 +- .../switchboard-plug-about/chkupdate.py | 19 - .../switchboard-plug-about/update.rhai | 1 + .../switchboard-plug-applications/anda.hcl | 2 +- .../chkupdate.py | 19 - .../switchboard-plug-applications/update.rhai | 1 + .../switchboard-plug-bluetooth/anda.hcl | 2 +- .../switchboard-plug-bluetooth/chkupdate.py | 19 - .../switchboard-plug-bluetooth/update.rhai | 1 + .../switchboard-plug-display/anda.hcl | 2 +- .../switchboard-plug-display/chkupdate.py | 19 - .../switchboard-plug-display/update.rhai | 1 + .../switchboard-plug-keyboard/anda.hcl | 2 +- .../switchboard-plug-keyboard/chkupdate.py | 19 - .../switchboard-plug-keyboard/update.rhai | 1 + .../switchboard-plug-mouse-touchpad/anda.hcl | 2 +- .../chkupdate.py | 19 - .../update.rhai | 1 + .../switchboard-plug-networking/anda.hcl | 2 +- .../switchboard-plug-networking/chkupdate.py | 19 - .../switchboard-plug-networking/update.rhai | 1 + .../switchboard-plug-notifications/anda.hcl | 2 +- .../chkupdate.py | 19 - .../update.rhai | 1 + .../switchboard-plug-onlineaccounts/anda.hcl | 2 +- .../chkupdate.py | 19 - .../update.rhai | 1 + .../switchboard-plug-pantheon-shell/anda.hcl | 2 +- .../chkupdate.py | 19 - .../update.rhai | 1 + .../switchboard-plug-printers/anda.hcl | 2 +- .../switchboard-plug-printers/chkupdate.py | 19 - .../switchboard-plug-printers/update.rhai | 1 + .../switchboard-plug-sharing/anda.hcl | 2 +- .../switchboard-plug-sharing/chkupdate.py | 19 - .../switchboard-plug-sharing/update.rhai | 1 + .../switchboard-plug-sound/anda.hcl | 2 +- .../switchboard-plug-sound/chkupdate.py | 19 - .../switchboard-plug-sound/update.rhai | 1 + .../switchboard-plug-tweaks/anda.hcl | 2 +- .../switchboard-plug-tweaks/chkupdate.py | 19 - .../switchboard-plug-tweaks/update.rhai | 1 + anda/desktops/elementary/switchboard/anda.hcl | 2 +- .../elementary/switchboard/chkupdate.py | 19 - .../elementary/switchboard/update.rhai | 1 + .../wingpanel-applications-menu/anda.hcl | 2 +- .../wingpanel-applications-menu/chkupdate.py | 19 - .../wingpanel-applications-menu/update.rhai | 1 + .../wingpanel-indicator-bluetooth/anda.hcl | 2 +- .../chkupdate.py | 19 - .../wingpanel-indicator-bluetooth/update.rhai | 1 + .../wingpanel-indicator-datetime/anda.hcl | 2 +- .../wingpanel-indicator-datetime/chkupdate.py | 19 - .../wingpanel-indicator-datetime/update.rhai | 1 + .../wingpanel-indicator-keyboard/anda.hcl | 2 +- .../wingpanel-indicator-keyboard/chkupdate.py | 19 - .../wingpanel-indicator-keyboard/update.rhai | 1 + .../wingpanel-indicator-network/anda.hcl | 2 +- .../wingpanel-indicator-network/chkupdate.py | 19 - .../wingpanel-indicator-network/update.rhai | 1 + .../wingpanel-indicator-nightlight/anda.hcl | 2 +- .../chkupdate.py | 19 - .../update.rhai | 1 + .../anda.hcl | 2 +- .../chkupdate.py | 19 - .../update.rhai | 1 + .../wingpanel-indicator-power/anda.hcl | 2 +- .../wingpanel-indicator-power/chkupdate.py | 19 - .../wingpanel-indicator-power/update.rhai | 1 + .../wingpanel-indicator-session/anda.hcl | 2 +- .../wingpanel-indicator-session/chkupdate.py | 19 - .../wingpanel-indicator-session/update.rhai | 1 + .../wingpanel-indicator-sound/anda.hcl | 2 +- .../wingpanel-indicator-sound/chkupdate.py | 19 - .../wingpanel-indicator-sound/update.rhai | 1 + anda/desktops/elementary/wingpanel/anda.hcl | 2 +- .../elementary/wingpanel/chkupdate.py | 19 - .../desktops/elementary/wingpanel/update.rhai | 1 + anda/discord-canary/anda.hcl | 2 +- anda/discord-canary/chkupdate.py | 38 - anda/discord-canary/update.rhai | 3 + anda/discord-ptb/anda.hcl | 2 +- anda/discord-ptb/chkupdate.py | 38 - anda/discord-ptb/discord-ptb.spec | 2 +- anda/discord-ptb/update.rhai | 3 + anda/dnf-plugins-core/anda.hcl | 2 +- anda/fonts/arphic-ukai/anda.hcl | 1 - anda/fonts/arphic-uming/anda.hcl | 1 - anda/fonts/hannom/anda.hcl | 1 - anda/fonts/kanjistrokeorders/anda.hcl | 1 - anda/fonts/mini-wakuwaku/anda.hcl | 1 - anda/fonts/naikai/anda.hcl | 1 + anda/fonts/naikai/chkupdate.py | 19 - anda/fonts/naikai/update.rhai | 1 + anda/fonts/seto/anda.hcl | 1 - anda/games/minecraft-java/anda.hcl | 3 +- anda/games/prismlauncher-nightly/anda.hcl | 2 +- anda/games/prismlauncher-nightly/chkupdate.py | 26 - .../prismlauncher-nightly.spec | 2 +- anda/games/prismlauncher-nightly/update.rhai | 11 + anda/games/prismlauncher-qt5-nightly/anda.hcl | 2 +- .../prismlauncher-qt5-nightly/chkupdate.py | 26 - .../prismlauncher-qt5-nightly.spec | 2 +- .../prismlauncher-qt5-nightly/update.rhai | 11 + anda/games/prismlauncher-qt5/anda.hcl | 2 +- anda/games/prismlauncher-qt5/chkupdate.py | 19 - anda/games/prismlauncher-qt5/update.rhai | 1 + anda/games/prismlauncher/anda.hcl | 4 +- anda/games/prismlauncher/chkupdate.py | 19 - anda/games/prismlauncher/update.rhai | 1 + anda/go/curlie/anda.hcl | 2 +- anda/go/curlie/update.rhai | 1 + anda/lib/libappimage/anda.hcl | 2 +- anda/lib/libappimage/update.rhai.bak | 2 + anda/lib/libbismuth/anda.hcl | 3 +- anda/lib/libbismuth/chkupdate.py | 19 - anda/lib/libbismuth/update.rhai | 1 + anda/lib/libhelium/anda.hcl | 3 +- anda/lib/libhelium/chkupdate.py | 19 - anda/lib/libhelium/libhelium.spec | 2 +- anda/lib/libhelium/update.rhai | 1 + anda/lib/marble-gtk/anda.hcl | 6 - anda/lib/marble-gtk/marble-gtk.spec | 46 - anda/lib/poppler/anda.hcl.bak | 6 - anda/lib/poppler/poppler.spec | 1222 ----------------- anda/moby-extras/moby-buildx/anda.hcl | 4 +- anda/moby-extras/moby-buildx/update.rhai | 1 + anda/moby-extras/moby-compose/anda.hcl | 4 +- anda/moby-extras/moby-compose/update.rhai | 1 + anda/mock-configs/anda.hcl | 3 +- anda/others/blackbox-terminal/anda.hcl | 2 +- anda/others/blackbox-terminal/chkupdate.py | 21 - anda/others/blackbox-terminal/update.rhai | 4 + anda/others/sass/anda.hcl | 4 +- anda/others/sass/chkupdate.py | 19 - anda/others/sass/update.rhai | 1 + anda/others/tau-helium/anda.hcl | 3 +- anda/others/tau-helium/chkupdate.py | 19 - anda/others/tau-helium/update.rhai | 1 + anda/others/tau-hydrogen/anda.hcl | 3 +- anda/others/tau-hydrogen/chkupdate.py | 19 - anda/others/tau-hydrogen/update.rhai | 1 + anda/others/tectonic/anda.hcl | 2 +- anda/others/tectonic/chkupdate.py | 19 - anda/others/tectonic/update.rhai | 3 + anda/rust/bat-extras/anda.hcl | 3 +- anda/rust/bat-extras/update.rhai | 1 + anda/rust/pop-launcher/anda.hcl | 3 +- anda/rust/pop-launcher/update.rhai | 1 + anda/rust/rnote/anda.hcl | 2 +- anda/rust/rnote/chkupdate.py | 20 - anda/rust/rnote/rnote.spec | 2 +- anda/rust/rnote/update.rhai | 1 + anda/rust/sccache/anda.hcl | 1 - anda/rust/sccache/rust-sccache.spec | 2 +- anda/rust/sccache/update.rhai | 1 + anda/rust/starship/anda.hcl | 4 +- anda/rust/starship/chkupdate.py | 20 - anda/rust/starship/update.rhai | 1 + anda/rust/youki/anda.hcl | 2 +- anda/rust/youki/update.rhai | 1 + anda/rust/zellij/anda.hcl | 1 - anda/srpm-macros/anda.hcl | 3 +- anda/tools/appimagelauncher/anda.hcl | 3 +- anda/tools/appimagelauncher/update.rhai | 1 + anda/tools/electron/anda.hcl | 2 +- anda/tools/gcm-core/anda.hcl | 3 +- anda/tools/gcm-core/update.rhai | 1 + anda/tools/lorax/anda.hcl | 1 + anda/tools/melody/anda.hcl | 2 +- anda/tools/muon/anda.hcl | 2 +- requirements.txt | 1 - update.sh | 22 - 271 files changed, 246 insertions(+), 2851 deletions(-) create mode 100644 anda/adwaita++-icons/update.rhai delete mode 100644 anda/apps/authy/chkupdate.py create mode 100644 anda/apps/authy/update.rhai create mode 100644 anda/apps/openasar-canary/update.rhai create mode 100644 anda/desktops/budgie/budgie-extras/update.rhai delete mode 100644 anda/desktops/elementary/contractor/chkupdate.py create mode 100644 anda/desktops/elementary/contractor/update.rhai delete mode 100644 anda/desktops/elementary/elementary-calculator/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-calculator/update.rhai delete mode 100644 anda/desktops/elementary/elementary-calendar/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-calendar/update.rhai delete mode 100644 anda/desktops/elementary/elementary-camera/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-camera/update.rhai delete mode 100644 anda/desktops/elementary/elementary-capnet-assist/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-capnet-assist/update.rhai delete mode 100644 anda/desktops/elementary/elementary-code/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-code/update.rhai delete mode 100644 anda/desktops/elementary/elementary-files/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-files/update.rhai delete mode 100644 anda/desktops/elementary/elementary-greeter/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-greeter/update.rhai delete mode 100644 anda/desktops/elementary/elementary-icon-theme/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-icon-theme/update.rhai delete mode 100644 anda/desktops/elementary/elementary-music/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-music/update.rhai delete mode 100644 anda/desktops/elementary/elementary-notifications/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-notifications/update.rhai delete mode 100644 anda/desktops/elementary/elementary-onboarding/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-onboarding/update.rhai delete mode 100644 anda/desktops/elementary/elementary-photos/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-photos/update.rhai delete mode 100644 anda/desktops/elementary/elementary-print/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-print/update.rhai delete mode 100644 anda/desktops/elementary/elementary-screenshot-tool/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-screenshot-tool/update.rhai delete mode 100644 anda/desktops/elementary/elementary-settings-daemon/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-settings-daemon/update.rhai delete mode 100644 anda/desktops/elementary/elementary-shortcut-overlay/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-shortcut-overlay/update.rhai delete mode 100644 anda/desktops/elementary/elementary-sideload/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-sideload/update.rhai delete mode 100644 anda/desktops/elementary/elementary-sound-theme/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-sound-theme/update.rhai delete mode 100644 anda/desktops/elementary/elementary-terminal/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-terminal/update.rhai delete mode 100644 anda/desktops/elementary/elementary-theme/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-theme/update.rhai delete mode 100644 anda/desktops/elementary/elementary-videos/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-videos/update.rhai delete mode 100644 anda/desktops/elementary/elementary-wallpapers/chkupdate.py create mode 100644 anda/desktops/elementary/elementary-wallpapers/update.rhai delete mode 100644 anda/desktops/elementary/gala/chkupdate.py create mode 100644 anda/desktops/elementary/gala/update.rhai delete mode 100644 anda/desktops/elementary/granite-7/chkupdate.py create mode 100644 anda/desktops/elementary/granite-7/update.rhai delete mode 100644 anda/desktops/elementary/pantheon-agent-geoclue2/chkupdate.py create mode 100644 anda/desktops/elementary/pantheon-agent-geoclue2/update.rhai delete mode 100644 anda/desktops/elementary/pantheon-agent-polkit/chkupdate.py create mode 100644 anda/desktops/elementary/pantheon-agent-polkit/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-a11y/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-a11y/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-about/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-about/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-applications/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-applications/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-bluetooth/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-bluetooth/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-display/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-display/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-keyboard/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-keyboard/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-mouse-touchpad/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-mouse-touchpad/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-networking/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-networking/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-notifications/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-notifications/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-onlineaccounts/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-onlineaccounts/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-pantheon-shell/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-pantheon-shell/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-printers/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-printers/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-sharing/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-sharing/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-sound/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-sound/update.rhai delete mode 100644 anda/desktops/elementary/switchboard-plug-tweaks/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard-plug-tweaks/update.rhai delete mode 100644 anda/desktops/elementary/switchboard/chkupdate.py create mode 100644 anda/desktops/elementary/switchboard/update.rhai delete mode 100644 anda/desktops/elementary/wingpanel-applications-menu/chkupdate.py create mode 100644 anda/desktops/elementary/wingpanel-applications-menu/update.rhai delete mode 100644 anda/desktops/elementary/wingpanel-indicator-bluetooth/chkupdate.py create mode 100644 anda/desktops/elementary/wingpanel-indicator-bluetooth/update.rhai delete mode 100644 anda/desktops/elementary/wingpanel-indicator-datetime/chkupdate.py create mode 100644 anda/desktops/elementary/wingpanel-indicator-datetime/update.rhai delete mode 100644 anda/desktops/elementary/wingpanel-indicator-keyboard/chkupdate.py create mode 100644 anda/desktops/elementary/wingpanel-indicator-keyboard/update.rhai delete mode 100644 anda/desktops/elementary/wingpanel-indicator-network/chkupdate.py create mode 100644 anda/desktops/elementary/wingpanel-indicator-network/update.rhai delete mode 100644 anda/desktops/elementary/wingpanel-indicator-nightlight/chkupdate.py create mode 100644 anda/desktops/elementary/wingpanel-indicator-nightlight/update.rhai delete mode 100644 anda/desktops/elementary/wingpanel-indicator-notifications/chkupdate.py create mode 100644 anda/desktops/elementary/wingpanel-indicator-notifications/update.rhai delete mode 100644 anda/desktops/elementary/wingpanel-indicator-power/chkupdate.py create mode 100644 anda/desktops/elementary/wingpanel-indicator-power/update.rhai delete mode 100644 anda/desktops/elementary/wingpanel-indicator-session/chkupdate.py create mode 100644 anda/desktops/elementary/wingpanel-indicator-session/update.rhai delete mode 100644 anda/desktops/elementary/wingpanel-indicator-sound/chkupdate.py create mode 100644 anda/desktops/elementary/wingpanel-indicator-sound/update.rhai delete mode 100644 anda/desktops/elementary/wingpanel/chkupdate.py create mode 100644 anda/desktops/elementary/wingpanel/update.rhai delete mode 100644 anda/discord-canary/chkupdate.py create mode 100644 anda/discord-canary/update.rhai delete mode 100644 anda/discord-ptb/chkupdate.py create mode 100644 anda/discord-ptb/update.rhai delete mode 100644 anda/fonts/naikai/chkupdate.py create mode 100644 anda/fonts/naikai/update.rhai delete mode 100644 anda/games/prismlauncher-nightly/chkupdate.py create mode 100644 anda/games/prismlauncher-nightly/update.rhai delete mode 100644 anda/games/prismlauncher-qt5-nightly/chkupdate.py create mode 100644 anda/games/prismlauncher-qt5-nightly/update.rhai delete mode 100644 anda/games/prismlauncher-qt5/chkupdate.py create mode 100644 anda/games/prismlauncher-qt5/update.rhai delete mode 100644 anda/games/prismlauncher/chkupdate.py create mode 100644 anda/games/prismlauncher/update.rhai create mode 100644 anda/go/curlie/update.rhai create mode 100644 anda/lib/libappimage/update.rhai.bak delete mode 100644 anda/lib/libbismuth/chkupdate.py create mode 100644 anda/lib/libbismuth/update.rhai delete mode 100644 anda/lib/libhelium/chkupdate.py create mode 100644 anda/lib/libhelium/update.rhai delete mode 100644 anda/lib/marble-gtk/anda.hcl delete mode 100644 anda/lib/marble-gtk/marble-gtk.spec delete mode 100644 anda/lib/poppler/anda.hcl.bak delete mode 100644 anda/lib/poppler/poppler.spec create mode 100644 anda/moby-extras/moby-buildx/update.rhai create mode 100644 anda/moby-extras/moby-compose/update.rhai delete mode 100644 anda/others/blackbox-terminal/chkupdate.py create mode 100644 anda/others/blackbox-terminal/update.rhai delete mode 100644 anda/others/sass/chkupdate.py create mode 100644 anda/others/sass/update.rhai delete mode 100644 anda/others/tau-helium/chkupdate.py create mode 100644 anda/others/tau-helium/update.rhai delete mode 100644 anda/others/tau-hydrogen/chkupdate.py create mode 100644 anda/others/tau-hydrogen/update.rhai delete mode 100644 anda/others/tectonic/chkupdate.py create mode 100644 anda/others/tectonic/update.rhai create mode 100644 anda/rust/bat-extras/update.rhai create mode 100644 anda/rust/pop-launcher/update.rhai delete mode 100644 anda/rust/rnote/chkupdate.py create mode 100644 anda/rust/rnote/update.rhai create mode 100644 anda/rust/sccache/update.rhai delete mode 100644 anda/rust/starship/chkupdate.py create mode 100644 anda/rust/starship/update.rhai create mode 100644 anda/rust/youki/update.rhai create mode 100644 anda/tools/appimagelauncher/update.rhai create mode 100644 anda/tools/gcm-core/update.rhai delete mode 100644 requirements.txt delete mode 100755 update.sh diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index e096a8fd1a..e776078a0f 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -15,7 +15,7 @@ jobs: options: --cap-add=SYS_ADMIN --privileged steps: - name: Install packages - run: dnf install -y rpmdevtools git python + run: dnf install -y rpmdevtools git python anda - name: Checkout uses: actions/checkout@v3 @@ -28,9 +28,9 @@ jobs: mkdir -p ${{ runner.temp }} echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key chmod 0700 ${{ runner.temp }}/signing_key - - - name: Run Update - run: bash ./update.sh + + - name: Run Update (anda) + run: anda update env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/anda/adwaita++-icons/anda.hcl b/anda/adwaita++-icons/anda.hcl index 0b77b987ab..546eb6b5d8 100644 --- a/anda/adwaita++-icons/anda.hcl +++ b/anda/adwaita++-icons/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "adwaita++-icons.spec" - sources = "." + update = "" } -} \ No newline at end of file +} diff --git a/anda/adwaita++-icons/update.rhai b/anda/adwaita++-icons/update.rhai new file mode 100644 index 0000000000..e5d5c4d418 --- /dev/null +++ b/anda/adwaita++-icons/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("Bonandry/adwaita-plus")); diff --git a/anda/apps/authy/anda.hcl b/anda/apps/authy/anda.hcl index 1c865b0473..e83ab02ada 100644 --- a/anda/apps/authy/anda.hcl +++ b/anda/apps/authy/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "authy.spec" - sources = "." + update = "" } } diff --git a/anda/apps/authy/chkupdate.py b/anda/apps/authy/chkupdate.py deleted file mode 100644 index 7dd012e65e..0000000000 --- a/anda/apps/authy/chkupdate.py +++ /dev/null @@ -1,38 +0,0 @@ -import os -import re -from requests import get -import json - -NAME = "authy" -SPEC = f"{NAME}.spec" -REGEX_VER = r'Version:(\s*)([\.\d]+)\n' -REGEX_SRC = r'Source0:(\s*)([^\n]+)\n' - -def run_cmds(*cmds: str): - for cmd in cmds: - print(f"{NAME}: $ {cmd}") - if rc := os.system(cmd): - exit(f"{NAME}: Stopping because {rc=}") - -raw = get('https://api.snapcraft.io/v2/snaps/info/authy', headers={'Snap-Device-Series': '16'}).text -data = json.loads(raw) -ver = data['channel-map'][0]['version'] -f = open(SPEC, 'r') -content = f.read() -found = re.findall(REGEX_VER, content) -try: - assert found - curver = found[0][1] - if ver == curver: - exit(f"{NAME}: Up to date!") - print(f"{NAME}: {curver} -> {ver}") -except IndexError or AssertionError: - exit(f"{NAME}: Failed to read spec!") - -link = data['channel-map'][0]['download']['url'] -newspec = re.sub(REGEX_VER, f'Version:{found[0][0]}{ver}\n', content) -newspec = re.sub(REGEX_SRC, f'Source0:{found[0][0]}{link}\n', newspec) -f.close() -f = open(SPEC, 'w') -f.write(newspec) -f.close() diff --git a/anda/apps/authy/update.rhai b/anda/apps/authy/update.rhai new file mode 100644 index 0000000000..8bd41d377b --- /dev/null +++ b/anda/apps/authy/update.rhai @@ -0,0 +1,5 @@ +let req = new_req("https://api.snapcraft.io/v2/snaps/info/authy"); +req.head("Snap-Device-Series", "16"); +let obj = json(req.get()) @ "channel-map" @ 0; +rpm.version(str(obj @ "version")); +rpm.source(0, str(obj @ "download" @ "url")); diff --git a/anda/apps/openasar-canary/anda.hcl b/anda/apps/openasar-canary/anda.hcl index 724cec7550..96fe647a6b 100644 --- a/anda/apps/openasar-canary/anda.hcl +++ b/anda/apps/openasar-canary/anda.hcl @@ -1,5 +1,6 @@ project "pkg" { rpm { spec = "openasar-canary.spec" + update = "" } -} \ No newline at end of file +} diff --git a/anda/apps/openasar-canary/openasar-canary.spec b/anda/apps/openasar-canary/openasar-canary.spec index 8b60d95c08..3ee8f884d7 100644 --- a/anda/apps/openasar-canary/openasar-canary.spec +++ b/anda/apps/openasar-canary/openasar-canary.spec @@ -1,4 +1,4 @@ -%define commit ad9b161744b27acc5e333ee70df11afca09301ef +%define commit bb6165c1ad640ea7c45ecff2efbc01b48eaf2445 Name: openasar-canary Version: nightly.%{autogitdate} diff --git a/anda/apps/openasar-canary/update.rhai b/anda/apps/openasar-canary/update.rhai new file mode 100644 index 0000000000..8efb397ee3 --- /dev/null +++ b/anda/apps/openasar-canary/update.rhai @@ -0,0 +1,11 @@ +let req = new_req("https://api.github.com/repos/GooseMod/OpenAsar/commits/HEAD"); +req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`); +let _sha = json(req.get()) @ "sha"; +let sha = _sha.str(); +let cur = find("%define commit (.+)", rpm.f, 1); +if sha != cur { + print(`openasar-canary: ${cur} -> ${sha}`); + rpm.f = sub("%define commit (.+)", `%define commit ${sha}`, rpm.f); +} else { + print("openasar-canary: Up to date!"); +} diff --git a/anda/audio/distrho/anda.hcl b/anda/audio/distrho/anda.hcl index b165fbe16c..58948eef5f 100644 --- a/anda/audio/distrho/anda.hcl +++ b/anda/audio/distrho/anda.hcl @@ -2,4 +2,4 @@ project "pkg" { rpm { spec = "distrho.spec" } -} \ No newline at end of file +} diff --git a/anda/dart/anda.hcl b/anda/dart/anda.hcl index 9487fceda2..0cc716f7fd 100644 --- a/anda/dart/anda.hcl +++ b/anda/dart/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "dart.spec" - sources = "." } -} \ No newline at end of file +} diff --git a/anda/desktops/budgie/budgie-extras/anda.hcl b/anda/desktops/budgie/budgie-extras/anda.hcl index 41f483f659..7a71ee08c7 100644 --- a/anda/desktops/budgie/budgie-extras/anda.hcl +++ b/anda/desktops/budgie/budgie-extras/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "budgie-extras.spec" - sources = "." + update = "" } -} \ No newline at end of file +} diff --git a/anda/desktops/budgie/budgie-extras/update.rhai b/anda/desktops/budgie/budgie-extras/update.rhai new file mode 100644 index 0000000000..14519efa4d --- /dev/null +++ b/anda/desktops/budgie/budgie-extras/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("UbuntuBudgie/budgie-extras")); diff --git a/anda/desktops/elementary/contractor/anda.hcl b/anda/desktops/elementary/contractor/anda.hcl index ea2308730f..51b8b971e2 100644 --- a/anda/desktops/elementary/contractor/anda.hcl +++ b/anda/desktops/elementary/contractor/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "contractor.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/contractor/chkupdate.py b/anda/desktops/elementary/contractor/chkupdate.py deleted file mode 100644 index e420b7bfbc..0000000000 --- a/anda/desktops/elementary/contractor/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'contractor' -REPO = "elementary/contractor" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/contractor/update.rhai b/anda/desktops/elementary/contractor/update.rhai new file mode 100644 index 0000000000..c6f9c4f207 --- /dev/null +++ b/anda/desktops/elementary/contractor/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/contractor")) diff --git a/anda/desktops/elementary/elementary-calculator/anda.hcl b/anda/desktops/elementary/elementary-calculator/anda.hcl index f48e06aca6..1cc0c3a180 100644 --- a/anda/desktops/elementary/elementary-calculator/anda.hcl +++ b/anda/desktops/elementary/elementary-calculator/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-calculator.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-calculator/chkupdate.py b/anda/desktops/elementary/elementary-calculator/chkupdate.py deleted file mode 100644 index 7de61b894a..0000000000 --- a/anda/desktops/elementary/elementary-calculator/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-calculator' -REPO = "elementary/calculator" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-calculator/update.rhai b/anda/desktops/elementary/elementary-calculator/update.rhai new file mode 100644 index 0000000000..c21541c7c4 --- /dev/null +++ b/anda/desktops/elementary/elementary-calculator/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/calculator")); diff --git a/anda/desktops/elementary/elementary-calendar/anda.hcl b/anda/desktops/elementary/elementary-calendar/anda.hcl index 18531cc27d..e36caf1729 100644 --- a/anda/desktops/elementary/elementary-calendar/anda.hcl +++ b/anda/desktops/elementary/elementary-calendar/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-calendar.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-calendar/chkupdate.py b/anda/desktops/elementary/elementary-calendar/chkupdate.py deleted file mode 100644 index f0f7f8af30..0000000000 --- a/anda/desktops/elementary/elementary-calendar/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-calendar' -REPO = "elementary/calendar" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-calendar/update.rhai b/anda/desktops/elementary/elementary-calendar/update.rhai new file mode 100644 index 0000000000..c98f3d6df3 --- /dev/null +++ b/anda/desktops/elementary/elementary-calendar/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/calendar")); diff --git a/anda/desktops/elementary/elementary-camera/anda.hcl b/anda/desktops/elementary/elementary-camera/anda.hcl index aa9a1b397f..5ea84e4a33 100644 --- a/anda/desktops/elementary/elementary-camera/anda.hcl +++ b/anda/desktops/elementary/elementary-camera/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-camera.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-camera/chkupdate.py b/anda/desktops/elementary/elementary-camera/chkupdate.py deleted file mode 100644 index 559fa791a0..0000000000 --- a/anda/desktops/elementary/elementary-camera/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-camera' -REPO = "elementary/camera" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-camera/update.rhai b/anda/desktops/elementary/elementary-camera/update.rhai new file mode 100644 index 0000000000..e22277ac45 --- /dev/null +++ b/anda/desktops/elementary/elementary-camera/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/camera")); diff --git a/anda/desktops/elementary/elementary-capnet-assist/anda.hcl b/anda/desktops/elementary/elementary-capnet-assist/anda.hcl index c926d191d9..11b8f84ae0 100644 --- a/anda/desktops/elementary/elementary-capnet-assist/anda.hcl +++ b/anda/desktops/elementary/elementary-capnet-assist/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-capnet-assist.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-capnet-assist/chkupdate.py b/anda/desktops/elementary/elementary-capnet-assist/chkupdate.py deleted file mode 100644 index bed03ca35d..0000000000 --- a/anda/desktops/elementary/elementary-capnet-assist/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-capnet-assist' -REPO = "elementary/capnet-assist" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-capnet-assist/update.rhai b/anda/desktops/elementary/elementary-capnet-assist/update.rhai new file mode 100644 index 0000000000..fc7813e120 --- /dev/null +++ b/anda/desktops/elementary/elementary-capnet-assist/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/capnet-assist")); diff --git a/anda/desktops/elementary/elementary-code/anda.hcl b/anda/desktops/elementary/elementary-code/anda.hcl index a511f76a27..f369c11ee3 100644 --- a/anda/desktops/elementary/elementary-code/anda.hcl +++ b/anda/desktops/elementary/elementary-code/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-code.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-code/chkupdate.py b/anda/desktops/elementary/elementary-code/chkupdate.py deleted file mode 100644 index 3094cf5c0b..0000000000 --- a/anda/desktops/elementary/elementary-code/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-code' -REPO = "elementary/code" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-code/update.rhai b/anda/desktops/elementary/elementary-code/update.rhai new file mode 100644 index 0000000000..16b6dbb622 --- /dev/null +++ b/anda/desktops/elementary/elementary-code/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/code")); diff --git a/anda/desktops/elementary/elementary-files/anda.hcl b/anda/desktops/elementary/elementary-files/anda.hcl index e4afd68ebe..c5545dda94 100644 --- a/anda/desktops/elementary/elementary-files/anda.hcl +++ b/anda/desktops/elementary/elementary-files/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-files.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-files/chkupdate.py b/anda/desktops/elementary/elementary-files/chkupdate.py deleted file mode 100644 index 73e841621b..0000000000 --- a/anda/desktops/elementary/elementary-files/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-files' -REPO = "elementary/files" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-files/update.rhai b/anda/desktops/elementary/elementary-files/update.rhai new file mode 100644 index 0000000000..74fd15b024 --- /dev/null +++ b/anda/desktops/elementary/elementary-files/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/files")); diff --git a/anda/desktops/elementary/elementary-greeter/anda.hcl b/anda/desktops/elementary/elementary-greeter/anda.hcl index 304129f727..3c8a2e1a71 100644 --- a/anda/desktops/elementary/elementary-greeter/anda.hcl +++ b/anda/desktops/elementary/elementary-greeter/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-greeter.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-greeter/chkupdate.py b/anda/desktops/elementary/elementary-greeter/chkupdate.py deleted file mode 100644 index 4ffcb12144..0000000000 --- a/anda/desktops/elementary/elementary-greeter/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-greeter' -REPO = "elementary/greeter" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-greeter/update.rhai b/anda/desktops/elementary/elementary-greeter/update.rhai new file mode 100644 index 0000000000..0841544418 --- /dev/null +++ b/anda/desktops/elementary/elementary-greeter/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/greeter")); diff --git a/anda/desktops/elementary/elementary-icon-theme/anda.hcl b/anda/desktops/elementary/elementary-icon-theme/anda.hcl index b08b76ecb5..3a7429f0e1 100644 --- a/anda/desktops/elementary/elementary-icon-theme/anda.hcl +++ b/anda/desktops/elementary/elementary-icon-theme/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-icon-theme.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-icon-theme/chkupdate.py b/anda/desktops/elementary/elementary-icon-theme/chkupdate.py deleted file mode 100644 index 0c8cbda227..0000000000 --- a/anda/desktops/elementary/elementary-icon-theme/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-icon-theme' -REPO = "elementary/icons" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-icon-theme/update.rhai b/anda/desktops/elementary/elementary-icon-theme/update.rhai new file mode 100644 index 0000000000..351aca4975 --- /dev/null +++ b/anda/desktops/elementary/elementary-icon-theme/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/icons")); diff --git a/anda/desktops/elementary/elementary-music/anda.hcl b/anda/desktops/elementary/elementary-music/anda.hcl index 49ecb5f306..f204b2f72f 100644 --- a/anda/desktops/elementary/elementary-music/anda.hcl +++ b/anda/desktops/elementary/elementary-music/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-music.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-music/chkupdate.py b/anda/desktops/elementary/elementary-music/chkupdate.py deleted file mode 100644 index df20d60383..0000000000 --- a/anda/desktops/elementary/elementary-music/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-music' -REPO = "elementary/music" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-music/update.rhai b/anda/desktops/elementary/elementary-music/update.rhai new file mode 100644 index 0000000000..b4eda6953b --- /dev/null +++ b/anda/desktops/elementary/elementary-music/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/music")); diff --git a/anda/desktops/elementary/elementary-notifications/anda.hcl b/anda/desktops/elementary/elementary-notifications/anda.hcl index 0eb922ae48..3e22a91a5e 100644 --- a/anda/desktops/elementary/elementary-notifications/anda.hcl +++ b/anda/desktops/elementary/elementary-notifications/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-notifications.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-notifications/chkupdate.py b/anda/desktops/elementary/elementary-notifications/chkupdate.py deleted file mode 100644 index 41e590adf3..0000000000 --- a/anda/desktops/elementary/elementary-notifications/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-notifications' -REPO = "elementary/notifications" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-notifications/update.rhai b/anda/desktops/elementary/elementary-notifications/update.rhai new file mode 100644 index 0000000000..80c247866a --- /dev/null +++ b/anda/desktops/elementary/elementary-notifications/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/notifications")); diff --git a/anda/desktops/elementary/elementary-onboarding/anda.hcl b/anda/desktops/elementary/elementary-onboarding/anda.hcl index 096c148212..d2f2838330 100644 --- a/anda/desktops/elementary/elementary-onboarding/anda.hcl +++ b/anda/desktops/elementary/elementary-onboarding/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-onboarding.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-onboarding/chkupdate.py b/anda/desktops/elementary/elementary-onboarding/chkupdate.py deleted file mode 100644 index d9bab43d07..0000000000 --- a/anda/desktops/elementary/elementary-onboarding/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-onboarding' -REPO = "elementary/onboarding" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-onboarding/update.rhai b/anda/desktops/elementary/elementary-onboarding/update.rhai new file mode 100644 index 0000000000..ee3d855d7a --- /dev/null +++ b/anda/desktops/elementary/elementary-onboarding/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/onboarding")); diff --git a/anda/desktops/elementary/elementary-photos/anda.hcl b/anda/desktops/elementary/elementary-photos/anda.hcl index b8e7b9df2d..5ac14a3790 100644 --- a/anda/desktops/elementary/elementary-photos/anda.hcl +++ b/anda/desktops/elementary/elementary-photos/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-photos.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-photos/chkupdate.py b/anda/desktops/elementary/elementary-photos/chkupdate.py deleted file mode 100644 index dbaab99a46..0000000000 --- a/anda/desktops/elementary/elementary-photos/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-photos' -REPO = "elementary/photos" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-photos/update.rhai b/anda/desktops/elementary/elementary-photos/update.rhai new file mode 100644 index 0000000000..3dcddb352f --- /dev/null +++ b/anda/desktops/elementary/elementary-photos/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/photos")); diff --git a/anda/desktops/elementary/elementary-print/anda.hcl b/anda/desktops/elementary/elementary-print/anda.hcl index 6fe6adf11b..0809558f7c 100644 --- a/anda/desktops/elementary/elementary-print/anda.hcl +++ b/anda/desktops/elementary/elementary-print/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-print.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-print/chkupdate.py b/anda/desktops/elementary/elementary-print/chkupdate.py deleted file mode 100644 index 929e1da796..0000000000 --- a/anda/desktops/elementary/elementary-print/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-print' -REPO = "elementary/print" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-print/update.rhai b/anda/desktops/elementary/elementary-print/update.rhai new file mode 100644 index 0000000000..e4353b046a --- /dev/null +++ b/anda/desktops/elementary/elementary-print/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/print")); diff --git a/anda/desktops/elementary/elementary-screenshot-tool/anda.hcl b/anda/desktops/elementary/elementary-screenshot-tool/anda.hcl index 2191356199..036d3eea8b 100644 --- a/anda/desktops/elementary/elementary-screenshot-tool/anda.hcl +++ b/anda/desktops/elementary/elementary-screenshot-tool/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-screenshot-tool.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-screenshot-tool/chkupdate.py b/anda/desktops/elementary/elementary-screenshot-tool/chkupdate.py deleted file mode 100644 index 15a0080987..0000000000 --- a/anda/desktops/elementary/elementary-screenshot-tool/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-screenshot-tool' -REPO = "elementary/screenshot" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-screenshot-tool/update.rhai b/anda/desktops/elementary/elementary-screenshot-tool/update.rhai new file mode 100644 index 0000000000..bb4dfed844 --- /dev/null +++ b/anda/desktops/elementary/elementary-screenshot-tool/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/screenshot")); diff --git a/anda/desktops/elementary/elementary-settings-daemon/anda.hcl b/anda/desktops/elementary/elementary-settings-daemon/anda.hcl index 13f6818018..7d54cbc49b 100644 --- a/anda/desktops/elementary/elementary-settings-daemon/anda.hcl +++ b/anda/desktops/elementary/elementary-settings-daemon/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-settings-daemon.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-settings-daemon/chkupdate.py b/anda/desktops/elementary/elementary-settings-daemon/chkupdate.py deleted file mode 100644 index 9d6bf168fd..0000000000 --- a/anda/desktops/elementary/elementary-settings-daemon/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-settings-daemon' -REPO = "elementary/settings-daemon" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-settings-daemon/update.rhai b/anda/desktops/elementary/elementary-settings-daemon/update.rhai new file mode 100644 index 0000000000..6c5e95053c --- /dev/null +++ b/anda/desktops/elementary/elementary-settings-daemon/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/settings-daemon")); diff --git a/anda/desktops/elementary/elementary-shortcut-overlay/anda.hcl b/anda/desktops/elementary/elementary-shortcut-overlay/anda.hcl index a9c9db573f..553a39db70 100644 --- a/anda/desktops/elementary/elementary-shortcut-overlay/anda.hcl +++ b/anda/desktops/elementary/elementary-shortcut-overlay/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-shortcut-overlay.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-shortcut-overlay/chkupdate.py b/anda/desktops/elementary/elementary-shortcut-overlay/chkupdate.py deleted file mode 100644 index 90c580e38d..0000000000 --- a/anda/desktops/elementary/elementary-shortcut-overlay/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-shortcut-overlay' -REPO = "elementary/shortcut-overlay" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-shortcut-overlay/update.rhai b/anda/desktops/elementary/elementary-shortcut-overlay/update.rhai new file mode 100644 index 0000000000..0433f25489 --- /dev/null +++ b/anda/desktops/elementary/elementary-shortcut-overlay/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/shortcut-overlay")); diff --git a/anda/desktops/elementary/elementary-sideload/anda.hcl b/anda/desktops/elementary/elementary-sideload/anda.hcl index 71364a6647..0f0aea66da 100644 --- a/anda/desktops/elementary/elementary-sideload/anda.hcl +++ b/anda/desktops/elementary/elementary-sideload/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-sideload.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-sideload/chkupdate.py b/anda/desktops/elementary/elementary-sideload/chkupdate.py deleted file mode 100644 index 0c5faa1d4d..0000000000 --- a/anda/desktops/elementary/elementary-sideload/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-sideload' -REPO = "elementary/sideload" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-sideload/update.rhai b/anda/desktops/elementary/elementary-sideload/update.rhai new file mode 100644 index 0000000000..7e89fc8911 --- /dev/null +++ b/anda/desktops/elementary/elementary-sideload/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/sideload")); diff --git a/anda/desktops/elementary/elementary-sound-theme/anda.hcl b/anda/desktops/elementary/elementary-sound-theme/anda.hcl index 02e0a7acb0..403731248e 100644 --- a/anda/desktops/elementary/elementary-sound-theme/anda.hcl +++ b/anda/desktops/elementary/elementary-sound-theme/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-sound-theme.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-sound-theme/chkupdate.py b/anda/desktops/elementary/elementary-sound-theme/chkupdate.py deleted file mode 100644 index dad03b026c..0000000000 --- a/anda/desktops/elementary/elementary-sound-theme/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-sound-theme' -REPO = "elementary/sound-theme" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-sound-theme/update.rhai b/anda/desktops/elementary/elementary-sound-theme/update.rhai new file mode 100644 index 0000000000..8ded3b99e7 --- /dev/null +++ b/anda/desktops/elementary/elementary-sound-theme/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/sound-theme")); diff --git a/anda/desktops/elementary/elementary-terminal/anda.hcl b/anda/desktops/elementary/elementary-terminal/anda.hcl index d1c8e55521..1e71977f0a 100644 --- a/anda/desktops/elementary/elementary-terminal/anda.hcl +++ b/anda/desktops/elementary/elementary-terminal/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-terminal.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-terminal/chkupdate.py b/anda/desktops/elementary/elementary-terminal/chkupdate.py deleted file mode 100644 index cfc1429c86..0000000000 --- a/anda/desktops/elementary/elementary-terminal/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-terminal' -REPO = "elementary/terminal" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-terminal/update.rhai b/anda/desktops/elementary/elementary-terminal/update.rhai new file mode 100644 index 0000000000..2ee834bc31 --- /dev/null +++ b/anda/desktops/elementary/elementary-terminal/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/terminal")); diff --git a/anda/desktops/elementary/elementary-theme/anda.hcl b/anda/desktops/elementary/elementary-theme/anda.hcl index 2a511202d2..0315f3e870 100644 --- a/anda/desktops/elementary/elementary-theme/anda.hcl +++ b/anda/desktops/elementary/elementary-theme/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-theme.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-theme/chkupdate.py b/anda/desktops/elementary/elementary-theme/chkupdate.py deleted file mode 100644 index d81f060e6a..0000000000 --- a/anda/desktops/elementary/elementary-theme/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-theme' -REPO = "elementary/stylesheet" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-theme/update.rhai b/anda/desktops/elementary/elementary-theme/update.rhai new file mode 100644 index 0000000000..8f6051a7d4 --- /dev/null +++ b/anda/desktops/elementary/elementary-theme/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/stylesheet")); diff --git a/anda/desktops/elementary/elementary-videos/anda.hcl b/anda/desktops/elementary/elementary-videos/anda.hcl index 3bbe0d234a..30000163b7 100644 --- a/anda/desktops/elementary/elementary-videos/anda.hcl +++ b/anda/desktops/elementary/elementary-videos/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-videos.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-videos/chkupdate.py b/anda/desktops/elementary/elementary-videos/chkupdate.py deleted file mode 100644 index ed85bdbc2f..0000000000 --- a/anda/desktops/elementary/elementary-videos/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-videos' -REPO = "elementary/videos" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-videos/update.rhai b/anda/desktops/elementary/elementary-videos/update.rhai new file mode 100644 index 0000000000..7669f93a5b --- /dev/null +++ b/anda/desktops/elementary/elementary-videos/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/videos")); diff --git a/anda/desktops/elementary/elementary-wallpapers/anda.hcl b/anda/desktops/elementary/elementary-wallpapers/anda.hcl index 35c0873262..fc025b2e4c 100644 --- a/anda/desktops/elementary/elementary-wallpapers/anda.hcl +++ b/anda/desktops/elementary/elementary-wallpapers/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "elementary-wallpapers.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/elementary-wallpapers/chkupdate.py b/anda/desktops/elementary/elementary-wallpapers/chkupdate.py deleted file mode 100644 index 2adeefd693..0000000000 --- a/anda/desktops/elementary/elementary-wallpapers/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'elementary-wallpapers' -REPO = "elementary/wallpapers" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/elementary-wallpapers/update.rhai b/anda/desktops/elementary/elementary-wallpapers/update.rhai new file mode 100644 index 0000000000..2666620789 --- /dev/null +++ b/anda/desktops/elementary/elementary-wallpapers/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/wallpapers")); diff --git a/anda/desktops/elementary/gala/anda.hcl b/anda/desktops/elementary/gala/anda.hcl index 7f6bef353c..6953c87689 100644 --- a/anda/desktops/elementary/gala/anda.hcl +++ b/anda/desktops/elementary/gala/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "gala.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/gala/chkupdate.py b/anda/desktops/elementary/gala/chkupdate.py deleted file mode 100644 index b43215fc75..0000000000 --- a/anda/desktops/elementary/gala/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'gala' -REPO = "elementary/gala" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/gala/update.rhai b/anda/desktops/elementary/gala/update.rhai new file mode 100644 index 0000000000..8dddc9ecf3 --- /dev/null +++ b/anda/desktops/elementary/gala/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/gala")); diff --git a/anda/desktops/elementary/granite-7/anda.hcl b/anda/desktops/elementary/granite-7/anda.hcl index 8c9f18fdd0..f63b905538 100644 --- a/anda/desktops/elementary/granite-7/anda.hcl +++ b/anda/desktops/elementary/granite-7/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "granite-7.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/granite-7/chkupdate.py b/anda/desktops/elementary/granite-7/chkupdate.py deleted file mode 100644 index 55014548fb..0000000000 --- a/anda/desktops/elementary/granite-7/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'granite-7' -REPO = "elementary/granite" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/granite-7/update.rhai b/anda/desktops/elementary/granite-7/update.rhai new file mode 100644 index 0000000000..eedfb4706d --- /dev/null +++ b/anda/desktops/elementary/granite-7/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/granite")); diff --git a/anda/desktops/elementary/pantheon-agent-geoclue2/anda.hcl b/anda/desktops/elementary/pantheon-agent-geoclue2/anda.hcl index 2e4d5f21bc..72c6ae04e1 100644 --- a/anda/desktops/elementary/pantheon-agent-geoclue2/anda.hcl +++ b/anda/desktops/elementary/pantheon-agent-geoclue2/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "pantheon-agent-geoclue2.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/pantheon-agent-geoclue2/chkupdate.py b/anda/desktops/elementary/pantheon-agent-geoclue2/chkupdate.py deleted file mode 100644 index 9db3dd9c3d..0000000000 --- a/anda/desktops/elementary/pantheon-agent-geoclue2/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'pantheon-agent-geoclue2' -REPO = "elementary/pantheon-agent-geoclue2" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/pantheon-agent-geoclue2/update.rhai b/anda/desktops/elementary/pantheon-agent-geoclue2/update.rhai new file mode 100644 index 0000000000..ca4ce53015 --- /dev/null +++ b/anda/desktops/elementary/pantheon-agent-geoclue2/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/pantheon-agent-geoclue2")); diff --git a/anda/desktops/elementary/pantheon-agent-polkit/anda.hcl b/anda/desktops/elementary/pantheon-agent-polkit/anda.hcl index 945771e5d6..a3110ba434 100644 --- a/anda/desktops/elementary/pantheon-agent-polkit/anda.hcl +++ b/anda/desktops/elementary/pantheon-agent-polkit/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "pantheon-agent-polkit.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/pantheon-agent-polkit/chkupdate.py b/anda/desktops/elementary/pantheon-agent-polkit/chkupdate.py deleted file mode 100644 index 9e1410b56a..0000000000 --- a/anda/desktops/elementary/pantheon-agent-polkit/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'pantheon-agent-polkit' -REPO = "elementary/pantheon-agent-polkit" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/pantheon-agent-polkit/update.rhai b/anda/desktops/elementary/pantheon-agent-polkit/update.rhai new file mode 100644 index 0000000000..c7f56b9cf0 --- /dev/null +++ b/anda/desktops/elementary/pantheon-agent-polkit/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/pantheon-agent-polkit")); diff --git a/anda/desktops/elementary/pantheon-session-settings/anda.hcl b/anda/desktops/elementary/pantheon-session-settings/anda.hcl index f15a3ee862..7bc02d9917 100644 --- a/anda/desktops/elementary/pantheon-session-settings/anda.hcl +++ b/anda/desktops/elementary/pantheon-session-settings/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "pantheon-session-settings.spec" - sources = "." } } diff --git a/anda/desktops/elementary/switchboard-plug-a11y/anda.hcl b/anda/desktops/elementary/switchboard-plug-a11y/anda.hcl index e361c1915a..eff3aa925a 100644 --- a/anda/desktops/elementary/switchboard-plug-a11y/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-a11y/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-a11y.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-a11y/chkupdate.py b/anda/desktops/elementary/switchboard-plug-a11y/chkupdate.py deleted file mode 100644 index cee5d484ab..0000000000 --- a/anda/desktops/elementary/switchboard-plug-a11y/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-a11y' -REPO = "elementary/switchboard-plug-a11y" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-a11y/update.rhai b/anda/desktops/elementary/switchboard-plug-a11y/update.rhai new file mode 100644 index 0000000000..42ba77c853 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-a11y/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-a11y")); diff --git a/anda/desktops/elementary/switchboard-plug-about/anda.hcl b/anda/desktops/elementary/switchboard-plug-about/anda.hcl index c38e0e38b6..a31dc31b02 100644 --- a/anda/desktops/elementary/switchboard-plug-about/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-about/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-about.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-about/chkupdate.py b/anda/desktops/elementary/switchboard-plug-about/chkupdate.py deleted file mode 100644 index 162dba982d..0000000000 --- a/anda/desktops/elementary/switchboard-plug-about/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-about' -REPO = "elementary/switchboard-plug-about" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-about/update.rhai b/anda/desktops/elementary/switchboard-plug-about/update.rhai new file mode 100644 index 0000000000..6d7160a74b --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-about/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-about")); diff --git a/anda/desktops/elementary/switchboard-plug-applications/anda.hcl b/anda/desktops/elementary/switchboard-plug-applications/anda.hcl index 07810264d0..81002a7590 100644 --- a/anda/desktops/elementary/switchboard-plug-applications/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-applications/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-applications.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-applications/chkupdate.py b/anda/desktops/elementary/switchboard-plug-applications/chkupdate.py deleted file mode 100644 index 69c4064178..0000000000 --- a/anda/desktops/elementary/switchboard-plug-applications/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-applications' -REPO = "elementary/switchboard-plug-applications" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-applications/update.rhai b/anda/desktops/elementary/switchboard-plug-applications/update.rhai new file mode 100644 index 0000000000..adf16f3eb6 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-applications/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-applications")); diff --git a/anda/desktops/elementary/switchboard-plug-bluetooth/anda.hcl b/anda/desktops/elementary/switchboard-plug-bluetooth/anda.hcl index f31efcf4e9..c81f66599a 100644 --- a/anda/desktops/elementary/switchboard-plug-bluetooth/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-bluetooth/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-bluetooth.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-bluetooth/chkupdate.py b/anda/desktops/elementary/switchboard-plug-bluetooth/chkupdate.py deleted file mode 100644 index 7d12043907..0000000000 --- a/anda/desktops/elementary/switchboard-plug-bluetooth/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-bluetooth' -REPO = "elementary/switchboard-plug-bluetooth" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-bluetooth/update.rhai b/anda/desktops/elementary/switchboard-plug-bluetooth/update.rhai new file mode 100644 index 0000000000..c587a84f39 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-bluetooth/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-bluetooth")); diff --git a/anda/desktops/elementary/switchboard-plug-display/anda.hcl b/anda/desktops/elementary/switchboard-plug-display/anda.hcl index 0d1a90960e..de563d35c9 100644 --- a/anda/desktops/elementary/switchboard-plug-display/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-display/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-display.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-display/chkupdate.py b/anda/desktops/elementary/switchboard-plug-display/chkupdate.py deleted file mode 100644 index 08fe02cc93..0000000000 --- a/anda/desktops/elementary/switchboard-plug-display/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-display' -REPO = "elementary/switchboard-plug-display" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-display/update.rhai b/anda/desktops/elementary/switchboard-plug-display/update.rhai new file mode 100644 index 0000000000..ea18f8a7b1 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-display/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-display")); diff --git a/anda/desktops/elementary/switchboard-plug-keyboard/anda.hcl b/anda/desktops/elementary/switchboard-plug-keyboard/anda.hcl index 7590b33ea5..73fa4313aa 100644 --- a/anda/desktops/elementary/switchboard-plug-keyboard/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-keyboard/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-keyboard.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-keyboard/chkupdate.py b/anda/desktops/elementary/switchboard-plug-keyboard/chkupdate.py deleted file mode 100644 index 6b5c2861e0..0000000000 --- a/anda/desktops/elementary/switchboard-plug-keyboard/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-keyboard' -REPO = "elementary/switchboard-plug-keyboard" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-keyboard/update.rhai b/anda/desktops/elementary/switchboard-plug-keyboard/update.rhai new file mode 100644 index 0000000000..dbfd81b895 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-keyboard/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-keyboard")); diff --git a/anda/desktops/elementary/switchboard-plug-mouse-touchpad/anda.hcl b/anda/desktops/elementary/switchboard-plug-mouse-touchpad/anda.hcl index c69d97f66b..5ce0d81b29 100644 --- a/anda/desktops/elementary/switchboard-plug-mouse-touchpad/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-mouse-touchpad/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-mouse-touchpad.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-mouse-touchpad/chkupdate.py b/anda/desktops/elementary/switchboard-plug-mouse-touchpad/chkupdate.py deleted file mode 100644 index 5ece641e3f..0000000000 --- a/anda/desktops/elementary/switchboard-plug-mouse-touchpad/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-mouse-touchpad' -REPO = "elementary/switchboard-plug-mouse-touchpad" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-mouse-touchpad/update.rhai b/anda/desktops/elementary/switchboard-plug-mouse-touchpad/update.rhai new file mode 100644 index 0000000000..0246758d79 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-mouse-touchpad/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-mouse-touchpad")); diff --git a/anda/desktops/elementary/switchboard-plug-networking/anda.hcl b/anda/desktops/elementary/switchboard-plug-networking/anda.hcl index 7c8159d514..2f6196ee8a 100644 --- a/anda/desktops/elementary/switchboard-plug-networking/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-networking/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-networking.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-networking/chkupdate.py b/anda/desktops/elementary/switchboard-plug-networking/chkupdate.py deleted file mode 100644 index ed8fdb95a2..0000000000 --- a/anda/desktops/elementary/switchboard-plug-networking/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-networking' -REPO = "elementary/switchboard-plug-networking" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-networking/update.rhai b/anda/desktops/elementary/switchboard-plug-networking/update.rhai new file mode 100644 index 0000000000..1c1507c693 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-networking/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-networking")); diff --git a/anda/desktops/elementary/switchboard-plug-notifications/anda.hcl b/anda/desktops/elementary/switchboard-plug-notifications/anda.hcl index 865d7c4af8..a8502fa5f3 100644 --- a/anda/desktops/elementary/switchboard-plug-notifications/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-notifications/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-notifications.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-notifications/chkupdate.py b/anda/desktops/elementary/switchboard-plug-notifications/chkupdate.py deleted file mode 100644 index 18c70c1502..0000000000 --- a/anda/desktops/elementary/switchboard-plug-notifications/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-notifications' -REPO = "elementary/switchboard-plug-notifications" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-notifications/update.rhai b/anda/desktops/elementary/switchboard-plug-notifications/update.rhai new file mode 100644 index 0000000000..f4415a1b2d --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-notifications/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-notifications")); diff --git a/anda/desktops/elementary/switchboard-plug-onlineaccounts/anda.hcl b/anda/desktops/elementary/switchboard-plug-onlineaccounts/anda.hcl index 523025d143..08e36e8f00 100644 --- a/anda/desktops/elementary/switchboard-plug-onlineaccounts/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-onlineaccounts/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-onlineaccounts.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-onlineaccounts/chkupdate.py b/anda/desktops/elementary/switchboard-plug-onlineaccounts/chkupdate.py deleted file mode 100644 index dbf4263e07..0000000000 --- a/anda/desktops/elementary/switchboard-plug-onlineaccounts/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-onlineaccounts' -REPO = "elementary/switchboard-plug-onlineaccounts" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-onlineaccounts/update.rhai b/anda/desktops/elementary/switchboard-plug-onlineaccounts/update.rhai new file mode 100644 index 0000000000..fdffaf0d91 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-onlineaccounts/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-onlineaccounts")); diff --git a/anda/desktops/elementary/switchboard-plug-pantheon-shell/anda.hcl b/anda/desktops/elementary/switchboard-plug-pantheon-shell/anda.hcl index 2684491b9b..89156f21e2 100644 --- a/anda/desktops/elementary/switchboard-plug-pantheon-shell/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-pantheon-shell/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-pantheon-shell.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-pantheon-shell/chkupdate.py b/anda/desktops/elementary/switchboard-plug-pantheon-shell/chkupdate.py deleted file mode 100644 index 74815b4451..0000000000 --- a/anda/desktops/elementary/switchboard-plug-pantheon-shell/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-pantheon-shell' -REPO = "elementary/switchboard-plug-pantheon-shell" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-pantheon-shell/update.rhai b/anda/desktops/elementary/switchboard-plug-pantheon-shell/update.rhai new file mode 100644 index 0000000000..eaa608b781 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-pantheon-shell/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-pantheon-shell")); diff --git a/anda/desktops/elementary/switchboard-plug-printers/anda.hcl b/anda/desktops/elementary/switchboard-plug-printers/anda.hcl index 4d7fd1547e..ac2e24f6ff 100644 --- a/anda/desktops/elementary/switchboard-plug-printers/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-printers/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-printers.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-printers/chkupdate.py b/anda/desktops/elementary/switchboard-plug-printers/chkupdate.py deleted file mode 100644 index 5db7a343f1..0000000000 --- a/anda/desktops/elementary/switchboard-plug-printers/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-printers' -REPO = "elementary/switchboard-plug-printers" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-printers/update.rhai b/anda/desktops/elementary/switchboard-plug-printers/update.rhai new file mode 100644 index 0000000000..8ebcdc0238 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-printers/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-printers")); diff --git a/anda/desktops/elementary/switchboard-plug-sharing/anda.hcl b/anda/desktops/elementary/switchboard-plug-sharing/anda.hcl index bf4e7e2f78..5bec22bd28 100644 --- a/anda/desktops/elementary/switchboard-plug-sharing/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-sharing/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-sharing.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-sharing/chkupdate.py b/anda/desktops/elementary/switchboard-plug-sharing/chkupdate.py deleted file mode 100644 index 4dbf59921c..0000000000 --- a/anda/desktops/elementary/switchboard-plug-sharing/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-sharing' -REPO = "elementary/switchboard-plug-sharing" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-sharing/update.rhai b/anda/desktops/elementary/switchboard-plug-sharing/update.rhai new file mode 100644 index 0000000000..d927945954 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-sharing/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-sharing")); diff --git a/anda/desktops/elementary/switchboard-plug-sound/anda.hcl b/anda/desktops/elementary/switchboard-plug-sound/anda.hcl index 9152ab2e7c..f7afea55fb 100644 --- a/anda/desktops/elementary/switchboard-plug-sound/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-sound/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-sound.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-sound/chkupdate.py b/anda/desktops/elementary/switchboard-plug-sound/chkupdate.py deleted file mode 100644 index e39c74ba33..0000000000 --- a/anda/desktops/elementary/switchboard-plug-sound/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-sound' -REPO = "elementary/switchboard-plug-sound" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-sound/update.rhai b/anda/desktops/elementary/switchboard-plug-sound/update.rhai new file mode 100644 index 0000000000..9e462f1448 --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-sound/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard-plug-sound")); diff --git a/anda/desktops/elementary/switchboard-plug-tweaks/anda.hcl b/anda/desktops/elementary/switchboard-plug-tweaks/anda.hcl index 4dc1fbca1c..ca59136c3b 100644 --- a/anda/desktops/elementary/switchboard-plug-tweaks/anda.hcl +++ b/anda/desktops/elementary/switchboard-plug-tweaks/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard-plug-tweaks.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard-plug-tweaks/chkupdate.py b/anda/desktops/elementary/switchboard-plug-tweaks/chkupdate.py deleted file mode 100644 index 3c46bd9988..0000000000 --- a/anda/desktops/elementary/switchboard-plug-tweaks/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard-plug-tweaks' -REPO = "pantheon-tweaks/pantheon-tweaks" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard-plug-tweaks/update.rhai b/anda/desktops/elementary/switchboard-plug-tweaks/update.rhai new file mode 100644 index 0000000000..feadafd1ef --- /dev/null +++ b/anda/desktops/elementary/switchboard-plug-tweaks/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("pantheon-tweaks/pantheon-tweaks")); diff --git a/anda/desktops/elementary/switchboard/anda.hcl b/anda/desktops/elementary/switchboard/anda.hcl index 82f6dd92de..1e5ecb8369 100644 --- a/anda/desktops/elementary/switchboard/anda.hcl +++ b/anda/desktops/elementary/switchboard/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "switchboard.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/switchboard/chkupdate.py b/anda/desktops/elementary/switchboard/chkupdate.py deleted file mode 100644 index 0dfbb87376..0000000000 --- a/anda/desktops/elementary/switchboard/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'switchboard' -REPO = "elementary/switchboard" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/switchboard/update.rhai b/anda/desktops/elementary/switchboard/update.rhai new file mode 100644 index 0000000000..1bde71a5c7 --- /dev/null +++ b/anda/desktops/elementary/switchboard/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/switchboard")); diff --git a/anda/desktops/elementary/wingpanel-applications-menu/anda.hcl b/anda/desktops/elementary/wingpanel-applications-menu/anda.hcl index 8130fed6cb..45553db49d 100644 --- a/anda/desktops/elementary/wingpanel-applications-menu/anda.hcl +++ b/anda/desktops/elementary/wingpanel-applications-menu/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "wingpanel-applications-menu.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/wingpanel-applications-menu/chkupdate.py b/anda/desktops/elementary/wingpanel-applications-menu/chkupdate.py deleted file mode 100644 index 24b1c8a8a4..0000000000 --- a/anda/desktops/elementary/wingpanel-applications-menu/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'wingpanel-applications-menu' -REPO = f"elementary/applications-menu" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/wingpanel-applications-menu/update.rhai b/anda/desktops/elementary/wingpanel-applications-menu/update.rhai new file mode 100644 index 0000000000..04d3f22839 --- /dev/null +++ b/anda/desktops/elementary/wingpanel-applications-menu/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/applications-menu")); diff --git a/anda/desktops/elementary/wingpanel-indicator-bluetooth/anda.hcl b/anda/desktops/elementary/wingpanel-indicator-bluetooth/anda.hcl index 61665be564..599a622efd 100644 --- a/anda/desktops/elementary/wingpanel-indicator-bluetooth/anda.hcl +++ b/anda/desktops/elementary/wingpanel-indicator-bluetooth/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "wingpanel-indicator-bluetooth.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/wingpanel-indicator-bluetooth/chkupdate.py b/anda/desktops/elementary/wingpanel-indicator-bluetooth/chkupdate.py deleted file mode 100644 index e57651bc21..0000000000 --- a/anda/desktops/elementary/wingpanel-indicator-bluetooth/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'wingpanel-indicator-bluetooth' -REPO = f"elementary/{NAME}" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/wingpanel-indicator-bluetooth/update.rhai b/anda/desktops/elementary/wingpanel-indicator-bluetooth/update.rhai new file mode 100644 index 0000000000..78de95ea80 --- /dev/null +++ b/anda/desktops/elementary/wingpanel-indicator-bluetooth/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/wingpanel-indicator-bluetooth")); diff --git a/anda/desktops/elementary/wingpanel-indicator-datetime/anda.hcl b/anda/desktops/elementary/wingpanel-indicator-datetime/anda.hcl index 3edff3d6f4..da94f470e6 100644 --- a/anda/desktops/elementary/wingpanel-indicator-datetime/anda.hcl +++ b/anda/desktops/elementary/wingpanel-indicator-datetime/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "wingpanel-indicator-datetime.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/wingpanel-indicator-datetime/chkupdate.py b/anda/desktops/elementary/wingpanel-indicator-datetime/chkupdate.py deleted file mode 100644 index 3db34f14a8..0000000000 --- a/anda/desktops/elementary/wingpanel-indicator-datetime/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'wingpanel-indicator-datetime' -REPO = f"elementary/{NAME}" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/wingpanel-indicator-datetime/update.rhai b/anda/desktops/elementary/wingpanel-indicator-datetime/update.rhai new file mode 100644 index 0000000000..62b0ad16cb --- /dev/null +++ b/anda/desktops/elementary/wingpanel-indicator-datetime/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/wingpanel-indicator-datetime")); diff --git a/anda/desktops/elementary/wingpanel-indicator-keyboard/anda.hcl b/anda/desktops/elementary/wingpanel-indicator-keyboard/anda.hcl index 336c6b9ee8..b4316ee535 100644 --- a/anda/desktops/elementary/wingpanel-indicator-keyboard/anda.hcl +++ b/anda/desktops/elementary/wingpanel-indicator-keyboard/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "wingpanel-indicator-keyboard.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/wingpanel-indicator-keyboard/chkupdate.py b/anda/desktops/elementary/wingpanel-indicator-keyboard/chkupdate.py deleted file mode 100644 index 5f6c0e9cb3..0000000000 --- a/anda/desktops/elementary/wingpanel-indicator-keyboard/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'wingpanel-indicator-keyboard' -REPO = f"elementary/{NAME}" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/wingpanel-indicator-keyboard/update.rhai b/anda/desktops/elementary/wingpanel-indicator-keyboard/update.rhai new file mode 100644 index 0000000000..14bc68548a --- /dev/null +++ b/anda/desktops/elementary/wingpanel-indicator-keyboard/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/wingpanel-indicator-keyboard")); diff --git a/anda/desktops/elementary/wingpanel-indicator-network/anda.hcl b/anda/desktops/elementary/wingpanel-indicator-network/anda.hcl index 926163d950..ac6cd313c0 100644 --- a/anda/desktops/elementary/wingpanel-indicator-network/anda.hcl +++ b/anda/desktops/elementary/wingpanel-indicator-network/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "wingpanel-indicator-network.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/wingpanel-indicator-network/chkupdate.py b/anda/desktops/elementary/wingpanel-indicator-network/chkupdate.py deleted file mode 100644 index bf66febba5..0000000000 --- a/anda/desktops/elementary/wingpanel-indicator-network/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'wingpanel-indicator-network' -REPO = f"elementary/{NAME}" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/wingpanel-indicator-network/update.rhai b/anda/desktops/elementary/wingpanel-indicator-network/update.rhai new file mode 100644 index 0000000000..18619dde5d --- /dev/null +++ b/anda/desktops/elementary/wingpanel-indicator-network/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/wingpanel-indicator-network")); diff --git a/anda/desktops/elementary/wingpanel-indicator-nightlight/anda.hcl b/anda/desktops/elementary/wingpanel-indicator-nightlight/anda.hcl index 4092b8e385..6846be0420 100644 --- a/anda/desktops/elementary/wingpanel-indicator-nightlight/anda.hcl +++ b/anda/desktops/elementary/wingpanel-indicator-nightlight/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "wingpanel-indicator-nightlight.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/wingpanel-indicator-nightlight/chkupdate.py b/anda/desktops/elementary/wingpanel-indicator-nightlight/chkupdate.py deleted file mode 100644 index d2dbd1fe1e..0000000000 --- a/anda/desktops/elementary/wingpanel-indicator-nightlight/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'wingpanel-indicator-nightlight' -REPO = f"elementary/{NAME}" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/wingpanel-indicator-nightlight/update.rhai b/anda/desktops/elementary/wingpanel-indicator-nightlight/update.rhai new file mode 100644 index 0000000000..0460afa16f --- /dev/null +++ b/anda/desktops/elementary/wingpanel-indicator-nightlight/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/wingpanel-indicator-nightlight")); diff --git a/anda/desktops/elementary/wingpanel-indicator-notifications/anda.hcl b/anda/desktops/elementary/wingpanel-indicator-notifications/anda.hcl index dbc0bec8be..d00ff002df 100644 --- a/anda/desktops/elementary/wingpanel-indicator-notifications/anda.hcl +++ b/anda/desktops/elementary/wingpanel-indicator-notifications/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "wingpanel-indicator-notifications.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/wingpanel-indicator-notifications/chkupdate.py b/anda/desktops/elementary/wingpanel-indicator-notifications/chkupdate.py deleted file mode 100644 index b81c2c3905..0000000000 --- a/anda/desktops/elementary/wingpanel-indicator-notifications/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'wingpanel-indicator-notifications' -REPO = f"elementary/{NAME}" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/wingpanel-indicator-notifications/update.rhai b/anda/desktops/elementary/wingpanel-indicator-notifications/update.rhai new file mode 100644 index 0000000000..58f8ea3976 --- /dev/null +++ b/anda/desktops/elementary/wingpanel-indicator-notifications/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/wingpanel-indicator-notifications")); diff --git a/anda/desktops/elementary/wingpanel-indicator-power/anda.hcl b/anda/desktops/elementary/wingpanel-indicator-power/anda.hcl index 0386824e88..bfd9df78a7 100644 --- a/anda/desktops/elementary/wingpanel-indicator-power/anda.hcl +++ b/anda/desktops/elementary/wingpanel-indicator-power/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "wingpanel-indicator-power.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/wingpanel-indicator-power/chkupdate.py b/anda/desktops/elementary/wingpanel-indicator-power/chkupdate.py deleted file mode 100644 index 42a74717de..0000000000 --- a/anda/desktops/elementary/wingpanel-indicator-power/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'wingpanel-indicator-power' -REPO = f"elementary/{NAME}" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/wingpanel-indicator-power/update.rhai b/anda/desktops/elementary/wingpanel-indicator-power/update.rhai new file mode 100644 index 0000000000..7b3a3f2fa2 --- /dev/null +++ b/anda/desktops/elementary/wingpanel-indicator-power/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/wingpanel-indicator-power")); diff --git a/anda/desktops/elementary/wingpanel-indicator-session/anda.hcl b/anda/desktops/elementary/wingpanel-indicator-session/anda.hcl index 3fad96d4d7..3d8a674793 100644 --- a/anda/desktops/elementary/wingpanel-indicator-session/anda.hcl +++ b/anda/desktops/elementary/wingpanel-indicator-session/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "wingpanel-indicator-session.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/wingpanel-indicator-session/chkupdate.py b/anda/desktops/elementary/wingpanel-indicator-session/chkupdate.py deleted file mode 100644 index 52c713deb7..0000000000 --- a/anda/desktops/elementary/wingpanel-indicator-session/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'wingpanel-indicator-session' -REPO = f"elementary/{NAME}" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/wingpanel-indicator-session/update.rhai b/anda/desktops/elementary/wingpanel-indicator-session/update.rhai new file mode 100644 index 0000000000..f2423ba9da --- /dev/null +++ b/anda/desktops/elementary/wingpanel-indicator-session/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/wingpanel-indicator-session")); diff --git a/anda/desktops/elementary/wingpanel-indicator-sound/anda.hcl b/anda/desktops/elementary/wingpanel-indicator-sound/anda.hcl index 2319eba873..f885172637 100644 --- a/anda/desktops/elementary/wingpanel-indicator-sound/anda.hcl +++ b/anda/desktops/elementary/wingpanel-indicator-sound/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "wingpanel-indicator-sound.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/wingpanel-indicator-sound/chkupdate.py b/anda/desktops/elementary/wingpanel-indicator-sound/chkupdate.py deleted file mode 100644 index 43784f5b63..0000000000 --- a/anda/desktops/elementary/wingpanel-indicator-sound/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'wingpanel-indicator-sound' -REPO = f"elementary/{NAME}" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/wingpanel-indicator-sound/update.rhai b/anda/desktops/elementary/wingpanel-indicator-sound/update.rhai new file mode 100644 index 0000000000..98b809ee90 --- /dev/null +++ b/anda/desktops/elementary/wingpanel-indicator-sound/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/wingpanel-indicator-sound")); diff --git a/anda/desktops/elementary/wingpanel/anda.hcl b/anda/desktops/elementary/wingpanel/anda.hcl index 4f593a88c9..c2f84c26da 100644 --- a/anda/desktops/elementary/wingpanel/anda.hcl +++ b/anda/desktops/elementary/wingpanel/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "wingpanel.spec" - sources = "." + update = "" } } diff --git a/anda/desktops/elementary/wingpanel/chkupdate.py b/anda/desktops/elementary/wingpanel/chkupdate.py deleted file mode 100644 index e0a8ef91a2..0000000000 --- a/anda/desktops/elementary/wingpanel/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'wingpanel' -REPO = "elementary/wingpanel" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/desktops/elementary/wingpanel/update.rhai b/anda/desktops/elementary/wingpanel/update.rhai new file mode 100644 index 0000000000..81cfd1a484 --- /dev/null +++ b/anda/desktops/elementary/wingpanel/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("elementary/wingpanel")); diff --git a/anda/discord-canary/anda.hcl b/anda/discord-canary/anda.hcl index 85b0a3e780..1e6feb0f46 100644 --- a/anda/discord-canary/anda.hcl +++ b/anda/discord-canary/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "discord-canary.spec" - sources = "." + update = "" } } diff --git a/anda/discord-canary/chkupdate.py b/anda/discord-canary/chkupdate.py deleted file mode 100644 index 888eedea39..0000000000 --- a/anda/discord-canary/chkupdate.py +++ /dev/null @@ -1,38 +0,0 @@ -import os -import re -from requests import get - - -NAME = 'discord-canary' -SPEC = f'{NAME}.spec' -REGEX = r'Version:(\s+)([\.\d]+)\n' -REGEX_LINK = r'https://dl-canary\.discordapp\.net/apps/linux/([\.\d]+)/' -LINK = 'https://discordapp.com/api/download/canary?platform=linux&format=tar.gz' - - -def run_cmds(*cmds: str): - for cmd in cmds: - print(f"{NAME}: $ {cmd}") - if rc := os.system(cmd): - exit(f"{NAME}: Stopping because {rc=}") - -html = get(LINK, allow_redirects=False).text -newver = re.findall(REGEX_LINK, html) -if not any(newver): - exit(f"{NAME}: Failed to parse html!") -newver = newver[0] - -f = open(SPEC, 'r') -content = f.read() -found = re.findall(REGEX, content) -try: - assert found - curver = found[0][1] - if newver == curver: - exit(f"{NAME}: Up to date!") - else: - print(f"{NAME}: {curver} -> {newver}") -except IndexError or AssertionError: - exit(f"{NAME}: Failed to read spec!") - -run_cmds(f'rpmdev-bumpspec -n {newver} {SPEC}') diff --git a/anda/discord-canary/update.rhai b/anda/discord-canary/update.rhai new file mode 100644 index 0000000000..d96b864947 --- /dev/null +++ b/anda/discord-canary/update.rhai @@ -0,0 +1,3 @@ +let html = get("https://discordapp.com/api/download/canary?platform=linux&format=tar.gz"); +let newver = find("https://dl-canary\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1); +rpm.version(newver); diff --git a/anda/discord-ptb/anda.hcl b/anda/discord-ptb/anda.hcl index e568dbcd97..6b665f3911 100644 --- a/anda/discord-ptb/anda.hcl +++ b/anda/discord-ptb/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "discord-ptb.spec" - sources = "." + update = "" } } diff --git a/anda/discord-ptb/chkupdate.py b/anda/discord-ptb/chkupdate.py deleted file mode 100644 index 034d8e65e3..0000000000 --- a/anda/discord-ptb/chkupdate.py +++ /dev/null @@ -1,38 +0,0 @@ -import os -import re -from requests import get - - -NAME = 'discord-ptb' -SPEC = f'{NAME}.spec' -REGEX = r'Version:(\s+)([\.\d]+)\n' -REGEX_LINK = r'https://dl-ptb\.discordapp\.net/apps/linux/([\.\d]+)/' -LINK = 'https://discordapp.com/api/download/ptb?platform=linux&format=tar.gz' - - -def run_cmds(*cmds: str): - for cmd in cmds: - print(f"{NAME}: $ {cmd}") - if rc := os.system(cmd): - exit(f"{NAME}: Stopping because {rc=}") - -html = get(LINK, allow_redirects=False).text -newver = re.findall(REGEX_LINK, html) -if not any(newver): - exit(f"{NAME}: Failed to parse html!") -newver = newver[0] - -f = open(SPEC, 'r') -content = f.read() -found = re.findall(REGEX, content) -try: - assert found - curver = found[0][1] - if newver == curver: - exit(f"{NAME}: Up to date!") - else: - print(f"{NAME}: {curver} -> {newver}") -except IndexError or AssertionError: - exit(f"{NAME}: Failed to read spec!") - -run_cmds(f'rpmdev-bumpspec -n {newver} {SPEC}') diff --git a/anda/discord-ptb/discord-ptb.spec b/anda/discord-ptb/discord-ptb.spec index 52d4b95555..dee5301a02 100644 --- a/anda/discord-ptb/discord-ptb.spec +++ b/anda/discord-ptb/discord-ptb.spec @@ -1,5 +1,5 @@ Name: discord-ptb -Version: 0.0.35 +Version: 0.0.36 Release: %autorelease Summary: Free Voice and Text Chat for Gamers. URL: discord.com diff --git a/anda/discord-ptb/update.rhai b/anda/discord-ptb/update.rhai new file mode 100644 index 0000000000..32e9b4a735 --- /dev/null +++ b/anda/discord-ptb/update.rhai @@ -0,0 +1,3 @@ +let html = get("https://discordapp.com/api/download/ptb?platform=linux&format=tar.gz"); +let newver = find("https://dl-ptb\\.discordapp\\.net/apps/linux/([\\.\\d]+)/", html, 1); +rpm.version(newver); diff --git a/anda/dnf-plugins-core/anda.hcl b/anda/dnf-plugins-core/anda.hcl index 77d1eef11b..d3843ee8ee 100644 --- a/anda/dnf-plugins-core/anda.hcl +++ b/anda/dnf-plugins-core/anda.hcl @@ -2,4 +2,4 @@ project "pkg" { rpm { spec = "dnf-plugins-core.spec" } -} \ No newline at end of file +} diff --git a/anda/fonts/arphic-ukai/anda.hcl b/anda/fonts/arphic-ukai/anda.hcl index 094b7ee897..f402788194 100644 --- a/anda/fonts/arphic-ukai/anda.hcl +++ b/anda/fonts/arphic-ukai/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "arphic-ukai-fonts.spec" - sources = "." } } diff --git a/anda/fonts/arphic-uming/anda.hcl b/anda/fonts/arphic-uming/anda.hcl index 648597dbaf..af7015ea61 100644 --- a/anda/fonts/arphic-uming/anda.hcl +++ b/anda/fonts/arphic-uming/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "arphic-uming-fonts.spec" - sources = "." } } diff --git a/anda/fonts/hannom/anda.hcl b/anda/fonts/hannom/anda.hcl index 2e977f01d3..5e46f056d1 100644 --- a/anda/fonts/hannom/anda.hcl +++ b/anda/fonts/hannom/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "hannom-fonts.spec" - sources = "." } } diff --git a/anda/fonts/kanjistrokeorders/anda.hcl b/anda/fonts/kanjistrokeorders/anda.hcl index 267cb364d1..41529b2850 100644 --- a/anda/fonts/kanjistrokeorders/anda.hcl +++ b/anda/fonts/kanjistrokeorders/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "kanjistrokeorders-fonts.spec" - sources = "." } } diff --git a/anda/fonts/mini-wakuwaku/anda.hcl b/anda/fonts/mini-wakuwaku/anda.hcl index 550d6edd1f..8415e7c049 100644 --- a/anda/fonts/mini-wakuwaku/anda.hcl +++ b/anda/fonts/mini-wakuwaku/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "mini-wakuwaku-fonts.spec" - sources = "." } } diff --git a/anda/fonts/naikai/anda.hcl b/anda/fonts/naikai/anda.hcl index d3d84c5849..8e9416f631 100644 --- a/anda/fonts/naikai/anda.hcl +++ b/anda/fonts/naikai/anda.hcl @@ -1,5 +1,6 @@ project "pkg" { rpm { spec = "naikai-fonts.spec" + update = "" } } diff --git a/anda/fonts/naikai/chkupdate.py b/anda/fonts/naikai/chkupdate.py deleted file mode 100644 index 1fef62ee57..0000000000 --- a/anda/fonts/naikai/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'naikai-fonts' -REPO = "max32002/naikaifont" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/fonts/naikai/update.rhai b/anda/fonts/naikai/update.rhai new file mode 100644 index 0000000000..fcc952872a --- /dev/null +++ b/anda/fonts/naikai/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("max32002/naikaifont")); diff --git a/anda/fonts/seto/anda.hcl b/anda/fonts/seto/anda.hcl index b4afe97aa1..9eb54581ee 100644 --- a/anda/fonts/seto/anda.hcl +++ b/anda/fonts/seto/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "seto-fonts.spec" - sources = "." } } diff --git a/anda/games/minecraft-java/anda.hcl b/anda/games/minecraft-java/anda.hcl index 5a38de6ed5..f46b6ba026 100644 --- a/anda/games/minecraft-java/anda.hcl +++ b/anda/games/minecraft-java/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "minecraft-java.spec" - sources = "." } -} \ No newline at end of file +} diff --git a/anda/games/prismlauncher-nightly/anda.hcl b/anda/games/prismlauncher-nightly/anda.hcl index b45dfd4ff7..c5f2996b53 100644 --- a/anda/games/prismlauncher-nightly/anda.hcl +++ b/anda/games/prismlauncher-nightly/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "prismlauncher-nightly.spec" - sources = "." + update = "" } } diff --git a/anda/games/prismlauncher-nightly/chkupdate.py b/anda/games/prismlauncher-nightly/chkupdate.py deleted file mode 100644 index cd71aa2b02..0000000000 --- a/anda/games/prismlauncher-nightly/chkupdate.py +++ /dev/null @@ -1,26 +0,0 @@ -import requests, re, os -from datetime import datetime - - -NAME = 'prismlauncher-nightly' -REPO = "PrismLauncher/PrismLauncher" -REGEX_SHA = r'%global commit (.+)' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/commits/HEAD' - -sha = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['sha'] -f = open(SPEC, 'r') - -matches = re.findall(REGEX_SHA, txt:=f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] - -if sha == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {sha}') - -newspec = re.sub(REGEX_SHA, f'%global commit {sha}', txt) - -f.close() -f = open(SPEC, 'w') -f.write(newspec) -f.close() diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index 122096b991..a7e6e26a86 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec @@ -1,6 +1,6 @@ %global real_name prismlauncher -%global commit b29c99656e43a11cfb4397230b6ec7192d15215f +%global commit b373beee21f49984edc338d157c3b31ef3b9f53b %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f %global quazip_commit 6117161af08e366c37499895b00ef62f93adc345 diff --git a/anda/games/prismlauncher-nightly/update.rhai b/anda/games/prismlauncher-nightly/update.rhai new file mode 100644 index 0000000000..f301715b1c --- /dev/null +++ b/anda/games/prismlauncher-nightly/update.rhai @@ -0,0 +1,11 @@ +let req = new_req("https://api.github.com/repos/PrismLauncher/PrismLauncher/commits/HEAD"); +req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`); +let _sha = json(req.get()) @ "sha"; +let sha = _sha.str(); +let cur = find("%global commit (.+)", rpm.f, 1); +if sha != cur { + print(`prismlauncher-nightly: ${cur} -> ${sha}`); + rpm.f = sub("%global commit (.+)", `%global commit ${sha}`, rpm.f); +} else { + print("prismlauncher-nightly: Up to date!"); +} \ No newline at end of file diff --git a/anda/games/prismlauncher-qt5-nightly/anda.hcl b/anda/games/prismlauncher-qt5-nightly/anda.hcl index f8711dcb37..5e49bc5700 100644 --- a/anda/games/prismlauncher-qt5-nightly/anda.hcl +++ b/anda/games/prismlauncher-qt5-nightly/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "prismlauncher-qt5-nightly.spec" - sources = "." + update = "" } } diff --git a/anda/games/prismlauncher-qt5-nightly/chkupdate.py b/anda/games/prismlauncher-qt5-nightly/chkupdate.py deleted file mode 100644 index bef6b46610..0000000000 --- a/anda/games/prismlauncher-qt5-nightly/chkupdate.py +++ /dev/null @@ -1,26 +0,0 @@ -import requests, re, os -from datetime import datetime - - -NAME = 'prismlauncher-qt5-nightly' -REPO = "PrismLauncher/PrismLauncher" -REGEX_SHA = r'%global commit (.+)' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/commits/HEAD' - -sha = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['sha'] -f = open(SPEC, 'r') - -matches = re.findall(REGEX_SHA, txt:=f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] - -if sha == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {sha}') - -newspec = re.sub(REGEX_SHA, f'%global commit {sha}', txt) - -f.close() -f = open(SPEC, 'w') -f.write(newspec) -f.close() diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index 47c5801355..bd8870e120 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -1,6 +1,6 @@ %global real_name prismlauncher -%global commit b29c99656e43a11cfb4397230b6ec7192d15215f +%global commit b373beee21f49984edc338d157c3b31ef3b9f53b %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f %global quazip_commit 6117161af08e366c37499895b00ef62f93adc345 diff --git a/anda/games/prismlauncher-qt5-nightly/update.rhai b/anda/games/prismlauncher-qt5-nightly/update.rhai new file mode 100644 index 0000000000..e286451e63 --- /dev/null +++ b/anda/games/prismlauncher-qt5-nightly/update.rhai @@ -0,0 +1,11 @@ +let req = new_req("https://api.github.com/repos/PrismLauncher/PrismLauncher/commits/HEAD"); +req.head("Authorization", `Bearer ${env("GITHUB_TOKEN")}`); +let _sha = json(req.get()) @ "sha"; +let sha = _sha.str(); +let cur = find("%global commit (.+)", rpm.f, 1); +if sha != cur { + print(`prismlauncher-qt5-nightly: ${cur} -> ${sha}`); + rpm.f = sub("%global commit (.+)", `%global commit ${sha}`, rpm.f); +} else { + print("prismlauncher-qt5-nightly: Up to date!"); +} \ No newline at end of file diff --git a/anda/games/prismlauncher-qt5/anda.hcl b/anda/games/prismlauncher-qt5/anda.hcl index 843360b7af..7822ea4320 100644 --- a/anda/games/prismlauncher-qt5/anda.hcl +++ b/anda/games/prismlauncher-qt5/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "prismlauncher-qt5.spec" - sources = "." + update = "" } } diff --git a/anda/games/prismlauncher-qt5/chkupdate.py b/anda/games/prismlauncher-qt5/chkupdate.py deleted file mode 100644 index 5817835695..0000000000 --- a/anda/games/prismlauncher-qt5/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'prismlauncher-qt5' -REPO = "PrismLauncher/PrismLauncher" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/games/prismlauncher-qt5/update.rhai b/anda/games/prismlauncher-qt5/update.rhai new file mode 100644 index 0000000000..67913ff0b4 --- /dev/null +++ b/anda/games/prismlauncher-qt5/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("PrismLauncher/PrismLauncher")); diff --git a/anda/games/prismlauncher/anda.hcl b/anda/games/prismlauncher/anda.hcl index 8e52fbca91..a8186c7530 100644 --- a/anda/games/prismlauncher/anda.hcl +++ b/anda/games/prismlauncher/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "prismlauncher.spec" - sources = "." + update = "" } -} \ No newline at end of file +} diff --git a/anda/games/prismlauncher/chkupdate.py b/anda/games/prismlauncher/chkupdate.py deleted file mode 100644 index a041b97d66..0000000000 --- a/anda/games/prismlauncher/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'prismlauncher' -REPO = "PrismLauncher/PrismLauncher" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/games/prismlauncher/update.rhai b/anda/games/prismlauncher/update.rhai new file mode 100644 index 0000000000..67913ff0b4 --- /dev/null +++ b/anda/games/prismlauncher/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("PrismLauncher/PrismLauncher")); diff --git a/anda/go/curlie/anda.hcl b/anda/go/curlie/anda.hcl index 2b5b10bbd8..126d5eed56 100644 --- a/anda/go/curlie/anda.hcl +++ b/anda/go/curlie/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "golang-github-rs-curlie.spec" - sources = "." + update = "" } } diff --git a/anda/go/curlie/update.rhai b/anda/go/curlie/update.rhai new file mode 100644 index 0000000000..cae7df861c --- /dev/null +++ b/anda/go/curlie/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("rs/curlie")); diff --git a/anda/lib/libappimage/anda.hcl b/anda/lib/libappimage/anda.hcl index f1349b730c..a7c08ba297 100644 --- a/anda/lib/libappimage/anda.hcl +++ b/anda/lib/libappimage/anda.hcl @@ -2,4 +2,4 @@ project "pkg" { rpm { spec = "libappimage.spec" } -} \ No newline at end of file +} diff --git a/anda/lib/libappimage/update.rhai.bak b/anda/lib/libappimage/update.rhai.bak new file mode 100644 index 0000000000..98da1463f0 --- /dev/null +++ b/anda/lib/libappimage/update.rhai.bak @@ -0,0 +1,2 @@ +let v = gh("AppImageCommunity/libappimage"); +rpm.f = sub("%global libver(\\s+)(.+)", `%global libver$1${v}`, rpm.f); diff --git a/anda/lib/libbismuth/anda.hcl b/anda/lib/libbismuth/anda.hcl index 14871f8967..bfffa40be4 100644 --- a/anda/lib/libbismuth/anda.hcl +++ b/anda/lib/libbismuth/anda.hcl @@ -1,5 +1,6 @@ project "pkg" { rpm { spec = "libbismuth.spec" + update = "" } -} \ No newline at end of file +} diff --git a/anda/lib/libbismuth/chkupdate.py b/anda/lib/libbismuth/chkupdate.py deleted file mode 100644 index 0475c96d2e..0000000000 --- a/anda/lib/libbismuth/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'libbismuth' -REPO = "tau-OS/libbismuth" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/lib/libbismuth/update.rhai b/anda/lib/libbismuth/update.rhai new file mode 100644 index 0000000000..5f5e0e5c4a --- /dev/null +++ b/anda/lib/libbismuth/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("tau-OS/libbismuth")); diff --git a/anda/lib/libhelium/anda.hcl b/anda/lib/libhelium/anda.hcl index f9d7e3e9e8..60feedb5a3 100644 --- a/anda/lib/libhelium/anda.hcl +++ b/anda/lib/libhelium/anda.hcl @@ -1,5 +1,6 @@ project "pkg" { rpm { spec = "libhelium.spec" + update = "" } -} \ No newline at end of file +} diff --git a/anda/lib/libhelium/chkupdate.py b/anda/lib/libhelium/chkupdate.py deleted file mode 100644 index f371c58cf4..0000000000 --- a/anda/lib/libhelium/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'libhelium' -REPO = "tau-OS/libhelium" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index ad0c24590c..3925e68d54 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -22,7 +22,7 @@ Requires: libbismuth Requires: gtk4 >= 4.4 Requires: glib2 >= 2.66.0 Requires: libgee >= 0.20 -Requires: tau-helium >= %{version} +Requires: tau-helium >= 1.1.25 %description The Application Framework for tauOS apps diff --git a/anda/lib/libhelium/update.rhai b/anda/lib/libhelium/update.rhai new file mode 100644 index 0000000000..67592e6360 --- /dev/null +++ b/anda/lib/libhelium/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("tau-OS/libhelium")); diff --git a/anda/lib/marble-gtk/anda.hcl b/anda/lib/marble-gtk/anda.hcl deleted file mode 100644 index 1afe962294..0000000000 --- a/anda/lib/marble-gtk/anda.hcl +++ /dev/null @@ -1,6 +0,0 @@ -project "pkg" { - rpm { - spec = "marble-gtk.spec" - sources = "." - } -} diff --git a/anda/lib/marble-gtk/marble-gtk.spec b/anda/lib/marble-gtk/marble-gtk.spec deleted file mode 100644 index ce7a3430fe..0000000000 --- a/anda/lib/marble-gtk/marble-gtk.spec +++ /dev/null @@ -1,46 +0,0 @@ -# This is the dumbest thing ever -# Why make a library with the same name as another library gosh -%global commit 6dcc6fefa35f0151b0549c01bd774750fe6bdef8 -Name: marble-gtk -Version: 42.alpha0 -# No idea how they name the version -Release: %autorelease -Summary: My GTK library -License: GPLv3 -URL: https://gitlab.gnome.org/raggesilver/marble -BuildRequires: vala meson >= 0.50.0 pkgconfig(gtk4) -BuildRequires: pkgconfig(gtk+-3.0) >= 3.24 -BuildRequires: pkgconfig(gio-2.0) >= 2.50 - -Source0: %{url}/-/archive/%{commit}/marble-%{commit}.tar.gz - -%description -%summary. -Just as Elementary has Granite I have Marble, my collection of useful functions -and reusable widgets. -# duh... - -%prep -%autosetup -n marble-%{commit} - -%build -%meson -%meson_build - -%install -%meson_install - -%files -%doc README.md -%license COPYING -/usr/include/marble.h -/usr/lib/debug/usr/lib64/libmarble.so* -/usr/lib64/girepository-1.0/Marble-*.typelib -/usr/lib64/libmarble.so* -/usr/lib64/pkgconfig/marble.pc -/usr/share/gir-1.0/Marble-*.gir -/usr/share/vala/vapi/marble.* - -%changelog -* Sat Oct 29 2022 windowsboy111 -- Initial package diff --git a/anda/lib/poppler/anda.hcl.bak b/anda/lib/poppler/anda.hcl.bak deleted file mode 100644 index 642075cf21..0000000000 --- a/anda/lib/poppler/anda.hcl.bak +++ /dev/null @@ -1,6 +0,0 @@ -project "pkg" { - rpm { - spec = "poppler.spec" - sources = "." - } -} diff --git a/anda/lib/poppler/poppler.spec b/anda/lib/poppler/poppler.spec deleted file mode 100644 index e20fca9906..0000000000 --- a/anda/lib/poppler/poppler.spec +++ /dev/null @@ -1,1222 +0,0 @@ -%bcond qt 1 - -# Enable qt6 support (or not) -# FIXME: qt6-qtdeclarative doesn't build on S390x -# BUG: https://bugreports.qt.io/browse/QTBUG-93101 -%if %{with qt} -%ifnarch s390x -%global qt6 1 -%endif -%endif - -Summary: PDF rendering library -Name: poppler -Version: 22.10.0 -Release: 3%{?dist} -License: (GPLv2 or GPLv3) and GPLv2+ and LGPLv2+ and MIT -URL: http://poppler.freedesktop.org/ -Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.xz - -BuildRequires: make -BuildRequires: cmake -BuildRequires: gcc-c++ -BuildRequires: gettext-devel -BuildRequires: pkgconfig(cairo) -BuildRequires: pkgconfig(cairo-ft) -BuildRequires: pkgconfig(cairo-pdf) -BuildRequires: pkgconfig(cairo-ps) -BuildRequires: pkgconfig(cairo-svg) -BuildRequires: pkgconfig(fontconfig) -BuildRequires: pkgconfig(freetype2) -BuildRequires: pkgconfig(gdk-pixbuf-2.0) -BuildRequires: pkgconfig(gio-2.0) -BuildRequires: pkgconfig(gobject-2.0) -BuildRequires: pkgconfig(gobject-introspection-1.0) -BuildRequires: pkgconfig(gtk+-3.0) -BuildRequires: pkgconfig(gtk-doc) -BuildRequires: pkgconfig(lcms2) -BuildRequires: pkgconfig(libjpeg) -BuildRequires: pkgconfig(libopenjp2) -BuildRequires: pkgconfig(libpng) -BuildRequires: pkgconfig(libtiff-4) -BuildRequires: pkgconfig(nss) -BuildRequires: pkgconfig(poppler-data) -%if %{with qt} -BuildRequires: pkgconfig(Qt5Core) -BuildRequires: pkgconfig(Qt5Gui) -BuildRequires: pkgconfig(Qt5Test) -BuildRequires: pkgconfig(Qt5Widgets) -BuildRequires: pkgconfig(Qt5Xml) -%endif -%if 0%{?qt6} -BuildRequires: cmake(Qt6Core) -BuildRequires: cmake(Qt6Gui) -BuildRequires: cmake(Qt6Test) -BuildRequires: cmake(Qt6Widgets) -BuildRequires: cmake(Qt6Xml) -%endif -BuildRequires: boost-devel - -Requires: poppler-data - -Obsoletes: poppler-glib-demos < 0.60.1-1 - -%description -%{name} is a PDF rendering library. - -%package devel -Summary: Libraries and headers for poppler -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -You should install the poppler-devel package if you would like to -compile applications based on poppler. - -%package glib -Summary: Glib wrapper for poppler -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description glib -%{summary}. - -%package glib-devel -Summary: Development files for glib wrapper -Requires: %{name}-glib%{?_isa} = %{version}-%{release} -Requires: %{name}-devel%{?_isa} = %{version}-%{release} -Suggests: %{name}-doc = %{version}-%{release} - -%description glib-devel -%{summary}. - -%package glib-doc -Summary: Documentation for glib wrapper -BuildArch: noarch - -%description glib-doc -%{summary}. - -%if %{with qt} -%package qt5 -Summary: Qt5 wrapper for poppler -Requires: %{name}%{?_isa} = %{version}-%{release} -Obsoletes: %{name}-qt < 0.90.0-9 -%description qt5 -%{summary}. - -%package qt5-devel -Summary: Development files for Qt5 wrapper -Requires: %{name}-qt5%{?_isa} = %{version}-%{release} -Requires: %{name}-devel%{?_isa} = %{version}-%{release} -Requires: qt5-qtbase-devel -Obsoletes: %{name}-qt-devel < 0.90.0-9 -%description qt5-devel -%{summary}. -%endif - -%if 0%{?qt6} -%package qt6 -Summary: Qt6 wrapper for poppler -Requires: %{name}%{?_isa} = %{version}-%{release} -%description qt6 -%{summary}. - -%package qt6-devel -Summary: Development files for Qt6 wrapper -Requires: %{name}-qt6%{?_isa} = %{version}-%{release} -Requires: %{name}-devel%{?_isa} = %{version}-%{release} -Requires: qt6-qtbase-devel -%description qt6-devel -%{summary}. -%endif - -%package cpp -Summary: Pure C++ wrapper for poppler -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description cpp -%{summary}. - -%package cpp-devel -Summary: Development files for C++ wrapper -Requires: %{name}-cpp%{?_isa} = %{version}-%{release} -Requires: %{name}-devel%{?_isa} = %{version}-%{release} - -%description cpp-devel -%{summary}. - -%package utils -Summary: Command line utilities for converting PDF files -Requires: %{name}%{?_isa} = %{version}-%{release} -%description utils -Command line tools for manipulating PDF files and converting them to -other formats. - -%prep -%autosetup -#chmod -x poppler/CairoFontEngine.cc - -%build -%cmake \ - -DENABLE_CMS=lcms2 \ - -DENABLE_DCTDECODER=libjpeg \ - -DENABLE_GTK_DOC=ON \ - -DENABLE_LIBOPENJPEG=openjpeg2 \ -%if ! %{with qt} - -DENABLE_QT5=OFF \ -%endif -%if ! 0%{?qt6} - -DENABLE_QT6=OFF \ -%endif - -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \ - -DENABLE_ZLIB=OFF \ - .. -%cmake_build - -%install -%cmake_install - -%check -# verify pkg-config sanity/version -export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig -test "$(pkg-config --modversion poppler)" = "%{version}" -test "$(pkg-config --modversion poppler-cpp)" = "%{version}" -test "$(pkg-config --modversion poppler-glib)" = "%{version}" -%if %{with qt} -test "$(pkg-config --modversion poppler-qt5)" = "%{version}" -%endif -%if 0%{?qt6} -test "$(pkg-config --modversion poppler-qt6)" = "%{version}" -%endif - -%ldconfig_scriptlets - -%ldconfig_scriptlets glib - -%if %{with qt} -%ldconfig_scriptlets qt5 -%endif - -%if 0%{?qt6} -%ldconfig_scriptlets qt6 -%endif - -%ldconfig_scriptlets cpp - -%files -%doc README.md -%license COPYING -%{_libdir}/libpoppler.so.125* - -%files devel -%{_libdir}/pkgconfig/poppler.pc -%{_libdir}/libpoppler.so -%dir %{_includedir}/poppler/ -# xpdf headers -%{_includedir}/poppler/*.h -%{_includedir}/poppler/fofi/ -%{_includedir}/poppler/goo/ -%{_includedir}/poppler/splash/ - -%files glib -%{_libdir}/libpoppler-glib.so.8* -%{_libdir}/girepository-1.0/Poppler-0.18.typelib - -%files glib-devel -%{_libdir}/pkgconfig/poppler-glib.pc -%{_libdir}/libpoppler-glib.so -%{_datadir}/gir-1.0/Poppler-0.18.gir -%{_includedir}/poppler/glib/ - -%files glib-doc -%license COPYING -%{_datadir}/gtk-doc/ - -%if %{with qt} -%files qt5 -%{_libdir}/libpoppler-qt5.so.1* - -%files qt5-devel -%{_libdir}/libpoppler-qt5.so -%{_libdir}/pkgconfig/poppler-qt5.pc -%{_includedir}/poppler/qt5/ -%endif - -%if 0%{?qt6} -%files qt6 -%{_libdir}/libpoppler-qt6.so.3* - -%files qt6-devel -%{_libdir}/libpoppler-qt6.so -%{_libdir}/pkgconfig/poppler-qt6.pc -%{_includedir}/poppler/qt6/ -%endif - -%files cpp -%{_libdir}/libpoppler-cpp.so.0* - -%files cpp-devel -%{_libdir}/pkgconfig/poppler-cpp.pc -%{_libdir}/libpoppler-cpp.so -%{_includedir}/poppler/cpp - -%files utils -%{_bindir}/pdf* -%{_mandir}/man1/* - -%changelog -* Sun Oct 30 2022 windowsboy111 - 22.10.0 -- Repackaged for Terra - -* Wed Oct 05 2022 Marek Kasik - 22.08.0-3 -- Check for overflow when computing number of symbols -- in JBIG2 text region -- Resolves: #2124530 - -* Tue Sep 6 2022 Amit Shah - 22.08.0-2 -- Allow building without Qt - -* Tue Aug 2 2022 Marek Kasik - 22.08.0-1 -- Update to 22.08.0 -- Resolves: #2049336 - -* Fri Jul 22 2022 Fedora Release Engineering - 22.01.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Wed Jun 15 2022 Marek Kasik - 22.01.0-5 -- Don't run out of file for Hints -- Resolves: #2090965 - -* Fri May 20 2022 Sandro Mani - 22.01.0-4 -- Rebuild for gdal-3.5.0 and/or openjpeg-2.5.0 - -* Fri Jan 21 2022 Fedora Release Engineering - 22.01.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jan 14 2022 Sandro Mani - 22.01.0-2 -- Enable qt6 - -* Thu Jan 13 2022 Marek Kasik - 22.01.0-1 -- Update to 22.01.0 -- Resolves: #2000346 - -* Mon Aug 2 2021 Marek Kasik - 21.08.0-1 -- Update to 21.08.0 -- Resolves: #1923798, #1988844 - -* Mon Jul 26 2021 Marek Kasik - 21.07.0-2 -- Disable qt6 frontend as it doesn't build on s390x -- Resolves: #1923798 - -* Mon Jul 26 2021 Marek Kasik - 21.07.0-1 -- Update to 21.07.0 -- Add requirement of boost for performance gain in splash -- Add qt6 subpackages -- Resolves: #1923798 - -* Fri Jul 23 2021 Fedora Release Engineering - 21.01.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Tue Jun 1 2021 Marek Kasik - 21.01.0-7 -- Fix showing of non-ASCII characters in annotations -- Resolves: #1958673 - -* Tue Mar 30 2021 Jonathan Wakely - 21.01.0-6 -- Rebuilt for removed libstdc++ symbol (#1937698) - -* Tue Feb 9 2021 Marek Kasik - 21.01.0-5 -- Obsolete Qt4 frontend -- Resolves: #1926010 - -* Wed Jan 27 2021 Fedora Release Engineering - 21.01.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Fri Jan 15 2021 Marek Kasik - 21.01.0-3 -- Improve the previous fix -- Resolves: #1915776 - -* Wed Jan 13 2021 Marek Kasik - 21.01.0-2 -- Fix multilib property of poppler-glib -- by using the same build directory for all architectures -- Resolves: #1915776 - -* Mon Jan 11 2021 Marek Kasik - 21.01.0-1 -- Update to 21.01.0 -- Remove the Qt4 frontend -- Resolves: #1673727 - -* Mon Dec 07 2020 Marek Kasik - 0.90.0-8 -- Build Qt4 frontend on Fedora only - -* Sat Oct 31 2020 Jeff Law - 0.90.0-7 -- Fix bogus volatiles caught by gcc-11 - -* Tue Aug 04 2020 Marek Kasik - 0.90.0-6 -- Align poppler with -- https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds -- Resolves: #1865248 - -* Sat Aug 01 2020 Fedora Release Engineering - 0.90.0-5 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jul 28 2020 Fedora Release Engineering - 0.90.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jul 10 2020 Marek Kasik - 0.90.0-3 -- Fix some other issues. -- Resolves: #1673727 - -* Fri Jul 10 2020 Marek Kasik - 0.90.0-2 -- Compile poppler with position independent code turned on. -- Otherwise it doesn't build on Fedora 33. -- Resolves: #1673727 - -* Wed Jul 08 2020 Marek Kasik - 0.90.0-1 -- Update to 0.90.0 -- Resolves: #1673727 - -* Thu Jan 30 2020 Fedora Release Engineering - 0.84.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Fri Jan 17 2020 Marek Kasik - 0.84.0-1 -- Update to 0.84.0 -- Resolves: #1673727 - -* Fri Dec 20 2019 Marek Kasik - 0.73.0-15 -- Check scaled dimensions for 0 -- Resolves: #1785416 - -* Wed Jul 24 2019 Marek Kasik - 0.73.0-14 -- Ignore dict Length if it is broken -- Resolves: #1732342 - -* Thu May 30 2019 Marek Kasik - 0.73.0-13 -- Don't read outside of image buffer in PSOutputDev -- Resolves: #1696640 - -* Thu May 30 2019 Marek Kasik - 0.73.0-12 -- SplashXPathScanner::clipAALine: Fix crash on broken file -- Resolves: #1696640 - -* Thu May 30 2019 Marek Kasik - 0.73.0-11 -- Restrict filling of overlapping boxes in Splash -- Resolves: #1696640 - -* Wed May 29 2019 Marek Kasik - 0.73.0-10 -- Fail gracefully if not all components of JPEG2000Stream -- have the same size -- Resolves: #1713585 - -* Wed Apr 17 2019 Marek Kasik - 0.73.0-9 -- Fix infinite loop in broken files -- Resolves: #1699863 - -* Mon Apr 1 2019 Marek Kasik - 0.73.0-8 -- Constrain number of cycles in rescale filter -- Compute correct coverage values for box filter -- Resolves: #1686803 - -* Mon Apr 1 2019 Marek Kasik - 0.73.0-7 -- Fix stack overflow on broken file -- Resolves: #1691725 - -* Mon Mar 11 2019 Marek Kasik - 0.73.0-6 -- Fix possible crash on broken files in ImageStream::getLine() -- Resolves: #1683633 - -* Fri Mar 8 2019 Marek Kasik - 0.73.0-5 -- Synchronize previous patch with upstream -- Related: #1665274 - -* Wed Feb 20 2019 Marek Kasik - 0.73.0-4 -- Check Catalog from XRef for being a Dict -- Resolves: #1665274 - -* Wed Feb 20 2019 Marek Kasik - 0.73.0-3 -- Defend against requests for negative XRef indices -- Resolves: #1672420 - -* Sat Feb 02 2019 Fedora Release Engineering - 0.73.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jan 25 2019 Marek Kasik - 0.73.0-1 -- Update to 0.73.0 - -* Tue Jan 22 2019 Marek Kasik - 0.67.0-10 -- Avoid global display profile state becoming an uncontrolled -- memory leak -- Resolves: #1646549 - -* Mon Jan 21 2019 Marek Kasik - 0.67.0-9 -- Do not try to parse into unallocated XRef entry -- Resolves: #1665268 - -* Mon Jan 21 2019 Marek Kasik - 0.67.0-8 -- Move the fileSpec.dictLookup call inside fileSpec.isDict if -- Resolves: #1665264 - -* Mon Jan 21 2019 Marek Kasik - 0.67.0-7 -- Do not try to construct invalid rich media annotation assets -- Resolves: #1665260 - -* Thu Nov 15 2018 Marek Kasik - 0.67.0-6 -- Check for valid file name of embedded file -- Resolves: #1649451 - -* Thu Nov 15 2018 Marek Kasik - 0.67.0-5 -- Check for valid embedded file before trying to save it -- Resolves: #1649441 - -* Thu Nov 15 2018 Marek Kasik - 0.67.0-4 -- Check for stream before calling stream methods -- when saving an embedded file -- Resolves: #1649436 - -* Mon Nov 12 2018 Marek Kasik - 0.67.0-3 -- Avoid cycles in PDF parsing -- Resolves: #1626620 - -* Wed Oct 17 2018 Marek Kasik - 0.67.0-2 -- Fix crash on missing embedded file -- Resolves: #1569334 - -* Tue Aug 14 2018 Marek Kasik - 0.67.0-1 -- Update to 0.67.0 -- Resolves: #1568641 - -* Tue Aug 7 2018 Marek Kasik - 0.63.0-8 -- Fix tiling patterns when pattern cell is too far -- Resolves: #1557355 - -* Tue Jul 31 2018 Florian Weimer - 0.63.0-7 -- Rebuild with fixed binutils - -* Fri Jul 27 2018 Igor Gnatenko - 0.63.0-6 -- Rebuild for new binutils - -* Thu Jul 26 2018 Marek Kasik - 0.63.0-5 -- Fix crash when Object has negative number (CVE-2018-13988) -- Resolves: #1607461 - -* Mon Jul 23 2018 Marek Kasik - 0.63.0-4 -- Use /usr/bin/python3 explicitly -- https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3#Transition_Steps -- Resolves: #1605490 - -* Fri Jul 13 2018 Fedora Release Engineering - 0.63.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Mon May 28 2018 Marek Kasik - 0.63.0-2 -- Fix infinite recursion (CVE-2017-18267) -- Resolves: #1578780 - -* Fri Mar 23 2018 Marek Kasik - 0.63.0-1 -- Update to 0.63.0 -- Resolves: #1558001 - -* Wed Mar 07 2018 Rex Dieter - 0.62.0-2 -- BR: gcc-c++, use %%ldconfig_scriptlets %%make_build %%make_install - -* Wed Feb 14 2018 David Tardon - 0.62.0-1 -- new upstream release - -* Fri Feb 09 2018 Fedora Release Engineering - 0.61.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Tue Nov 14 2017 David Tardon - 0.61.1-1 -- new upstream release - -* Mon Nov 06 2017 David Tardon - 0.61.0-1 -- new upstream release - -* Tue Oct 24 2017 Rex Dieter - 0.60.1-2 -- -qt5: drop hard-coded versioned dependency - -* Wed Oct 04 2017 David Tardon - 0.60.0-1 -- new upstream release - -* Mon Sep 25 2017 Caolán McNamara - 0.59.0-2 -- Resolves: rhbz#1494583 CVE-2017-14520 - -* Mon Sep 04 2017 David Tardon - 0.59.0-1 -- new upstream release - -* Thu Aug 03 2017 David Tardon - 0.57.0-1 -- new upstream release - -* Thu Aug 03 2017 Fedora Release Engineering - 0.56.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.56.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed Jul 12 2017 Caolán McNamara - 0.56.0-2 -- Resolves: rhbz#1459067 CVE-2017-7515 CVE-2017-9775 CVE-2017-9776 CVE-2017-9865 - -* Fri Jun 23 2017 David Tardon - 0.56.0-1 -- new upstream release - -* Tue May 30 2017 Caolán McNamara - 0.55.0-2 -- Resolves: rhbz#1456828 CVE-2017-7511 Null pointer deference - -* Tue May 23 2017 David Tardon - 0.55.0-1 -- new upstream release - -* Mon Mar 20 2017 David Tardon - 0.53.0-1 -- new upstream release - -* Fri Feb 17 2017 David Tardon - 0.52.0-1 -- new upstream release - -* Sat Feb 11 2017 Fedora Release Engineering - 0.51.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Jan 16 2017 Caolán McNamara - 0.51.0-1 -- new upstream release - -* Fri Dec 16 2016 David Tardon - 0.50.0-1 -- new upstream release - -* Tue Nov 22 2016 David Tardon - 0.49.0-1 -- new upstream release - -* Fri Oct 21 2016 Marek Kasik - 0.48.0-1 -- Update to 0.48.0 -- Resolves: #1359555 - -* Mon Sep 26 2016 Marek Kasik - 0.45.0-2 -- Don't crash when calling cmsGetColorSpace() -- Resolves: #1363669 - -* Mon Jul 18 2016 Marek Kasik - 0.45.0-1 -- Update to 0.45.0 -- Resolves: #1338421 - -* Mon Jul 11 2016 Marek Kasik - 0.43.0-2 -- Restore the current position of char also in output device -- Related: #1352717 - -* Tue May 3 2016 Marek Kasik - 0.43.0-1 -- Update to 0.43.0 -- Resolves: #1318462 - -* Fri Feb 26 2016 Marek Kasik - 0.41.0-1 -- Update to 0.41.0 -- Resolves: #1309145 - -* Thu Feb 04 2016 Fedora Release Engineering - 0.40.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jan 22 2016 Marek Kasik - 0.40.0-1 -- Update to 0.40.0 -- Resolves: #1251781 - -* Wed Jul 22 2015 Marek Kasik - 0.34.0-1 -- Update to 0.34.0 -- Resolves: #1241305 - -* Thu Jun 18 2015 Fedora Release Engineering - 0.33.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Fri Jun 5 2015 Marek Kasik - 0.33.0-1 -- Update to 0.33.0 -- Resolves: #1190427 - -* Sat May 02 2015 Kalev Lember - 0.30.0-5 -- Rebuilt for GCC 5 C++11 ABI change - -* Thu Mar 26 2015 Marek Kasik - 0.30.0-4 -- Respect orientation when selecting words -- Resolves: #1185007 - -* Sat Feb 21 2015 Till Maas - 0.30.0-3 -- Rebuilt for Fedora 23 Change - https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code - -* Fri Jan 23 2015 Marek Kasik - 0.30.0-2 -- Use libopenjpeg2 instead of libopenjpeg - -* Fri Jan 23 2015 Marek Kasik - 0.30.0-1 -- Update to 0.30.0 -- Resolves: #1171056 - -* Tue Jan 20 2015 Marek Kasik - 0.28.1-3 -- Revert previous commit (It needs poppler-0.30.0) - -* Tue Jan 20 2015 Marek Kasik - 0.28.1-2 -- Use libopenjpeg2 instead of libopenjpeg - -* Fri Nov 14 2014 Marek Kasik - 0.28.1-1 -- Update to 0.28.1 -- Resolves: #1147443 - -* Wed Aug 27 2014 Marek Kasik - 0.26.4-1 -- Update to 0.26.4 - -* Sun Aug 17 2014 Fedora Release Engineering - 0.26.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Wed Jul 30 2014 Marek Kasik - 0.26.3-1 -- Update to 0.26.3 - -* Tue Jul 22 2014 Kalev Lember - 0.26.2-2 -- Rebuilt for gobject-introspection 1.41.4 - -* Fri Jun 27 2014 Marek Kasik - 0.26.2-1 -- Update to 0.26.2 - -* Sat Jun 07 2014 Fedora Release Engineering - 0.26.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Tue May 13 2014 Marek Kasik - 0.26.0-1 -- Update to 0.26.0 - -* Fri Jan 3 2014 Marek Kasik - 0.24.3-3 -- Use correct format string -- Resolves: #1048202 - -* Mon Nov 11 2013 Rex Dieter 0.24.3-2 -- rebuild (qt5 qreal/arm) - -* Tue Oct 29 2013 Marek Kasik - 0.24.3-1 -- Update to 0.24.3 -- Resolves: #1023712 - -* Fri Oct 18 2013 Rex Dieter - 0.24.2-4 -- fix mocversiongrep configure checks (so Qt 5.2 works) -- %%configure --disable-silent-rules - -* Fri Oct 18 2013 Rex Dieter 0.24.2-3 -- undo ExcludeArch: ppc ppc64 (qt5-qtbase-5.1.1-6+ fixed) - -* Thu Oct 17 2013 Rex Dieter 0.24.2-2 -- -qt5: ExcludeArch: ppc ppc64 (f20, hopefully temporary) - -* Mon Sep 30 2013 Marek Kasik - 0.24.2-1 -- Update to 0.24.2 - -* Mon Sep 30 2013 Marek Kasik - 0.24.1-2 -- Don't convert pdftohtml.1 to UTF-8, it is already UTF-8 - -* Tue Aug 27 2013 Marek Kasik - 0.24.1-1 -- Update to 0.24.1 - -* Tue Aug 20 2013 Marek Kasik - 0.24.0-2 -- Fix Qt5 requirements - -* Mon Aug 19 2013 Marek Kasik - 0.24.0-1 -- Update to 0.24.0 - -* Sun Aug 04 2013 Fedora Release Engineering - 0.22.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Mon Jun 24 2013 Marek Kasik 0.22.5-1 -- Update to 0.22.5 - -* Thu Jun 20 2013 Marek Kasik 0.22.1-5 -- Switch from LCMS to LCMS2 -- Resolves: #975465 - -* Wed Jun 5 2013 Marek Kasik 0.22.1-4 -- Fix changelog dates - -* Fri Apr 12 2013 Marek Kasik 0.22.1-3 -- Enable generating of TIFF files by pdftoppm - -* Thu Apr 11 2013 Marek Kasik 0.22.1-2 -- Fix man pages of pdftops and pdfseparate - -* Wed Feb 27 2013 Marek Kasik 0.22.1-1 -- Update to 0.22.1 - -* Thu Feb 14 2013 Fedora Release Engineering - 0.22.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Sun Jan 20 2013 Rex Dieter 0.22.0-2 -- -demos: omit extraneous (and broken) dep - -* Fri Jan 18 2013 Marek Kasik 0.22.0-1 -- Update to 0.22.0 - -* Tue Nov 13 2012 Marek Kasik 0.20.2-9 -- Move poppler-glib-demo to new sub-package demos -- Resolves: #872338 - -* Mon Nov 12 2012 Marek Kasik 0.20.2-8 -- Add references to corresponding bugs for poppler-0.20.3-5.patch - -* Tue Nov 6 2012 Marek Kasik 0.20.2-7 -- Add missing hunk to patch poppler-0.20.3-5.patch - -* Tue Nov 6 2012 Marek Kasik 0.20.2-6 -- Backport most of the changes from poppler-0.20.3 - poppler-0.20.5 -- (those which doesn't change API or ABI and are important) -- See poppler-0.20.3-5.patch for detailed list of included commits - -* Wed Oct 31 2012 Marek Kasik 0.20.2-5 -- Remove unused patch - -* Wed Oct 31 2012 Marek Kasik 0.20.2-4 -- Update License field - -* Mon Aug 6 2012 Marek Kasik 0.20.2-3 -- Fix conversion to ps when having multiple strips - -* Mon Aug 6 2012 Marek Kasik 0.20.2-2 -- Make sure xScale and yScale are always initialized -- Resolves: #840515 - -* Mon Aug 6 2012 Marek Kasik 0.20.2-1 -- Update to 0.20.2 - -* Mon Aug 6 2012 Marek Kasik 0.20.1-3 -- Try empty string instead of NULL as password if needed -- Resolves: #845578 - -* Sat Jul 21 2012 Fedora Release Engineering - 0.20.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Mon Jul 2 2012 Marek Kasik 0.20.1-1 -- Update to 0.20.1 - -* Mon Jun 25 2012 Nils Philippsen -- license is "GPLv2 or GPLv3" from poppler-0.20.0 on (based off xpdf-3.03) - -* Wed May 16 2012 Marek Kasik 0.20.0-1 -- Update to 0.20.0 - -* Fri May 4 2012 Marek Kasik 0.18.4-3 -- Backport of a patch which sets mask matrix before drawing an image with a mask -- Resolves: #817378 - -* Tue Feb 28 2012 Fedora Release Engineering - 0.18.4-2 -- Rebuilt for c++ ABI breakage - -* Sat Feb 18 2012 Rex Dieter 0.18.4-1 -- 0.18.4 - -* Thu Feb 09 2012 Rex Dieter 0.18.3-3 -- rebuild (openjpeg) - -* Tue Jan 17 2012 Rex Dieter 0.18.3-2 -- -devel: don't own all headers - -* Mon Jan 16 2012 Rex Dieter 0.18.3-1 -- 0.18.3 - -* Sat Jan 14 2012 Fedora Release Engineering - 0.18.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Dec 06 2011 Marek Kasik - 0.18.2-1 -- Update to 0.18.2 -- Remove upstreamed patches - -* Mon Dec 05 2011 Adam Jackson 0.18.1-3 -- Rebuild for new libpng - -* Fri Oct 28 2011 Rex Dieter 0.18.1-2 -- poppler-glib.pc pkgconfig file broken (#749898) -- %%check: verify pkgconfig sanity - -* Fri Oct 28 2011 Rex Dieter 0.18.1-1 -- Update to 0.18.1 -- pkgconfig-style deps -- tighten deps with %%_isa - -* Fri Sep 30 2011 Marek Kasik - 0.18.0-2 -- rebuild - -* Fri Sep 30 2011 Marek Kasik - 0.18.0-1 -- Update to 0.18.0 - -* Mon Sep 26 2011 Marek Kasik - 0.17.3-2 -- Don't include pdfextract and pdfmerge in resulting packages for now -- since they conflict with packages pdfmerge and mupdf (#740906) - -* Mon Sep 19 2011 Marek Kasik - 0.17.3-1 -- Update to 0.17.3 - -* Wed Aug 17 2011 Marek Kasik - 0.17.0-2 -- Fix a problem with freeing of memory in PreScanOutputDev (#730941) - -* Fri Jul 15 2011 Marek Kasik - 0.17.0-1 -- Update to 0.17.0 - -* Thu Jun 30 2011 Rex Dieter 0.16.7-1 -- 0.16.7 - -* Wed Jun 22 2011 Marek Kasik - 0.16.6-2 -- Drop dependency on gtk-doc (#604412) - -* Thu Jun 2 2011 Marek Kasik - 0.16.6-1 -- Update to 0.16.6 - -* Thu May 5 2011 Marek Kasik - 0.16.5-1 -- Update to 0.16.5 - -* Thu Mar 31 2011 Marek Kasik - 0.16.4-1 -- Update to 0.16.4 - -* Sun Mar 13 2011 Marek Kasik - 0.16.3-2 -- Update to 0.16.3 - -* Sun Mar 13 2011 Marek Kasik - 0.16.3-1 -- Update to 0.16.3 - -* Wed Feb 09 2011 Fedora Release Engineering - 0.16.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Wed Feb 2 2011 Marek Kasik - 0.16.2-1 -- Update to 0.16.2 - -* Tue Jan 18 2011 Rex Dieter - 0.16.0-3 -- drop qt3 bindings -- rename -qt4 -> -qt - -* Wed Jan 12 2011 Rex Dieter - 0.16.0-2 -- rebuild (openjpeg) - -* Mon Dec 27 2010 Rex Dieter - 0.16.0-1 -- 0.16.0 - -* Fri Dec 10 2010 Marek Kasik - 0.15.3-1 -- Update to 0.15.3 - -* Mon Nov 1 2010 Marek Kasik - 0.15.1-1 -- Update to 0.15.1 -- Remove CVE-2010-3702, 3703 and 3704 patches (they are already in 0.15.1) - -* Thu Oct 7 2010 Marek Kasik - 0.15.0-5 -- Add poppler-0.15.0-CVE-2010-3702.patch - (Properly initialize parser) -- Add poppler-0.15.0-CVE-2010-3703.patch - (Properly initialize stack) -- Add poppler-0.15.0-CVE-2010-3704.patch - (Fix crash in broken pdf (code < 0)) -- Resolves: #639861 - -* Wed Sep 29 2010 jkeating - 0.15.0-4 -- Rebuilt for gcc bug 634757 - -* Mon Sep 27 2010 Marek Kasik - 0.15.0-3 -- Remove explicit requirement of gobject-introspection - -* Fri Sep 24 2010 Marek Kasik - 0.15.0-2 -- Move requirement of gobject-introspection to glib sub-package - -* Fri Sep 24 2010 Marek Kasik - 0.15.0-1 -- Update to 0.15.0 -- Enable introspection - -* Sat Sep 11 2010 Rex Dieter - 0.14.3-1 -- Update to 0.14.3 - -* Thu Aug 19 2010 Marek Kasik - 0.14.2-1 -- Update to 0.14.2 -- Remove poppler-0.12.1-objstream.patch - -* Fri Jul 16 2010 Marek Kasik - 0.14.1-1 -- Update to 0.14.1 -- Don't apply poppler-0.12.1-objstream.patch, it is not needed anymore - -* Fri Jun 18 2010 Matthias Clasen - 0.14.0-1 -- Update to 0.14.0 - -* Wed May 26 2010 Marek Kasik - 0.13.4-1 -- poppler-0.13.4 - -* Mon May 3 2010 Marek Kasik - 0.13.3-2 -- Update "sources" file -- Add BuildRequires "gettext-devel" - -* Fri Apr 30 2010 Marek Kasik - 0.13.3-1 -- poppler-0.13.3 - -* Thu Mar 4 2010 Marek Kasik - 0.12.4-2 -- Fix showing of radio buttons (#480868) - -* Thu Feb 18 2010 Rex Dieter - 0.12.4-1 -- popper-0.12.4 - -* Tue Feb 16 2010 Marek Kasik - 0.12.3-9 -- Fix downscaling of rotated pages (#563353) - -* Thu Jan 28 2010 Marek Kasik - 0.12.3-8 -- Get current FcConfig before using it (#533992) - -* Sun Jan 24 2010 Rex Dieter - 0.12.3-7 -- use alternative/upstream downscale patch (#556549, fdo#5589) - -* Wed Jan 20 2010 Marek Kasik - 0.12.3-6 -- Add dependency on poppler-data (#553991) - -* Tue Jan 19 2010 Rex Dieter - 0.12.3-5 -- cairo backend, scale images correctly (#556549, fdo#5589) - -* Fri Jan 15 2010 Rex Dieter - 0.12.3-4 -- Sanitize versioned Obsoletes/Provides - -* Fri Jan 15 2010 Marek Kasik - 0.12.3-3 -- Correct permissions of goo/GooTimer.h -- Convert pdftohtml.1 to utf8 -- Make the pdftohtml's Provides/Obsoletes versioned - -* Thu Jan 07 2010 Rex Dieter - 0.12.3-1 -- poppler-0.12.3 - -* Mon Nov 23 2009 Rex Dieter - 0.12.2-1 -- poppler-0.12.2 - -* Sun Oct 25 2009 Rex Dieter - 0.12.1-3 -- CVE-2009-3607 poppler: create_surface_from_thumbnail_data - integer overflow (#526924) - -* Mon Oct 19 2009 Rex Dieter - 0.12.1-1 -- poppler-0.12.1 -- deprecate xpdf/pdftohtml Conflicts/Obsoletes - -* Wed Sep 09 2009 Rex Dieter - 0.12.0-1 -- Update to 0.12.0 - -* Tue Aug 18 2009 Rex Dieter - 0.11.3-1 -- Update to 0.11.3 - -* Mon Aug 3 2009 Matthias Clasen - 0.11.2-1 -- Update to 0.11.2 - -* Sun Jul 26 2009 Fedora Release Engineering - 0.11.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Tue Jun 23 2009 Rex Dieter - 0.11.1-2 -- omit poppler-data (#507675) - -* Tue Jun 23 2009 Rex Dieter - 0.11.1-1 -- poppler-0.11.1 - -* Mon Jun 22 2009 Rex Dieter - 0.11.0-6 -- reduce lib deps in qt/qt4 pkg-config support - -* Sat Jun 20 2009 Rex Dieter - 0.11.0-5 -- --enable-libjpeg -- (explicitly) --disable-zlib - -* Fri Jun 19 2009 Rex Dieter - 0.11.0-3 -- --enable-libopenjpeg, --disable-zlib - -* Sun May 24 2009 Rex Dieter - 0.11.0-2 -- update changelog -- track sonames - -* Tue May 19 2009 Bastien Nocera - 0.11.0-1 -- Update to 0.11.0 - -* Thu Mar 12 2009 Matthias Clasen - 0.10.5-1 -- Update to 0.10.5 - -* Thu Feb 26 2009 Fedora Release Engineering - 0.10.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Tue Feb 17 2009 Matthias Clasen - 0.10.4-1 -- Update to 0.10.4 - -* Tue Jan 20 2009 Rex Dieter - 0.10.3-2 -- add needed scriptlets -- nuke rpaths - -* Tue Jan 13 2009 Matthias Clasen - 0.10.3-1 -- Update to 0.10.3 - -* Wed Dec 17 2008 Matthias Clasen - 0.10.2-1 -- Update to 0.10.2 - -* Tue Nov 11 2008 Matthias Clasen - 0.10.1-1 -- Update to 0.10.1 and -data 0.2.1 - -* Tue Sep 16 2008 Rex Dieter - 0.8.7-2 -- cleanup qt3 hack -- %%description cosmetics - -* Sun Sep 7 2008 Matthias Clasen - 0.8.7-1 -- Update to 0.8.7 - -* Fri Aug 22 2008 Matthias Clasen - 0.8.6-1 -- Update to 0.8.6 - -* Tue Aug 05 2008 Colin Walters - 0.8.5-1 -- Update to 0.8.5 - -* Wed Jun 4 2008 Matthias Clasen - 0.8.3-1 -- Update to 0.8.3 - -* Mon Apr 28 2008 Matthias Clasen - 0.8.1-1 -- Update to 0.8.1 - -* Sun Apr 06 2008 Adam Jackson 0.8.0-3 -- poppler-0.8.0-ocg-crash.patch: Fix a crash when no optional content - groups are defined. -- Mangle configure to account for the new directory for qt3 libs. -- Fix grammar in %%description. - -* Tue Apr 01 2008 Rex Dieter - 0.8.0-2 -- -qt-devel: Requires: qt3-devel - -* Sun Mar 30 2008 Matthias Clasen - 0.8.0-1 -- Update to 0.8.0 - -* Sun Mar 23 2008 Matthias Clasen - 0.7.3-1 -- Update to 0.7.3 - -* Wed Mar 12 2008 Matthias Clasen - 0.7.2-1 -- Update to 0.7.2 - -* Thu Feb 28 2008 Matthias Clasen - 0.7.1-1 -- Update to 0.7.1 - -* Thu Feb 21 2008 Matthias Clasen - 0.7.0-1 -- Update to 0.7.0 - -* Tue Feb 19 2008 Fedora Release Engineering - 0.6.4-4 -- Autorebuild for GCC 4.3 - -* Mon Feb 18 2008 Jindrich Novy - 0.6.4-3 -- apply ObjStream patch (#433090) - -* Tue Jan 29 2008 Matthias Clasen - 0.6.4-2 -- Add some required inter-subpackge deps - -* Tue Jan 29 2008 Matthias Clasen - 0.6.4-1 -- Update to 0.6.4 -- Split off poppler-glib - -* Sun Dec 2 2007 Matthias Clasen - 0.6.2-3 -- Fix the qt3 checks some more - -* Wed Nov 28 2007 Matthias Clasen - 0.6.2-2 -- package xpdf headers in poppler-devel (Jindrich Novy) -- Fix qt3 detection (Denis Leroy) - -* Thu Nov 22 2007 Matthias Clasen - 0.6.2-1 -- Update to 0.6.2 - -* Thu Oct 11 2007 Rex Dieter - 0.6-2 -- include qt4 wrapper - -* Tue Sep 4 2007 Kristian Høgsberg - 0.6-1 -- Update to 0.6 - -* Wed Aug 15 2007 Matthias Clasen - 0.5.91-2 -- Remove debug spew - -* Tue Aug 14 2007 Matthias Clasen - 0.5.91-1 -- Update to 0.5.91 - -* Wed Aug 8 2007 Matthias Clasen - 0.5.9-2 -- Update the license field - -* Mon Jun 18 2007 Matthias Clasen - 0.5.9-1 -- Update to 0.5.9 - -* Thu Mar 1 2007 Bill Nottingham - 0.5.4-7 -- fix it so the qt pkgconfig/.so aren't in the main poppler-devel - -* Fri Dec 15 2006 Matthias Clasen - 0.5.4-5 -- Include epoch in the Provides/Obsoletes for xpdf-utils - -* Wed Dec 13 2006 Matthias Clasen - 0.5.4-4 -- Add Provides/Obsoletes for xpdf-utils (#219033) - -* Fri Dec 08 2006 Rex Dieter - 0.5.4-3 -- drop hard-wired: Req: gtk2 -- --disable-static -- enable qt wrapper -- -devel: Requires: pkgconfig - -* Sun Oct 01 2006 Jesse Keating - 0.5.4-2 -- rebuilt for unwind info generation, broken in gcc-4.1.1-21 - -* Thu Sep 21 2006 Kristian Høgsberg - 0.5.4-1.fc6 -- Rebase to 0.5.4, drop poppler-0.5.3-libs.patch, fixes #205813, - #205549, #200613, #172137, #172138, #161293 and more. - -* Wed Sep 13 2006 Kristian Høgsberg - 0.5.3-3.fc6 -- Move .so to -devel (#203637). - -* Mon Aug 14 2006 Matthias Clasen - 0.5.3-2.fc6 -- link against fontconfig (see bug 202256) - -* Wed Jul 12 2006 Jesse Keating - 0.5.3-1.1 -- rebuild - -* Wed May 31 2006 Kristian Høgsberg 0.5.3-1 -- Update to 0.5.3. - -* Mon May 22 2006 Kristian Høgsberg 0.5.2-1 -- Update to 0.5.2. - -* Wed Mar 1 2006 Kristian Høgsberg 0.5.1-2 -- Rebuild the get rid of old soname dependency. - -* Tue Feb 28 2006 Kristian Høgsberg 0.5.1-1 -- Update to version 0.5.1. - -* Fri Feb 10 2006 Jesse Keating - 0.5.0-4.2 -- bump again for double-long bug on ppc(64) - -* Tue Feb 07 2006 Jesse Keating - 0.5.0-4.1 -- rebuilt for new gcc4.1 snapshot and glibc changes - -* Wed Jan 18 2006 Ray Strode - 0.5.0-4 -- change xpdf conflict version to be <= instead of < - -* Wed Jan 18 2006 Ray Strode - 0.5.0-3 -- update conflicts: xpdf line to be versioned - -* Wed Jan 11 2006 Kristian Høgsberg - 0.5.0-2.0 -- Update to 0.5.0 and add poppler-utils subpackage. -- Flesh out poppler-utils subpackage. - -* Fri Dec 09 2005 Jesse Keating -- rebuilt - -* Sun Sep 4 2005 Kristian Høgsberg - 0.4.2-1 -- Update to 0.4.2 and disable splash backend so we don't build it. - -* Fri Aug 26 2005 Marco Pesenti Gritti - 0.4.1-2 -- Rebuild - -* Fri Aug 26 2005 Marco Pesenti Gritti - 0.4.1-1 -- Update to 0.4.1 - -* Wed Aug 17 2005 Kristian Høgsberg - 0.4.0-2 -- Bump release and rebuild. - -* Wed Aug 17 2005 Marco Pesenti gritti - 0.4.0-1 -- Update to 0.4.0 - -* Mon Aug 15 2005 Kristian Høgsberg - 0.3.3-2 -- Rebuild to pick up new cairo soname. - -* Mon Jun 20 2005 Kristian Høgsberg - 0.3.3-1 -- Update to 0.3.3 and change to build cairo backend. - -* Sun May 22 2005 Marco Pesenti gritti - 0.3.2-1 -- Update to 0.3.2 - -* Sat May 7 2005 Marco Pesenti Gritti - 0.3.1 -- Update to 0.3.1 - -* Sat Apr 23 2005 Marco Pesenti Gritti - 0.3.0 -- Update to 0.3.0 - -* Wed Apr 13 2005 Florian La Roche -- remove empty post/postun scripts - -* Wed Apr 6 2005 Marco Pesenti Gritti - 0.2.0-1 -- Update to 0.2.0 - -* Sat Mar 12 2005 Marco Pesenti Gritti - 0.1.2-1 -- Update to 0.1.2 -- Use tar.gz because there are not bz of poppler - -* Wed Mar 2 2005 Marco Pesenti Gritti - 0.1.1-1 -- Initial build diff --git a/anda/moby-extras/moby-buildx/anda.hcl b/anda/moby-extras/moby-buildx/anda.hcl index 3c7af3dc26..b9e299d62f 100644 --- a/anda/moby-extras/moby-buildx/anda.hcl +++ b/anda/moby-extras/moby-buildx/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "moby-buildx.spec" - sources = "." + update = "" } -} \ No newline at end of file +} diff --git a/anda/moby-extras/moby-buildx/update.rhai b/anda/moby-extras/moby-buildx/update.rhai new file mode 100644 index 0000000000..46556d11b8 --- /dev/null +++ b/anda/moby-extras/moby-buildx/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("docker/buildx")); diff --git a/anda/moby-extras/moby-compose/anda.hcl b/anda/moby-extras/moby-compose/anda.hcl index 563a19d717..4f531f913c 100644 --- a/anda/moby-extras/moby-compose/anda.hcl +++ b/anda/moby-extras/moby-compose/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "moby-compose.spec" - sources = "." + update = "" } -} \ No newline at end of file +} diff --git a/anda/moby-extras/moby-compose/update.rhai b/anda/moby-extras/moby-compose/update.rhai new file mode 100644 index 0000000000..b9641daa12 --- /dev/null +++ b/anda/moby-extras/moby-compose/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("docker/compose")); diff --git a/anda/mock-configs/anda.hcl b/anda/mock-configs/anda.hcl index 421770214f..602bebe425 100644 --- a/anda/mock-configs/anda.hcl +++ b/anda/mock-configs/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "anda-mock-configs.spec" - sources = "." } -} \ No newline at end of file +} diff --git a/anda/others/blackbox-terminal/anda.hcl b/anda/others/blackbox-terminal/anda.hcl index 2c7ba6d502..78b0646780 100644 --- a/anda/others/blackbox-terminal/anda.hcl +++ b/anda/others/blackbox-terminal/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "blackbox-terminal.spec" - sources = "." + update = "" } } diff --git a/anda/others/blackbox-terminal/chkupdate.py b/anda/others/blackbox-terminal/chkupdate.py deleted file mode 100644 index c79172e558..0000000000 --- a/anda/others/blackbox-terminal/chkupdate.py +++ /dev/null @@ -1,21 +0,0 @@ -import os -import requests -import re - -NAME = 'blackbox-terminal' -ID = 20397 -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://gitlab.gnome.org/api/v4/projects/{ID}/releases/' - - -# BIG ASSUMPTION THAT IT'S THE FIRST ONE :3 -ver = requests.get(LINK).json()[0]['tag_name'] -ver = ver[1:] # starts with v -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/others/blackbox-terminal/update.rhai b/anda/others/blackbox-terminal/update.rhai new file mode 100644 index 0000000000..1a35a5967e --- /dev/null +++ b/anda/others/blackbox-terminal/update.rhai @@ -0,0 +1,4 @@ +let txt = get("https://gitlab.gnome.org/api/v4/projects/20397/releases/"); +let ver = str(json(txt) @ 0 @ "tag_name"); +ver.crop(1); +rpm.version(ver); diff --git a/anda/others/sass/anda.hcl b/anda/others/sass/anda.hcl index 80ca8d915f..c918d031d7 100644 --- a/anda/others/sass/anda.hcl +++ b/anda/others/sass/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "sass.spec" - sources = "." + update = "" } -} \ No newline at end of file +} diff --git a/anda/others/sass/chkupdate.py b/anda/others/sass/chkupdate.py deleted file mode 100644 index 1e3730bf9d..0000000000 --- a/anda/others/sass/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'sass' -REPO = "sass/dart-sass" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/others/sass/update.rhai b/anda/others/sass/update.rhai new file mode 100644 index 0000000000..c8b01ad2f4 --- /dev/null +++ b/anda/others/sass/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("sass/dart-sass")); diff --git a/anda/others/tau-helium/anda.hcl b/anda/others/tau-helium/anda.hcl index 3bdbbbbc35..22a3b962a6 100644 --- a/anda/others/tau-helium/anda.hcl +++ b/anda/others/tau-helium/anda.hcl @@ -1,5 +1,6 @@ project "pkg" { rpm { spec = "tau-helium.spec" + update = "" } -} \ No newline at end of file +} diff --git a/anda/others/tau-helium/chkupdate.py b/anda/others/tau-helium/chkupdate.py deleted file mode 100644 index 5cb3b2f2e8..0000000000 --- a/anda/others/tau-helium/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'tau-helium' -REPO = "tau-OS/tau-helium" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/others/tau-helium/update.rhai b/anda/others/tau-helium/update.rhai new file mode 100644 index 0000000000..e0b9e5dfe1 --- /dev/null +++ b/anda/others/tau-helium/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("tau-OS/tau-helium")); diff --git a/anda/others/tau-hydrogen/anda.hcl b/anda/others/tau-hydrogen/anda.hcl index 86d42cce6c..38c2c730fa 100644 --- a/anda/others/tau-hydrogen/anda.hcl +++ b/anda/others/tau-hydrogen/anda.hcl @@ -1,5 +1,6 @@ project "pkg" { rpm { spec = "tau-hydrogen.spec" + update = "" } -} \ No newline at end of file +} diff --git a/anda/others/tau-hydrogen/chkupdate.py b/anda/others/tau-hydrogen/chkupdate.py deleted file mode 100644 index 91f4f3b268..0000000000 --- a/anda/others/tau-hydrogen/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'tau-hydrogen' -REPO = "tau-OS/tau-hydrogen" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/others/tau-hydrogen/update.rhai b/anda/others/tau-hydrogen/update.rhai new file mode 100644 index 0000000000..7adc5651ad --- /dev/null +++ b/anda/others/tau-hydrogen/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("tau-OS/tau-hydrogen")); diff --git a/anda/others/tectonic/anda.hcl b/anda/others/tectonic/anda.hcl index bb1c7fab20..8d4197c246 100644 --- a/anda/others/tectonic/anda.hcl +++ b/anda/others/tectonic/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "tectonic.spec" - sources = "." + update = "" } } diff --git a/anda/others/tectonic/chkupdate.py b/anda/others/tectonic/chkupdate.py deleted file mode 100644 index 91597b9b4b..0000000000 --- a/anda/others/tectonic/chkupdate.py +++ /dev/null @@ -1,19 +0,0 @@ -import os -import requests -import re - -NAME = 'tectonic' -REPO = "tectonic-typesetting/tectonic" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'][9:] -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/others/tectonic/update.rhai b/anda/others/tectonic/update.rhai new file mode 100644 index 0000000000..531ce646d9 --- /dev/null +++ b/anda/others/tectonic/update.rhai @@ -0,0 +1,3 @@ +let v = gh("tectonic-typesetting/tectonic"); +v.crop(9); +rpm.version(v); diff --git a/anda/rust/bat-extras/anda.hcl b/anda/rust/bat-extras/anda.hcl index 0bc2b83589..1b38b3121b 100644 --- a/anda/rust/bat-extras/anda.hcl +++ b/anda/rust/bat-extras/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "bat-extras.spec" - sources = "." } -} \ No newline at end of file +} diff --git a/anda/rust/bat-extras/update.rhai b/anda/rust/bat-extras/update.rhai new file mode 100644 index 0000000000..f1b34745a2 --- /dev/null +++ b/anda/rust/bat-extras/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("eth-p/bat-extras")); diff --git a/anda/rust/pop-launcher/anda.hcl b/anda/rust/pop-launcher/anda.hcl index bb1716288b..2c781b14db 100644 --- a/anda/rust/pop-launcher/anda.hcl +++ b/anda/rust/pop-launcher/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "pop-launcher.spec" - sources = "." } -} \ No newline at end of file +} diff --git a/anda/rust/pop-launcher/update.rhai b/anda/rust/pop-launcher/update.rhai new file mode 100644 index 0000000000..9e345dc572 --- /dev/null +++ b/anda/rust/pop-launcher/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("pop-os/launcher")); diff --git a/anda/rust/rnote/anda.hcl b/anda/rust/rnote/anda.hcl index e8f95cce88..a9969252af 100644 --- a/anda/rust/rnote/anda.hcl +++ b/anda/rust/rnote/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "rnote.spec" - sources = "." + update = "" } } diff --git a/anda/rust/rnote/chkupdate.py b/anda/rust/rnote/chkupdate.py deleted file mode 100644 index c6523fdeef..0000000000 --- a/anda/rust/rnote/chkupdate.py +++ /dev/null @@ -1,20 +0,0 @@ -import os -import requests -import re - -NAME = 'rnote' -REPO = "flxzt/rnote" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -ver = ver[1:] # starts with v -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/rust/rnote/rnote.spec b/anda/rust/rnote/rnote.spec index 3d9c6fb71f..50198b2ec4 100644 --- a/anda/rust/rnote/rnote.spec +++ b/anda/rust/rnote/rnote.spec @@ -1,5 +1,5 @@ Name: rnote -Version: 0.5.8 +Version: 0.5.9 Release: %autorelease Summary: Sketch and take handwritten notes. License: GPLv3 diff --git a/anda/rust/rnote/update.rhai b/anda/rust/rnote/update.rhai new file mode 100644 index 0000000000..6c0673b4ef --- /dev/null +++ b/anda/rust/rnote/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("flxzt/rnote")); diff --git a/anda/rust/sccache/anda.hcl b/anda/rust/sccache/anda.hcl index 70f6ac3715..f03c092535 100644 --- a/anda/rust/sccache/anda.hcl +++ b/anda/rust/sccache/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "rust-sccache.spec" - sources = "." } } diff --git a/anda/rust/sccache/rust-sccache.spec b/anda/rust/sccache/rust-sccache.spec index f0134bbc73..440661a728 100644 --- a/anda/rust/sccache/rust-sccache.spec +++ b/anda/rust/sccache/rust-sccache.spec @@ -6,7 +6,7 @@ %global crate sccache Name: rust-sccache -Version: 0.3.1 +Version: 0.3.2 Release: %autorelease Summary: Ccache-like tool diff --git a/anda/rust/sccache/update.rhai b/anda/rust/sccache/update.rhai new file mode 100644 index 0000000000..4a50e54657 --- /dev/null +++ b/anda/rust/sccache/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("mozilla/sccache")); diff --git a/anda/rust/starship/anda.hcl b/anda/rust/starship/anda.hcl index 486c506242..9a8d7a2c74 100644 --- a/anda/rust/starship/anda.hcl +++ b/anda/rust/starship/anda.hcl @@ -1,6 +1,6 @@ project "pkg" { rpm { spec = "rust-starship.spec" - sources = "." + update = "" } -} \ No newline at end of file +} diff --git a/anda/rust/starship/chkupdate.py b/anda/rust/starship/chkupdate.py deleted file mode 100644 index cd6e8d722b..0000000000 --- a/anda/rust/starship/chkupdate.py +++ /dev/null @@ -1,20 +0,0 @@ -import os -import requests -import re - -NAME = 'rust-starship' -REPO = "starship/starship" -REGEX_VER = r'Version:\s*([\.\d]+)\n' -SPEC = f"{NAME}.spec" -LINK = f'https://api.github.com/repos/{REPO}/releases/latest' - - -ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name'] -ver = ver[1:] # starts with v -with open(SPEC, 'r') as f: - matches = re.findall(REGEX_VER, f.read()) -if not len(matches): exit(f"{NAME}: Failed to match regex!") -cur = matches[0] -if ver == cur: exit(f'{NAME}: Up to date!') -print(f'{NAME}: {cur} -> {ver}') -os.system(f'rpmdev-bumpspec -n {ver} {SPEC}') diff --git a/anda/rust/starship/update.rhai b/anda/rust/starship/update.rhai new file mode 100644 index 0000000000..6364503fcd --- /dev/null +++ b/anda/rust/starship/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("starship/starship")); diff --git a/anda/rust/youki/anda.hcl b/anda/rust/youki/anda.hcl index 77a8cccc3f..2527e9f9ec 100644 --- a/anda/rust/youki/anda.hcl +++ b/anda/rust/youki/anda.hcl @@ -1,7 +1,7 @@ project "pkg" { rpm { spec = "youki.spec" - sources = "." + update = "" // enable_scm = true diff --git a/anda/rust/youki/update.rhai b/anda/rust/youki/update.rhai new file mode 100644 index 0000000000..1a65ed0082 --- /dev/null +++ b/anda/rust/youki/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("containers/youki")); diff --git a/anda/rust/zellij/anda.hcl b/anda/rust/zellij/anda.hcl index fe0ae598e4..e1d1ac2340 100644 --- a/anda/rust/zellij/anda.hcl +++ b/anda/rust/zellij/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "rust-zellij.spec" - sources = "." } } diff --git a/anda/srpm-macros/anda.hcl b/anda/srpm-macros/anda.hcl index c757c59187..3d144095f7 100644 --- a/anda/srpm-macros/anda.hcl +++ b/anda/srpm-macros/anda.hcl @@ -1,6 +1,5 @@ project "pkg" { rpm { spec = "anda-srpm-macros.spec" - sources = "." } -} \ No newline at end of file +} diff --git a/anda/tools/appimagelauncher/anda.hcl b/anda/tools/appimagelauncher/anda.hcl index d0fe7c790a..7e16d179ff 100644 --- a/anda/tools/appimagelauncher/anda.hcl +++ b/anda/tools/appimagelauncher/anda.hcl @@ -1,5 +1,6 @@ project "pkg" { rpm { spec = "appimagelauncher.spec" + update = "" } -} \ No newline at end of file +} diff --git a/anda/tools/appimagelauncher/update.rhai b/anda/tools/appimagelauncher/update.rhai new file mode 100644 index 0000000000..ff0c73841c --- /dev/null +++ b/anda/tools/appimagelauncher/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("TheAssassin/AppImageLauncher")); diff --git a/anda/tools/electron/anda.hcl b/anda/tools/electron/anda.hcl index 17513b48c9..6e6f77533c 100644 --- a/anda/tools/electron/anda.hcl +++ b/anda/tools/electron/anda.hcl @@ -2,4 +2,4 @@ project "pkg" { rpm { spec = "electron.spec" } -} \ No newline at end of file +} diff --git a/anda/tools/gcm-core/anda.hcl b/anda/tools/gcm-core/anda.hcl index bf59fd1627..c20a830a98 100644 --- a/anda/tools/gcm-core/anda.hcl +++ b/anda/tools/gcm-core/anda.hcl @@ -1,5 +1,6 @@ project "pkg" { rpm { spec = "gcm-core.spec" + update = "" } -} \ No newline at end of file +} diff --git a/anda/tools/gcm-core/update.rhai b/anda/tools/gcm-core/update.rhai new file mode 100644 index 0000000000..10dbb7fdf2 --- /dev/null +++ b/anda/tools/gcm-core/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("GitCredentialManager/git-credential-manager")); diff --git a/anda/tools/lorax/anda.hcl b/anda/tools/lorax/anda.hcl index 0c421bc3ed..0fa6bbd1c2 100644 --- a/anda/tools/lorax/anda.hcl +++ b/anda/tools/lorax/anda.hcl @@ -9,6 +9,7 @@ project "pkg" { branch = "lorax-38.3-1" write_tar = "true" spec = "lorax.spec" + update = "" git_get = "git clone https://github.com/weldr/lorax.git" } } diff --git a/anda/tools/melody/anda.hcl b/anda/tools/melody/anda.hcl index 36b38171ee..2c42a0a581 100644 --- a/anda/tools/melody/anda.hcl +++ b/anda/tools/melody/anda.hcl @@ -2,4 +2,4 @@ project "pkg" { rpm { spec = "melody.spec" } -} \ No newline at end of file +} diff --git a/anda/tools/muon/anda.hcl b/anda/tools/muon/anda.hcl index 2e4039a30e..b9987d048a 100644 --- a/anda/tools/muon/anda.hcl +++ b/anda/tools/muon/anda.hcl @@ -2,4 +2,4 @@ project "pkg" { rpm { spec = "muon.spec" } -} \ No newline at end of file +} diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index f2293605cf..0000000000 --- a/requirements.txt +++ /dev/null @@ -1 +0,0 @@ -requests diff --git a/update.sh b/update.sh deleted file mode 100755 index 56b91227ab..0000000000 --- a/update.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -x - -python -m ensurepip -python -m pip install -r requirements.txt - -search() { - for folder in $1/*; do - if [ -f "$folder/chkupdate.py" ]; then - (cd $folder && python chkupdate.py) - continue - fi - x=0 - for thing in $folder/*; do - [[ -f $thing ]] && x=1 && break - done - [[ $x -eq 0 ]] && search $folder - done -} - -search anda - -exit 0