1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 20:54:51 +00:00
Commit Graph

2080 Commits

Author SHA1 Message Date
Alfred Wingate
d730322af5 Adjust completion for pep517
Manually building and installing the python packages can be safely
omited from the examples.

Haven't tested.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2025-05-02 14:38:46 +02:00
Alfred Wingate
4c1fcd2c40 Adjust PKGBUILD for PEP517 change
I do not use Arch so I haven't tested these.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2025-05-02 14:38:46 +02:00
Alfred Wingate
d98d5c265d Migrate to PEP517
Dropped license classifier
https://peps.python.org/pep-0639/#deprecate-license-classifiers

Changed the setuptools find procedure as exclude=['tests*'] included
everything in the wheel.

Closes: https://github.com/deadc0de6/dotdrop/issues/409
Signed-off-by: Alfred Wingate <parona@protonmail.com>
2025-05-02 14:38:46 +02:00
deadc0de6
7e58374591 reset to ubuntu 22.04 for testing python 3.7 2025-02-20 16:21:05 +01:00
deadc0de6
fc3035bfc8 clean pkgbuild 2025-02-19 21:43:50 +01:00
deadc0de6
2a101c3138 bump version v1.15.0 2024-12-16 09:17:03 +01:00
Keith Maxwell
dd062f24f3 Update PKGBUILD files
Based on
<https://github.com/deadc0de6/dotdrop/pull/435>
2024-11-21 13:33:38 +01:00
Keith Maxwell
2b174bd2cc Switch from docopt to docopt-ng
Running dotdrop under recent releases of Python — 3.12 and 3.13 — [outputs
syntax warnings] when from the docopt module.

[outputs syntax warnings]:
  https://docs.python.org/3/whatsnew/3.12.html#other-language-changes

<details>

<summary>Output with syntax warnings on Python 3.12 and 3.13</summary>

Command to run `dotdrop` with Python 3.12:

    rm -rf ~/.cache/uv \
    && ~/.local/bin/uv tool run --python=python3.12 dotdrop install --profile=default

Output:

```
   Built docopt==0.6.2
Installed 15 packages in 7ms
/home/maxwell-k/.cache/uv/archive-v0/IhmhuswofFs7ywBBC0kJs/lib64/python3.12/site-packages/docopt.py:165: SyntaxWarning: invalid escape sequence '\S'
  name = re.findall('(<\S*?>)', source)[0]
/home/maxwell-k/.cache/uv/archive-v0/IhmhuswofFs7ywBBC0kJs/lib64/python3.12/site-packages/docopt.py:166: SyntaxWarning: invalid escape sequence '\['
  value = re.findall('\[default: (.*)\]', source, flags=re.I)
/home/maxwell-k/.cache/uv/archive-v0/IhmhuswofFs7ywBBC0kJs/lib64/python3.12/site-packages/docopt.py:207: SyntaxWarning: invalid escape sequence '\['
  matched = re.findall('\[default: (.*)\]', description, flags=re.I)
/home/maxwell-k/.cache/uv/archive-v0/IhmhuswofFs7ywBBC0kJs/lib64/python3.12/site-packages/docopt.py:456: SyntaxWarning: invalid escape sequence '\S'
  split = re.split('\n *(<\S+?>|-\S+?)', doc)[1:]
     _       _      _
  __| | ___ | |_ __| |_ __ ___  _ __
 / _` |/ _ \| __/ _` | '__/ _ \| '_ |
 \__,_|\___/ \__\__,_|_|  \___/| .__/  v1.14.2
                               |_|

0 dotfile(s) installed.
```

The output is similar using `python3.13`.

</details>

[docopt] hasn't had a [release to PyPI] in 10 years. [No wheels] are
published to PyPI. `docopt` is used throughout the [dotdrop] code base.
Advice online suggests adopting [docopt-ng] instead.

