mud-git 1.0.0__tar.gz → 1.0.2__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.
- mud_git-1.0.0/.github/workflows/publish.yml → mud_git-1.0.2/.github/workflows/publish.yaml +1 -1
- {mud_git-1.0.0 → mud_git-1.0.2}/LICENSE +1 -1
- {mud_git-1.0.0 → mud_git-1.0.2}/PKG-INFO +3 -3
- {mud_git-1.0.0 → mud_git-1.0.2}/README.md +2 -2
- {mud_git-1.0.0 → mud_git-1.0.2}/pyproject.toml +1 -1
- mud_git-1.0.2/src/mud/__about__.py +1 -0
- {mud_git-1.0.0 → mud_git-1.0.2}/src/mud/__init__.py +1 -2
- {mud_git-1.0.0 → mud_git-1.0.2}/src/mud/app.py +2 -4
- {mud_git-1.0.0 → mud_git-1.0.2}/src/mud/runner.py +9 -9
- mud_git-1.0.0/src/mud/__about__.py +0 -1
- {mud_git-1.0.0 → mud_git-1.0.2}/.github/workflows/test.yaml +0 -0
- {mud_git-1.0.0 → mud_git-1.0.2}/.gitignore +0 -0
- {mud_git-1.0.0 → mud_git-1.0.2}/img.png +0 -0
- {mud_git-1.0.0 → mud_git-1.0.2}/requirements.txt +0 -0
- {mud_git-1.0.0 → mud_git-1.0.2}/src/mud/commands.py +0 -0
- {mud_git-1.0.0 → mud_git-1.0.2}/src/mud/config.py +0 -0
- {mud_git-1.0.0 → mud_git-1.0.2}/src/mud/settings.py +0 -0
- {mud_git-1.0.0 → mud_git-1.0.2}/src/mud/styles.py +0 -0
- {mud_git-1.0.0 → mud_git-1.0.2}/src/mud/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: mud-git
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: 🗃️ Multi repository git utility. Manage multiple git-repositories simultaneously.
|
|
5
5
|
Project-URL: Homepage, https://github.com/jasursadikov/mud
|
|
6
6
|
Project-URL: Issues, https://github.com/jasursadikov/mud/issues
|
|
@@ -15,7 +15,7 @@ Description-Content-Type: text/markdown
|
|
|
15
15
|
|
|
16
16
|
# mud
|
|
17
17
|
|
|
18
|
-

|
|
19
19
|

|
|
20
20
|

|
|
21
21
|
|
|
@@ -25,7 +25,7 @@ mud is a multi-directory git runner which allows you to run git commands in a mu
|
|
|
25
25
|
|
|
26
26
|
## Installing
|
|
27
27
|
```bash
|
|
28
|
-
pip install mud
|
|
28
|
+
pip install mud-git
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## Getting started
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# mud
|
|
2
2
|
|
|
3
|
-

|
|
4
4
|

|
|
5
5
|

|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ mud is a multi-directory git runner which allows you to run git commands in a mu
|
|
|
10
10
|
|
|
11
11
|
## Installing
|
|
12
12
|
```bash
|
|
13
|
-
pip install mud
|
|
13
|
+
pip install mud-git
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
## Getting started
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "mud-git"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.2"
|
|
8
8
|
authors = [{ name = "Jasur Sadikov", email = "jasur@sadikoff.com" }]
|
|
9
9
|
description = "🗃️ Multi repository git utility. Manage multiple git-repositories simultaneously."
|
|
10
10
|
readme = "README.md"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.0.2"
|
|
@@ -7,13 +7,11 @@ import subprocess
|
|
|
7
7
|
from argparse import ArgumentParser
|
|
8
8
|
|
|
9
9
|
from mud import config
|
|
10
|
-
|
|
11
10
|
from mud import utils
|
|
12
|
-
from mud.
|
|
13
|
-
|
|
11
|
+
from mud.runner import Runner
|
|
14
12
|
from mud.styles import *
|
|
15
13
|
from mud.commands import *
|
|
16
|
-
from mud.
|
|
14
|
+
from mud.utils import glyphs
|
|
17
15
|
|
|
18
16
|
|
|
19
17
|
class App:
|
|
@@ -11,7 +11,7 @@ from mud.styles import *
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
class Runner:
|
|
14
|
-
_label_color_cache = {}
|
|
14
|
+
_label_color_cache = {}1
|
|
15
15
|
_current_color_index = 0
|
|
16
16
|
|
|
17
17
|
def __init__(self, repos):
|
|
@@ -92,14 +92,14 @@ class Runner:
|
|
|
92
92
|
|
|
93
93
|
for file in files:
|
|
94
94
|
file_status = file[:2].strip()
|
|
95
|
-
if file_status
|
|
95
|
+
if file_status.startswith('M') or file_status.startswith('U'):
|
|
96
96
|
color = YELLOW
|
|
97
|
-
elif file_status
|
|
98
|
-
color =
|
|
99
|
-
elif file_status
|
|
100
|
-
color = BLUE
|
|
101
|
-
elif file_status == 'D':
|
|
97
|
+
elif file_status.startswith('A') or file_status.startswith('C') or file_status.startswith('??') or file_status.startswith('!!'):
|
|
98
|
+
color = BRIGHT_GREEN
|
|
99
|
+
elif file_status.startswith('D'):
|
|
102
100
|
color = RED
|
|
101
|
+
elif file_status.startswith('R'):
|
|
102
|
+
color = BLUE
|
|
103
103
|
else:
|
|
104
104
|
color = CYAN
|
|
105
105
|
|
|
@@ -324,9 +324,9 @@ class Runner:
|
|
|
324
324
|
|
|
325
325
|
for file in files:
|
|
326
326
|
file = file.lstrip()
|
|
327
|
-
if file.startswith('M'):
|
|
327
|
+
if file.startswith('M') or file.startswith('U'):
|
|
328
328
|
modified += 1
|
|
329
|
-
elif file.startswith('A') or file.startswith('??'):
|
|
329
|
+
elif file.startswith('A') or file.startswith('C') or file.startswith('??') or file.startswith('!!'):
|
|
330
330
|
added += 1
|
|
331
331
|
elif file.startswith('D'):
|
|
332
332
|
removed += 1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|