mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-26 07:13:55 +01:00
Everywhere: Replace "jw_build" by "jw_pkg"
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
f90f5aeebe
commit
6340eeace9
1 changed files with 4 additions and 4 deletions
|
|
@ -23,11 +23,11 @@ class CmdGetAuthInfo(Cmd): # export
|
||||||
keys = ['username', 'password']
|
keys = ['username', 'password']
|
||||||
|
|
||||||
# --- Milk jw-pkg repo
|
# --- Milk jw-pkg repo
|
||||||
jw_build_dir = self.app.proj_dir('jw-pkg')
|
jw_pkg_dir = self.app.proj_dir('jw-pkg')
|
||||||
if not os.path.isdir(jw_build_dir + '/.git'):
|
if not os.path.isdir(jw_pkg_dir + '/.git'):
|
||||||
self.app.debug(f'jw-pkg directory is not a Git repo: {jw_build_dir}')
|
self.app.debug(f'jw-pkg directory is not a Git repo: {jw_pkg_dir}')
|
||||||
return
|
return
|
||||||
remotes = run_cmd(['git', '-C', jw_build_dir, 'remote', '-v'])
|
remotes = run_cmd(['git', '-C', jw_pkg_dir, 'remote', '-v'])
|
||||||
result: dict[str, str] = {}
|
result: dict[str, str] = {}
|
||||||
for line in remotes.split('\n'):
|
for line in remotes.split('\n'):
|
||||||
if re.match(r'^\s*$', line):
|
if re.match(r'^\s*$', line):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue