update-from-overlay.py: A cleaner bulk-update script#473079
update-from-overlay.py: A cleaner bulk-update script#473079jian-lin merged 1 commit intoNixOS:masterfrom
update-from-overlay.py: A cleaner bulk-update script#473079Conversation
29c498e to
abd40c0
Compare
abd40c0 to
c1d0f12
Compare
jian-lin
left a comment
There was a problem hiding this comment.
An important part of bumping elisp pkgs is to find new failed builds and fix them or report them to upstreams, which this PR seems not include.
I think it is a good idea to focus on one thing in a PR. Let's discuss your python rewrite here and do the elisp bump in another PR. I'll do the bump if nobody does it first.
pkgs/applications/editors/emacs/elisp-packages/update-from-overlay.py
Outdated
Show resolved
Hide resolved
pkgs/applications/editors/emacs/elisp-packages/update-from-overlay.py
Outdated
Show resolved
Hide resolved
pkgs/applications/editors/emacs/elisp-packages/update-from-overlay.py
Outdated
Show resolved
Hide resolved
pkgs/applications/editors/emacs/elisp-packages/update-from-overlay.py
Outdated
Show resolved
Hide resolved
pkgs/applications/editors/emacs/elisp-packages/update-from-overlay.py
Outdated
Show resolved
Hide resolved
The bumping here is a proof of concept, not intended to be merged. |
pkgs/applications/editors/emacs/elisp-packages/update-from-overlay.py
Outdated
Show resolved
Hide resolved
fa6b143 to
3b66fb3
Compare
3b66fb3 to
5610892
Compare
|
It seems this PR is under active development. I'll unsubscribe it. Feel free to ping me when it is ready for review. |
5610892 to
dbd8c02
Compare
dbd8c02 to
2b2f2d2
Compare
|
@jian-lin now that I wrote the docstrings, feel free to review. (edit: I have added a commit, adding a logging hierarchy.) |
1517ca0 to
1216617
Compare
1216617 to
e051229
Compare
pkgs/applications/editors/emacs/elisp-packages/update-from-overlay.py
Outdated
Show resolved
Hide resolved
pkgs/applications/editors/emacs/elisp-packages/update-from-overlay.py
Outdated
Show resolved
Hide resolved
0b8cdfb to
c336a91
Compare
|
@jian-lin Further I have rearranged the code to not rely on global structures. It was surprisingly cleaner than I expected! |
8ce1a2e to
15bf1a3
Compare
d5dbc33 to
f4ef342
Compare
28546a2 to
85394df
Compare
|
|
3f41618 to
b5c3601
Compare
pkgs/applications/editors/emacs/elisp-packages/update-from-overlay.py
Outdated
Show resolved
Hide resolved
pkgs/applications/editors/emacs/elisp-packages/update-from-overlay.py
Outdated
Show resolved
Hide resolved
09f051f to
9622f3f
Compare
This is a new script written in Python 3 that fetches, checks and commits the elisp package sets from nix-community/emacs-overlay.
9622f3f to
a96110f
Compare
| ''' | ||
| logger.debug('BEGIN') | ||
|
|
||
| location = emacs_overlay.elisp_packages_set[name]['location'] |
There was a problem hiding this comment.
What about replacing the emacs_overlay function argument with emacs_overlay.elisp_packages_set[name] since we only need emacs_overlay.elisp_packages_set[name] in this function?
This applies to many other places.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.Add a 👍 reaction to pull requests you find important.