[docopt]: https://github.com/docopt/docopt
[no wheels]: https://github.com/docopt/docopt/issues/502
[release to PyPI]: https://pypi.org/project/docopt/#history
[docopt-ng]: https://github.com/jazzband/docopt-ng
[dotdrop]: https://github.com/deadc0de6/dotdrop
2024-11-21 13:33:38 +01:00
deadc0de6
f50f3ecdb6 extend allowed alphabet for key 2024-11-11 14:04:50 +01:00
deadc0de6
72f5b9482e more tests 2024-11-11 14:04:50 +01:00
deadc0de6
d6b11ae62b fix unittests 2024-11-11 14:04:50 +01:00
deadc0de6
c7527b5f0f linting 2024-11-11 14:04:50 +01:00
deadc0de6
2ad7bb3009 add -K --dkey 2024-11-11 14:04:50 +01:00
deadc0de6
452271bcae precedence doc for #443 2024-11-09 20:46:06 +01:00
deadc0de6
7fc617e1df linting 2024-11-09 20:45:10 +01:00
deadc0de6
d3724d6ab5 clear test file 2024-11-09 20:45:10 +01:00
deadc0de6
b53f9396ec do not fail on sub config 2024-10-26 10:55:37 +02:00
deadc0de6
501d3276a4 fix sub config import error 2024-10-26 10:55:37 +02:00
deadc0de6
c1d24d55e1 fix bug 2024-10-26 10:55:37 +02:00
deadc0de6
18b815a3cd linting 2024-10-26 10:55:37 +02:00
deadc0de6
82fce073aa properly handle bad config 2024-10-26 10:55:37 +02:00
deadc0de6
86f685cade pivot workdir in tests 2024-10-24 23:30:34 +02:00
deadc0de6
8c42e74350 fix tests 2024-10-24 23:18:41 +02:00
deadc0de6
50e7cd7ab5 fix gencfg arg 2024-10-24 23:18:41 +02:00
deadc0de6
3870b323a3 fix tests 2024-10-24 23:18:41 +02:00
deadc0de6
ed6bc7a117 linting 2024-10-24 23:18:41 +02:00
deadc0de6
d252756e46 adding a gencfg command 2024-10-24 23:18:41 +02:00
Mo Hyun
d5d00ef9c0 Fix pivot path on Windows
This was causing a compare of template files to remove the existing
dotfiles at the destinations.
2024-10-24 23:18:12 +02:00
Mo Hyun
c51ac6f968 Fix special case of blank path and pattern 2024-10-24 23:18:12 +02:00
Mo Hyun
d25eae45f4 Fix infinite loop when matching ignore patterns 2024-10-24 23:18:12 +02:00
Mo Hyun
dc0db530e1 Fix invalid flag for file on Windows 2024-10-24 23:18:12 +02:00
deadc0de6
ef88de72c0 fix doc 2024-10-09 12:23:00 +02:00
deadc0de6
2775512507 pylint options 2024-10-09 11:12:40 +02:00
deadc0de6
5f41524c45 adding dconf doc in toc 2024-10-09 11:09:17 +02:00
deadc0de6
fe19cf01d9 update pylint 2024-10-09 11:04:44 +02:00
deadc0de6
328a664adf pylint #R0917 2024-10-09 11:00:31 +02:00
deadc0de6
af6638f1e7 adding dconf doc 2024-10-09 10:24:37 +02:00
deadc0de6
70e6e90acd fix aur 2024-08-28 15:40:09 +02:00
deadc0de6
9797b3aecd fix snapcraft&aur 2024-08-28 15:04:54 +02:00
deadc0de6
bae806cf0e fix snapcraft&aur 2024-08-28 14:59:34 +02:00
deadc0de6
33a50dc468 fix snapcraft 2024-08-28 14:46:54 +02:00
deadc0de6
7050cf9cab fix aur release out-of-band version 2024-08-28 14:45:47 +02:00
deadc0de6
194c8ca384 upgrade to core20 for snapcraft 2024-08-28 14:36:10 +02:00
deadc0de6
19bcaca65f fix cicd aur issue 2024-08-28 14:09:57 +02:00
deadc0de6
35513a120c bump version v1.14.2 2024-08-28 10:23:30 +02:00
deadc0de6
5b0902f801 fix manpage 2024-08-28 09:14:54 +02:00
deadc0de6
5db29aa28c upgrade to node 20 for tests 2024-08-28 09:14:54 +02:00
deadc0de6
0bfedb0ffe bump version v1.14.1 2024-08-26 18:03:00 +02:00
deadc0de6
f6c531e313 fix backup 2024-08-26 18:01:31 +02:00
deadc0de6
fe40a1e836 fix tests 2024-08-26 18:01:31 +02:00