baldwin 0.0.1__py3-none-any.whl → 0.0.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of baldwin might be problematic. Click here for more details.
- baldwin/__init__.py +1 -1
- baldwin/main.py +1 -2
- {baldwin-0.0.1.dist-info → baldwin-0.0.2.dist-info}/METADATA +1 -1
- {baldwin-0.0.1.dist-info → baldwin-0.0.2.dist-info}/RECORD +6 -6
- {baldwin-0.0.1.dist-info → baldwin-0.0.2.dist-info}/WHEEL +0 -0
- {baldwin-0.0.1.dist-info → baldwin-0.0.2.dist-info}/entry_points.txt +0 -0
baldwin/__init__.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"""Manage a home directory with Git."""
|
|
2
|
-
__version__ = '0.0.
|
|
2
|
+
__version__ = '0.0.2'
|
baldwin/main.py
CHANGED
|
@@ -106,14 +106,13 @@ def install_units() -> None:
|
|
|
106
106
|
"""Install systemd units for automatic committing."""
|
|
107
107
|
bw = which('bw')
|
|
108
108
|
assert bw is not None
|
|
109
|
-
bw_p = Path(bw).resolve(strict=True)
|
|
110
109
|
service_file = Path('~/.config/systemd/user/home-vcs.service').expanduser()
|
|
111
110
|
service_file.write_text(f"""[Unit]
|
|
112
111
|
Description=Home directory VCS commit
|
|
113
112
|
|
|
114
113
|
[Service]
|
|
115
114
|
Type=oneshot
|
|
116
|
-
ExecStart={
|
|
115
|
+
ExecStart={bw} auto-commit
|
|
117
116
|
""")
|
|
118
117
|
log.debug('Wrote to `%s`.', service_file)
|
|
119
118
|
timer_file = Path('~/.config/systemd/user/home-vcs.timer').expanduser()
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
baldwin/__init__.py,sha256=
|
|
2
|
-
baldwin/main.py,sha256=
|
|
1
|
+
baldwin/__init__.py,sha256=K1vGNLT45B8aRiT3cNezEimqespsdC14JXxkidCP0fo,62
|
|
2
|
+
baldwin/main.py,sha256=hlyBLe7oIAtVlnZ_F6h7-0xdrqRupg3zVSG6M-cLjXo,5576
|
|
3
3
|
baldwin/resources/default_gitattributes.txt,sha256=uGoWTSVgPmdGB2EUIROkTz3FikGpNGhdS95SuuvoCRo,984
|
|
4
4
|
baldwin/resources/default_gitignore.txt,sha256=oyxukNyK6F778C2jc7oIwosP7ou1WTdbuWwkpgGZtJA,3022
|
|
5
5
|
baldwin/resources/prettier.config.json,sha256=-Hher3B02YflULYn0IYOG_a-rDxpaaaQ0QXD30-5IgQ,387
|
|
6
6
|
baldwin/utils.py,sha256=gOtDvylunSQoZ8QN8RvEeafPCw8Xn42vOflTMxciHtg,2330
|
|
7
|
-
baldwin-0.0.
|
|
8
|
-
baldwin-0.0.
|
|
9
|
-
baldwin-0.0.
|
|
10
|
-
baldwin-0.0.
|
|
7
|
+
baldwin-0.0.2.dist-info/METADATA,sha256=mexXKQXx1Y6k0f3stnzWCR9awyL-AadEvuD-Q71SjXI,3659
|
|
8
|
+
baldwin-0.0.2.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
9
|
+
baldwin-0.0.2.dist-info/entry_points.txt,sha256=Whfij6CPUG0wuXRYWf3VGkluV1jV32ysrGFdlWjFy9o,70
|
|
10
|
+
baldwin-0.0.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|