Richard Hughes
67c91a4cfd
Detect SELinux before offering to install into /usr/local
...
Fixes https://github.com/fwupd/fwupd/issues/4080
2022-03-25 21:14:09 +00:00
Gabriel Kerneis
93aae762a6
Offer to run tests before pushing in contrib/setup
...
Also make clearer that the default choice is "no" for interactive
prompts.
2021-11-23 15:41:46 +01:00
Richard Hughes
d1dff82803
Allow installing developer-friendly PolicyKit rules from setup
2021-10-15 16:30:24 +01:00
Mario Limonciello
d64607b98d
trivial: add a helper to contrib/setup to rename branches
...
This will help for any local checkouts using the old branch name.
2021-09-24 14:21:17 -05:00
Mario Limonciello
cc8eb5ca8c
trivial: Merge python steps from contrib/setup into helper script
...
This avoids having to hardcode profile targets in multiple places
and also fixes the confusing entry points into scripts both by
arguments and environment variables.
It also makes the setup script a lot more debuggable and scalable.
OS detection is a lot more robust, where it will try to use pip to
set up the distro python package, and if pip is missing try to install
it.
If OS detection fails now, a user can use --os on contrib/setup for
specifying it.
2021-09-17 10:59:35 -05:00
Mario Limonciello
349975bb70
trivial: setup: drop the special case for python3-venv
...
Install it via dependencies.xml like the rest
2021-09-17 10:59:35 -05:00
Mario Limonciello
de2774846f
trivial: contrib/setup: use distro.id()
2021-09-16 06:43:55 -05:00
Mario Limonciello
f6a8c740e0
trivial: ignore commits for tree wide changes
2021-08-24 11:18:40 -05:00
Mario Limonciello
1c25453aa8
trivial: contrib/setup: update markdown if it's too old
...
gi-docgen requires 3.3.3 or later, but some of the distro packages
are too old. Upgrade them to make the default
```
meson build
```
work out of the box
2021-08-12 16:38:14 -05:00
Mario Limonciello
1150189948
trivial: Add VOID into contrib/setup
2021-07-28 11:29:44 -05:00
Mario Limonciello
1dcb42747e
trivial: contrib/setup: Run helper stuff to set up local dev environment
...
If running interactive, offer to setup the local system to using
/usr/local more convenient.
2021-07-28 10:25:47 -05:00
Mario Limonciello
0de861086f
trivial: contrib/setup: change the interactive check
2021-07-28 10:25:47 -05:00
Mario Limonciello
d0c6c4b323
trivial: install shellcheck from dependencies.xml
2021-04-09 11:15:27 -05:00
Mario Limonciello
bb9390d45c
trivial: Add pre-commit hooks for style
2021-04-09 16:02:20 +01:00