Commit Graph

469 Commits

Author SHA1 Message Date
Jörg Thalheim
df20040b23 better jobname for formatter check 2023-01-22 09:05:15 +01:00
Jörg Thalheim
174b1231b2 also build nix formatter checks on bors branches 2023-01-22 09:01:56 +01:00
Jörg Thalheim
ac05c74b79 add bors toml 2023-01-22 08:58:53 +01:00
figsoda
cab46f7912 update list of supported sites 2023-01-21 18:59:31 -05:00
figsoda
dc1b2af4da gitea support 2023-01-21 15:31:30 -05:00
figsoda
18b0f84ce5
Merge pull request #130 from figsoda/system
add --system
2023-01-08 13:03:37 -05:00
figsoda
811daa04c4 ci: add github access token 2023-01-08 12:56:15 -05:00
figsoda
435a533439 clean up eval_expression 2023-01-08 12:32:46 -05:00
figsoda
e386585a0e Merge branch 'master' of https://github.com/mic92/nix-update into system 2023-01-08 12:25:54 -05:00
Jörg Thalheim
4db8142775
Merge pull request #132 from Mic92/readability
improve readability of eval expression
2023-01-08 18:17:51 +01:00
figsoda
bf2ee2bbf0 system_flags -> extra_flags, move experimental features to extra_flags 2023-01-08 10:35:32 -05:00
figsoda
3928ea476b pass system when importing nixpkgs 2023-01-08 10:35:17 -05:00
Jörg Thalheim
7412eff904 improve readability of eval expression 2023-01-08 08:46:48 +01:00
figsoda
3f68ceed20
Merge pull request #131 from figsoda/ruff
add bin/nix-update back to ruff checks
2023-01-07 19:36:56 -05:00
figsoda
5114959654 add bin/nix-update back to ruff checks 2023-01-07 15:28:20 -05:00
figsoda
bf82810b93 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/677ed08a50931e38382dbef01cba08a8f7eac8f6' (2022-12-29)
  → 'github:NixOS/nixpkgs/a518c77148585023ff56022f09c4b2c418a51ef5' (2023-01-05)
2023-01-07 15:28:09 -05:00
figsoda
c7101575e0 readme: mention --system 2023-01-04 19:58:37 -05:00
figsoda
329317dbdd add --system 2023-01-04 19:55:31 -05:00
Jörg Thalheim
bd1b4353f8
Merge pull request #128 from Mic92/SuperSandro2000-ruff
Fix ruf error on nixos-unstable
2023-01-04 15:13:18 +00:00
Sandro
114b107fcf
Fix ruf error on nixos-unstable
```
## run black
All done!  🍰 
28 files would be left unchanged.
## run ruff
error `bin/nix-update` is not supported; Ruff only supports `.py` and `.pyi` files
```
2023-01-04 15:14:15 +01:00
Jörg Thalheim
9eb755db43
Merge pull request #127 from drupol/add-formatter-attribute
Add `formatter` attribute with `nixpkgs-fmt`
2022-12-31 13:48:22 +00:00
Pol Dellaiera
3e3de1a20e
ci: add code formatter checks 2022-12-31 09:33:44 +01:00
Pol Dellaiera
a0e83f665c
use nix fmt 2022-12-31 00:47:52 +01:00
Pol Dellaiera
e92d560816
flake: add formatter attribute 2022-12-31 00:47:52 +01:00
Sandro
98692ec8d9
Merge pull request #123 from drupol/feat/let-php-extension-be-found 2022-12-30 23:53:03 +01:00
Pol Dellaiera
387027ee08
feat: let PHP extension be updatable by this tool
Fix the computation of the position by detecting if the pkg is a PHP extension
2022-12-30 21:43:48 +01:00
figsoda
ebeb417b46
Merge pull request #124 from drupol/flake/update-flake-lock
flake.lock: Update
2022-12-30 13:53:54 -05:00
Pol Dellaiera
13ff10149e
flake.lock: Update 2022-12-30 19:37:10 +01:00
Jörg Thalheim
cf62bb5a33
Merge pull request #122 from Mic92/docs
README: make development docs more bullet proof
2022-12-29 13:05:39 +00:00
Jörg Thalheim
083008537d README: make development docs more bullet proof 2022-12-29 14:05:23 +01:00
Jörg Thalheim
98f7c4a2c5
Merge pull request #121 from Mic92/docs
document development workflow
2022-12-29 12:33:11 +00:00
Jörg Thalheim
ffd23fae74 direnv: switch to use flake by default
I had the case that someone had a nixpkgs old enough to not have ruff.
Let's just avoid this.
2022-12-29 13:24:40 +01:00
Jörg Thalheim
9e77bc21e1 document development workflow 2022-12-29 13:13:00 +01:00
figsoda
04561b947d
Merge pull request #120 from figsoda/update-script
default attribute to $UPDATE_NIX_ATTR_PATH
2022-12-24 22:38:42 -05:00
figsoda
71fbce46cf default attribute to $UPDATE_NIX_ATTR_PATH 2022-12-24 21:38:18 -05:00
figsoda
018cd5fc0f
Merge pull request #119 from Mic92/docs
README: mention flake and --version=branch option
2022-12-15 12:53:56 -05:00
Jörg Thalheim
4839d9c4a9
Update README.md
Co-authored-by: figsoda <figsoda@pm.me>
2022-12-15 17:43:55 +00:00
Jörg Thalheim
562e0da044 README: mention flake and --version=branch option 2022-12-15 13:09:22 +01:00
Jörg Thalheim
bb901a38a4
Merge pull request #118 from figsoda/flakes
Flakes support
2022-12-11 19:19:40 +00:00
Jörg Thalheim
6332016c85 share more code between flake and non-flake version 2022-12-11 20:12:35 +01:00
Jörg Thalheim
a5b4db5610
Merge pull request #110 from Mic92/ci
switch to ruff from flake8
2022-12-11 19:01:54 +00:00
figsoda
9b15086d05 check for isort with ruff 2022-12-11 13:56:11 -05:00
figsoda
ea8b8663b9 check bin/nix-update with ruff 2022-12-11 13:55:52 -05:00
figsoda
67aa4423a1 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6e51c97f1c849efdfd4f3b78a4870e6aa2da4198' (2022-12-05)
  → 'github:NixOS/nixpkgs/2dea0f4c2d6e4603f54b2c56c22367e77869490c' (2022-12-09)
2022-12-11 13:53:09 -05:00
Jörg Thalheim
d4eceb200e switch to ruff from flake8 2022-12-11 13:53:00 -05:00
figsoda
398fc18b48 remove test_crate as it is tested in test_flake 2022-12-08 12:56:47 -05:00
figsoda
609d012bab add test for updating flake outputs 2022-12-08 12:56:47 -05:00
figsoda
e5f57c258c add support for flakes 2022-12-08 12:46:35 -05:00
Sandro
73f7e7f036
Merge pull request #117 from figsoda/nix-command 2022-12-07 22:59:06 +01:00
figsoda
74489c5108 set nix_path in ci 2022-12-07 16:26:21 -05:00