cubething_psync 0.1.0.dev9__tar.gz → 0.1.0.dev10__tar.gz

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.
Files changed (21) hide show
  1. {cubething_psync-0.1.0.dev9/src/cubething_psync.egg-info → cubething_psync-0.1.0.dev10}/PKG-INFO +1 -1
  2. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/pyproject.toml +1 -1
  3. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/client/args.py +1 -1
  4. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/client/main.py +2 -1
  5. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10/src/cubething_psync.egg-info}/PKG-INFO +1 -1
  6. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/LICENSE +0 -0
  7. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/README.md +0 -0
  8. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/setup.cfg +0 -0
  9. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/client/__init__.py +0 -0
  10. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/client/__main__.py +0 -0
  11. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/common/__init__.py +0 -0
  12. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/common/data.py +0 -0
  13. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/common/log.py +0 -0
  14. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/cubething_psync.egg-info/SOURCES.txt +0 -0
  15. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/cubething_psync.egg-info/dependency_links.txt +0 -0
  16. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/cubething_psync.egg-info/entry_points.txt +0 -0
  17. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/cubething_psync.egg-info/requires.txt +0 -0
  18. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/cubething_psync.egg-info/top_level.txt +0 -0
  19. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/server/__init__.py +0 -0
  20. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/server/__main__.py +0 -0
  21. {cubething_psync-0.1.0.dev9 → cubething_psync-0.1.0.dev10}/src/server/main.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cubething_psync
3
- Version: 0.1.0.dev9
3
+ Version: 0.1.0.dev10
4
4
  Summary: Simple project synchronization tool.
5
5
  Author-email: ada mandala <ada@cubething.dev>
6
6
  License-Expression: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "cubething_psync"
3
- version = "0.1.0.dev9"
3
+ version = "0.1.0.dev10"
4
4
  description = "Simple project synchronization tool."
5
5
  authors = [{name = "ada mandala", email="ada@cubething.dev"}]
6
6
  readme = "README.md"
@@ -29,7 +29,7 @@ PSYNC_SERVER_IP | 127.0.0.1
29
29
  PSYNC_SERVER_PORT | 5000
30
30
  PSYNC_SSH_PORT | 5022
31
31
  PSYNC_SERVER_DEST | /app/rsync/
32
- PSYNC_SSH_USER | <unset>
32
+ PSYNC_SSH_USER | root
33
33
  PSYNC_CERT_PATH | ~/.local/share/psync/cert.pem
34
34
  """,
35
35
  )
@@ -143,12 +143,13 @@ class PsyncClient:
143
143
  def __rsync(project_hash: str, args: Args):
144
144
  """Runs rsync."""
145
145
  user = f"{USER}@" if USER != "" else ""
146
- url = f"ssh://{user}{SERVER_IP}:{SERVER_SSH_PORT}/{SERVER_DEST}/{project_hash}/"
146
+ url = f"{user}{SERVER_IP}:{SERVER_DEST}/{project_hash}/"
147
147
  rsync_args = [
148
148
  "rsync",
149
149
  "-avzr",
150
150
  "--progress",
151
151
  "--mkpath",
152
+ f"--port={str(SERVER_SSH_PORT)}",
152
153
  args.target_path,
153
154
  *args.extra,
154
155
  url,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cubething_psync
3
- Version: 0.1.0.dev9
3
+ Version: 0.1.0.dev10
4
4
  Summary: Simple project synchronization tool.
5
5
  Author-email: ada mandala <ada@cubething.dev>
6
6
  License-Expression: MIT