reposnap 0.5.0__tar.gz → 0.5.1__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 (34) hide show
  1. {reposnap-0.5.0 → reposnap-0.5.1}/PKG-INFO +2 -2
  2. {reposnap-0.5.0 → reposnap-0.5.1}/README.md +1 -1
  3. {reposnap-0.5.0 → reposnap-0.5.1}/pyproject.toml +1 -1
  4. {reposnap-0.5.0 → reposnap-0.5.1}/requirements-dev.lock +0 -11
  5. {reposnap-0.5.0 → reposnap-0.5.1}/requirements.lock +0 -8
  6. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/core/markdown_generator.py +5 -1
  7. {reposnap-0.5.0 → reposnap-0.5.1}/.gitignore +0 -0
  8. {reposnap-0.5.0 → reposnap-0.5.1}/.python-version +0 -0
  9. {reposnap-0.5.0 → reposnap-0.5.1}/LICENSE +0 -0
  10. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/__init__.py +0 -0
  11. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/controllers/__init__.py +0 -0
  12. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/controllers/project_controller.py +0 -0
  13. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/core/__init__.py +0 -0
  14. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/core/file_system.py +0 -0
  15. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/core/git_repo.py +0 -0
  16. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/interfaces/__init__.py +0 -0
  17. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/interfaces/cli.py +0 -0
  18. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/interfaces/gui.py +0 -0
  19. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/models/__init__.py +0 -0
  20. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/models/file_tree.py +0 -0
  21. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/utils/__init__.py +0 -0
  22. {reposnap-0.5.0 → reposnap-0.5.1}/src/reposnap/utils/path_utils.py +0 -0
  23. {reposnap-0.5.0 → reposnap-0.5.1}/tests/__init__.py +0 -0
  24. {reposnap-0.5.0 → reposnap-0.5.1}/tests/reposnap/__init__.py +0 -0
  25. {reposnap-0.5.0 → reposnap-0.5.1}/tests/reposnap/test_cli.py +0 -0
  26. {reposnap-0.5.0 → reposnap-0.5.1}/tests/reposnap/test_file_system.py +0 -0
  27. {reposnap-0.5.0 → reposnap-0.5.1}/tests/reposnap/test_file_tree.py +0 -0
  28. {reposnap-0.5.0 → reposnap-0.5.1}/tests/reposnap/test_git_repo.py +0 -0
  29. {reposnap-0.5.0 → reposnap-0.5.1}/tests/reposnap/test_gui.py +0 -0
  30. {reposnap-0.5.0 → reposnap-0.5.1}/tests/reposnap/test_markdown_generator.py +0 -0
  31. {reposnap-0.5.0 → reposnap-0.5.1}/tests/reposnap/test_path_utils.py +0 -0
  32. {reposnap-0.5.0 → reposnap-0.5.1}/tests/reposnap/test_project_controller.py +0 -0
  33. {reposnap-0.5.0 → reposnap-0.5.1}/tests/resources/another_existing_file.py +0 -0
  34. {reposnap-0.5.0 → reposnap-0.5.1}/tests/resources/existing_file.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: reposnap
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: Generate a Markdown file with all contents of your project
5
5
  Author: agoloborodko
6
6
  License-File: LICENSE
@@ -39,7 +39,7 @@ Alternatively, you can clone the repository and install the required dependencie
39
39
  ```bash
40
40
  git clone https://github.com/username/reposnap.git
41
41
  cd reposnap
42
- pip install -r requirements.txt
42
+ pip install -r requirements.lock
43
43
  ```
44
44
 
45
45
  ## Usage
@@ -26,7 +26,7 @@ Alternatively, you can clone the repository and install the required dependencie
26
26
  ```bash
27
27
  git clone https://github.com/username/reposnap.git
28
28
  cd reposnap
29
- pip install -r requirements.txt
29
+ pip install -r requirements.lock
30
30
  ```
31
31
 
32
32
  ## Usage
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "reposnap"
3
- version = "0.5.0"
3
+ version = "0.5.1"
4
4
  description = "Generate a Markdown file with all contents of your project"
5
5
  authors = [
6
6
  { name = "agoloborodko" }
@@ -11,25 +11,14 @@
11
11
 
12
12
  -e file:.
13
13
  gitdb==4.0.11
14
- # via gitpython
15
14
  gitpython==3.1.43
16
- # via reposnap
17
15
  iniconfig==2.0.0
18
- # via pytest
19
16
  packaging==24.1
20
- # via pytest
21
17
  pathlib==1.0.1
22
- # via reposnap
23
18
  pathspec==0.12.1
24
- # via reposnap
25
19
  pluggy==1.5.0
26
- # via pytest
27
20
  pytest==8.3.2
28
21
  smmap==5.0.1
29
- # via gitdb
30
22
  typing-extensions==4.12.2
31
- # via urwid
32
23
  urwid==2.6.15
33
- # via reposnap
34
24
  wcwidth==0.2.13
35
- # via urwid
@@ -11,18 +11,10 @@
11
11
 
12
12
  -e file:.
13
13
  gitdb==4.0.11
14
- # via gitpython
15
14
  gitpython==3.1.43
16
- # via reposnap
17
15
  pathlib==1.0.1
18
- # via reposnap
19
16
  pathspec==0.12.1
20
- # via reposnap
21
17
  smmap==5.0.1
22
- # via gitdb
23
18
  typing-extensions==4.12.2
24
- # via urwid
25
19
  urwid==2.6.15
26
- # via reposnap
27
20
  wcwidth==0.2.13
28
- # via urwid
@@ -58,7 +58,11 @@ class MarkdownGenerator:
58
58
  self.logger.debug(f"File not found: {file_path}. Skipping.")
59
59
  continue
60
60
 
61
- self._write_file_content(file_path, relative_path.as_posix())
61
+ try:
62
+ self._write_file_content(file_path, relative_path.as_posix())
63
+ except UnicodeDecodeError as e:
64
+ self.logger.error(f"UnicodeDecodeError for file {file_path}: {e}")
65
+
62
66
 
63
67
  def _write_file_content(self, file_path: Path, relative_path: str) -> None:
64
68
  """
File without changes
File without changes
File without changes
File without changes