Commit Graph

52 Commits

Author SHA1 Message Date
Maximilian Downey Twiss
659ae6eed6 Add pre-commit hooks (#9510) 2024-06-15 07:53:06 -04:00
Maximilian Downey Twiss
73ad2513a2 Fix Repology workflow (#9955) 2024-06-12 01:56:57 -05:00
Maximilian Downey Twiss
3076ef3892 Change Repology workflow to create pull requests (#9926) 2024-06-07 18:55:02 -04:00
Maximilian Downey Twiss
9894fd4d27 Fix Repology.json (#9739) 2024-05-01 05:17:10 -04:00
Satadru Pramanik, DO, MPH, MEng
58fa2177e9 Wayland_protocols update, mpv update (#9681)
* wayland_protocols => 1.35

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* mpv => 0.38

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Enable debugging for /usr/local/etc/profile if in container, fixup glibc version detection

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update crew_profile_base hash

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update sha for crew_profile_base

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update sha for crew_profile_base

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* minor tweaks to unit test, update hash for crew_profile_base

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-04-19 09:43:53 -05:00
Satadru Pramanik, DO, MPH, MEng
43c334de5f Autosource ~/.bashrc (#9649)
* Autosource ~/.bashrc

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add exitmessage...

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Use env variable to gate USR1

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* add logging

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* adjust logging, add more documentation

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* move env sourced variable in const.rb

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update flag variable to be CREW_SOURCE_BASHRC_ACTIVATED

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Remove need for CREW_SOURCE_BASHRC_ACTIVATED env variable

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix logic for trap detection

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* revert to using env variable as flag for bash trap enablement

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* add reversion to env based crew_profile_base trap detection

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* move SOURCE_BASHRC code block

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* use fd instead of env variable, check for interactive terminal in selector

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix fd check

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* add exit to shell for installer so that bashrc does not have to be sourced manually after install is run.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* do not use @pkg unless defined

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some debug code to progress_bar

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some debug code to progress_bar

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Do not tread on #9654

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some debug code to progress_bar

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some debug code to progress_bar

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some debug code to progress_bar

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some debug code to progress_bar

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some debug code to progress_bar

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some debug code to progress_bar

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add some debug code to progress_bar

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fixup selector and progress_bar

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* remove debug code from progress_bar

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* refactor to use changed bash process name

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust comment

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* disable more debug code

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix comparison

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix unit test

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* add some debugging to selector

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* move crewlog to separate file

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* use global verbose

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* adjust timeout to 1 for selector

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* "workaround" using a global variable

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix CREW_VERBOSE

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Use CREW_VERBOSE

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* switch all @opt_verbose to CREW_VERBOSE

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* try to work around missing constant on update

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* add print_source_bashrc to ccache

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* uncommented crewlog lines in crew

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* remove debug crewlog lines

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-04-15 21:28:42 -05:00
Ed Reel
d4b46569af Update bug_report.md (#9648) 2024-04-13 19:36:35 -04:00
Maximilian Downey Twiss
d13b6dbf9b Split prop command into separate file (#9514) 2024-04-03 02:23:27 -05:00
Ed Reel
95b40b3c24 Add buildsystem_test and check (#9530) 2024-03-23 19:08:23 +11:00
Maximilian Downey Twiss
5d0af28461 Make prop_test and cycle_test cwd-agnostic (#9498) 2024-03-16 20:22:22 -04:00
Maximilian Downey Twiss
925a461efb Split out help command to separate file (#9392) 2024-02-26 16:21:11 -06:00
Satadru Pramanik, DO, MPH, MEng
4921e4656e Add build check to Github Actions, and make getrealdeps.rb failure trigger crew error (#9319)
* Add build check to Github Actions, and make getrealdeps.rb failure trigger crew abort

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* bump version

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-02-13 01:23:43 -06:00
Maximilian Downey Twiss
8ae6a2497c Fix repology workflow (#9226) 2024-01-29 00:02:24 -06:00
Maximilian Downey Twiss
68d15ff629 Rework Repology JSON generator (#9214) 2024-01-25 09:04:04 -05:00
dependabot[bot]
d4a466c422 Bump tj-actions/changed-files from 36 to 41 in /.github/workflows (#9153)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 36 to 41.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](https://github.com/tj-actions/changed-files/compare/v36...v41)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-06 20:02:47 +08:00
Maximilian Downey Twiss
2e6eb61dc1 Remove spellcheck_test and rework load_test into prop_test (#8987) 2023-11-27 20:01:51 -05:00
Maximilian Downey Twiss
86a7814bda Convert workflows to use reviewdog, run rubocop on tree (#8939) 2023-11-13 02:46:43 -05:00
Maximilian Downey Twiss
3e2fa11072 Update workflows to actions/checkout@v4 (#8938) 2023-11-13 00:40:15 -05:00
Satadru Pramanik, DO, MPH, MEng
ea6e711e36 Fix Github Action Handoff linter tests (#8913)
* remove unit tests from handoff.yml

* lint yaml

* lint yaml

* rubocop changes to lib/const.rb

* rename job

* switch unittests to run from handoff

* suggested changes

* use ENV.fetch as much as possible
2023-11-08 19:56:34 -06:00
Satadru Pramanik, DO, MPH, MEng
2b946f5561 Crew update should exit if it fails (#8909)
* make failed crew update cause non-zero errorstatus, update github action

* bump version

* adjust github action

* adjust github action

* intentionally break crew update

* fix crew update

* Add remove package to github action
2023-11-08 09:19:08 -06:00
Satadru Pramanik, DO, MPH, MEng
f85c0c8edf Github Action Unit Test: Test Crew Update, crew upgrade, crew install vim (#8907)
* Github Action Unit Test testing

* add CREW_BRANCH

* simplify

* make reporting more verbose

* Actually run the test!

* intentionally bump version
2023-11-08 08:21:41 -06:00
Maximilian Downey Twiss
e32c7986f3 Fix Repology workflow pt.2 (#8827) 2023-10-23 22:08:52 -04:00
Maximilian Downey Twiss
e5467f4565 Fix Repology workflow (#8820) 2023-10-23 06:04:36 -04:00
Maximilian Downey Twiss
3650b64ee7 Fix sudo in Repology workflow and set it to run daily (#8819) 2023-10-22 19:36:01 -04:00
Maximilian Downey Twiss
84792a5a5e Rework CREW_TESTING_* variables and crew update process (#8809)
* Rework CREW_TESTING_* variables and crew update process

* Remove unused CREW_GITHUB_* variables
2023-10-20 12:15:11 -04:00
Maximilian Downey Twiss
2103e3cdff Minor improvements to Repology workflow and backend (#8801) 2023-10-19 09:42:21 -04:00
Maximilian Downey Twiss
670379c9cf Add script and action for generating JSON for Repology (#7376) 2023-10-18 15:23:59 -04:00
Maximilian Downey Twiss
1e7a046803 Fix support for multiple workflows being triggered (#8408) 2023-06-19 07:28:38 -04:00
Maximilian Downey Twiss
41a708c1c5 Refactor workflow files (#8355)
* Refactor workflow files

* Fix YAMLlint errors
2023-06-13 23:42:56 -04:00
Satadru Pramanik, DO, MPH, MEng
46f9929fd7 update linter config (#8289) 2023-05-22 11:44:18 -05:00
Ed Reel
c5083e50b0 Linter 1.3 => 1.4 (#7796)
Update README.md

Move .mdl_style.rb

Remove debug line

Co-authored-by: chronos <no-reply@github.com>
2023-01-03 16:14:42 +08:00
Ed Reel
f04630f3b9 Linter 1.2 => 1.3 (#7794)
Co-authored-by: chronos <no-reply@github.com>
2023-01-02 22:23:12 -05:00
Satadru Pramanik
f9b296cb60 remove inline markdownlint comment (#7610)
* remove inline markdownlint comment

* move mdl config files
2022-11-08 18:47:45 -06:00
Satadru Pramanik
592f7af80c Adjust to new issue template format (#7609)
* Adjust to new issue template

* add markdownlint rule exclusions
2022-11-08 18:31:12 -06:00
Satadru Pramanik
f8647f6fd8 Adjust Issue Template location (#7607) 2022-11-08 16:51:02 -06:00
Satadru Pramanik
47838138db crew: Add cflags for armv7l, add some CREW_ constants (#7585)
* Add armv7l cflags and CREW_KERNEL_VERSION const

* Adjust package code which uses kernel version

* rework logic

* adjust logic

* debugging

* add CREW_IN_CONTAINER

* Use CREW_IN_CONTAINER in packages.

* Add CREW_IS_AMD and CREW_IS_INTEL

* suggested changes

* test new cpu logic

* cleanup cpu logic

* add CREW_CPU_VENDOR

* fix cpu detection on x86

* lint

* fix package dynamic versioning

* lint changes

* update for non-x86, and make linuxheaders a one-shot deal

* add 5.10 x86_64 binaries for linuxheaders

* lint

* suggested changes

* fix musl_linuxheaders

* show container info in sysinfo

* Use CREW_KERNEL_VERSION

* add markdown interpretation code

* refactor markdown code

* modify issue template to get markdown code for crew sysinfo

* attempt to change the issue template to the newer github yaml format

* move issue template to yaml file

* update Linters logic

* lint crew

* update linter.rb too

* bump linter.rb version
2022-11-08 16:18:09 -06:00
Ed Reel
5c596fc384 Disable codespell in Linters.yml (#7542) 2022-10-24 10:48:33 -04:00
Ed Reel
e8f06c79eb Fix case bug in Linters.yml (#7537)
Co-authored-by: chronos <no-reply@github.com>
2022-10-24 10:33:00 -04:00
Ed Reel
1cfbd37b89 Add linters to GitHub Actions workflow (#7535) 2022-10-23 21:10:51 -04:00
Ed Reel
c29197445a Fix 3:5 [comments] too few spaces before comment in Rubocop.yml (#7534)
Co-authored-by: chronos <no-reply@github.com>
2022-10-23 13:53:33 -04:00
Ed Reel
a87168fea8 Add ruby syntax check to Rubocop.yml (#7530)
Co-authored-by: chronos <no-reply@github.com>
2022-10-23 13:47:09 -04:00
supechicken
db5a2c68e6 Disable And/Or check, re-enable trailing space check (#7456) 2022-10-04 09:16:08 -04:00
Maximilian Downey Twiss
4ae7b01a50 Fix CI (#7325) 2022-08-22 19:50:56 -04:00
Maximilian Downey Twiss
de24923ee8 Add Rubocop CI (#7083)
* Rename IgnoredPatterns to AllowedPatterns.

* Exclude docopt.rb (not our code) from Rubocop

* Disable Style/RedundantReturn

* Disable Style/MutableConstant

* Disable Style/NumericLiterals

* Set Layout/IndentationStyle to spaces

* Temporarily disable various cops.

* Add Rubocop CI via Octocop

* Lint tree with rubocop -A -c .rubocop.yml

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2022-08-22 13:31:25 -04:00
supechicken
149a79e8c9 ISSUE_TEMPLATE.md: Add alternate command that prints system information (#6911)
* Add alternate command

* Take out the `s`
2022-03-29 11:41:14 -05:00
supechicken
807da00b6b templates: Wrap guidance lines with html comment blocks (#6563)
* Update PULL_REQUEST_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md

* aarch64 => armv7l

* Use `crew sysinfo` in issue template
2022-03-18 11:06:21 -05:00
Satadru Pramanik
baa31c3ae5 Pull Request Template: Adjust down header size for newly added section. (#6331) 2021-10-24 16:40:02 -05:00
Satadru Pramanik
f2955e961a Add testing instructions to PR template (#6324)
* Add testing instructions to PR template

* add verbosity
2021-10-22 21:40:51 -05:00
Ed Reel
1bc928f5b2 Correct grammar and spelling errors (#5651) 2021-04-17 23:24:45 -04:00
Jan Baudisch
ee0641a701 Fix typo 2017-12-08 15:51:55 +01:00