Commit Graph

24 Commits

Author SHA1 Message Date
nodiscc
6ea9e4507f finalize automation/CI workflows:
- build markdown/HTML versions, use separate makefile targets/hecat configuration files for each export format/push task
- add non-free.md generation step to markdown export hecat configuration file
- add makefile targets to push exports to https://github.com/awesome-selfhosted/awesome-selfhosted and https://github.com/nodiscc/awesome-selfhosted-html-preview
- install: install sphinx <7 directly using pip since it can't be installed from setup.py https://github.com/sphinx-doc/sphinx/issues/11130
- pin sphinx to version <7, sphinx-design is not compatible with sphinx 7 https://github.com/executablebooks/sphinx-design/issues/130
- add sphinx configuration file
- tools/makefile: monkeypatch furo theme to display build tools and license link in footer (furo/sphinx does not provide a way to customize this https://github.com/pradyunsg/furo/discussions/612)
- fix dependencies between makefile targets
- setup/document SSH deploy keys usage
- each repository requires a different deploy key, trying to add a deploy key to repo B, which has already been added to repo A results in error 'this key already exists'
- set git remote URL to use ssh URIs before push (required to use SSH deploy keys)
- when referencing an environment secret, environment: key must be defined explicitly for the step (https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#referencing-an-environment)
- use a single SSH key file/no ssh-agent, else git push will try to use the first registered key and fail with permission denied when trying to push to the HTML repository
- use variables to identify target repos
- use temporary repositories as push destination
2023-07-24 16:10:43 +02:00
nodiscc
4e4e656b2c tools/makefile: add make clean target 2023-07-22 11:13:58 +02:00
nodiscc
2322f5ce55 tools/makefile: add make authors target (update AUTHORS file)
- update documentation
2023-07-16 17:49:15 +02:00
nodiscc
4f32a3d0f0 tools: move AUTHORS.md to AUTHORS
- ref. https://github.com/awesome-selfhosted/awesome-selfhosted/pull/4018
2023-07-15 19:29:21 +02:00
nodiscc
0f3b106e12 tools: github actions: always run URL checks last in all workflows
- make errors fatal/exit with code 1 if any checks are unsuccessful
2023-01-24 17:51:03 +01:00
nodiscc
28005c507e tools: github actions: add automatic URL checks using hecat/url_check module 2023-01-24 16:55:46 +01:00
nodiscc
80b3c3a75d tools: move hecat configuration to .hecat/ subdirectory 2022-12-05 19:18:00 +01:00
nodiscc
2eb4deb308 tools/github actions: automate daily metadata update + commit/push changes after update
- automate lint/build on changes
- only run metadata updates from GH actions schedules, not from main CI workflow
- ref. https://github.com/nodiscc/hecat/issues/26
- ref. https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/14
- ref. https://github.com/awesome-selfhosted/awesome-selfhosted-data/issues/4
2022-08-08 22:50:27 +02:00
nodiscc
5ee7f3bb3f tools: update hecat@master, set automatic metadata update workflow to run at 11:48 UTC 2022-08-08 13:46:37 +02:00
nodiscc
064b263264 tools/Makefile/hecat: fix markdown build procedure
- add hecat step configuration file
- update makefile target, rename target build -> export
2022-08-05 22:53:48 +02:00
nodiscc
89cafeb95a tools/makefile: update hecat@import-nonfree 2022-08-05 22:01:28 +02:00
nodiscc
756aa52807 tools/hecat: switch to new configuration format/command-line 2022-07-31 19:53:02 +02:00
nodiscc
7ef7700086 tools/makefile: update hecat@master 2022-07-31 19:43:15 +02:00
nodiscc
cf0db11909 tools/makefile: update hecat (use awesome-lint branch) 2022-07-25 23:04:36 +02:00
nodiscc
abcde6f2fb tools/makefile: fix hecat import command line options 2022-07-25 23:04:06 +02:00
nodiscc
b7248a0064 tools: makefile: update hecat command line (build -> export) 2022-06-10 23:33:50 +02:00
nodiscc
df3a3d02b0 tools: makefile: update hecat to latest master revision 2022-06-10 23:31:19 +02:00
nodiscc
82a27ce2b4 tools: automatically add github metadata (stargazers_count/updated_at) to github software entries missing these (make process)
- https://docs.github.com/en/actions/security-guides/automatic-token-authentication
- tools: makefile: install python3-wheel before pip packages installation so that bdist_wheel does not fail
2022-06-05 19:55:46 +02:00
nodiscc
cd5930fc2a tools: automatically add github metdata (stargazers_count/udpated_at) to all software entries missing these
- https://docs.github.com/en/actions/security-guides/automatic-token-authentication
2022-06-05 19:37:51 +02:00
nodiscc
7af74bf5d0 tools: makefile: force installation of latest pip dependencies while development versions are used 2022-06-05 19:30:58 +02:00
nodiscc
613777928b tools/doc: makefile: (auto-)document makefile targets with 'make help' 2022-06-05 17:55:23 +02:00
nodiscc
ba88dc5a84 tools: makefile: add process target (automatically add github metadata/stars/last update date to github.com projects) 2022-06-04 15:09:15 +02:00
nodiscc
8001b7de05 tools: makefile: delete software/tags/platforms data before full initial import
- use WIP version of the generation tool/test new features
2022-06-04 14:51:27 +02:00
nodiscc
9e0b0dec71 add basic markdown list build process
- rebuild markdown README.md and check for differences against the original
- add build steps to makefile so it can be run locally
- call make from Github actions so it runs automatically on commits/pull requests
2022-04-29 15:58:53 +02:00