code-webis-cmd issueshttps://git.webis.de/code-generic/code-webis-cmd/-/issues2023-09-16T07:46:07Zhttps://git.webis.de/code-generic/code-webis-cmd/-/issues/27Modules not found after fresh install2023-09-16T07:46:07ZJan Heinrich Reimerheinrich.reimer@uni-jena.deModules not found after fresh installAfter a fresh [multi-user install](https://git.webis.de/code-generic/code-webis-cmd/-/wikis/webis-cmd-installation#multi-user-machines-linuxmac-only), executing `sudo webis ceph` crashes because the `pandas` module is not found:
```
Trac...After a fresh [multi-user install](https://git.webis.de/code-generic/code-webis-cmd/-/wikis/webis-cmd-installation#multi-user-machines-linuxmac-only), executing `sudo webis ceph` crashes because the `pandas` module is not found:
```
Traceback (most recent call last):
File "/usr/local/bin/webis", line 113, in <module>
main()
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1135, in invoke
sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 641, in make_context
self.parse_args(ctx, args)
File "/usr/lib/python3/dist-packages/click/core.py", line 1086, in parse_args
echo(ctx.get_help(), color=ctx.color)
File "/usr/lib/python3/dist-packages/click/core.py", line 516, in get_help
return self.command.get_help(self)
File "/usr/lib/python3/dist-packages/click/core.py", line 879, in get_help
self.format_help(ctx, formatter)
File "/usr/lib/python3/dist-packages/click/core.py", line 898, in format_help
self.format_options(ctx, formatter)
File "/usr/lib/python3/dist-packages/click/core.py", line 1017, in format_options
self.format_commands(ctx, formatter)
File "/usr/lib/python3/dist-packages/click/core.py", line 1062, in format_commands
cmd = self.get_command(ctx, subcommand)
File "/usr/local/share/webis-cmd/libs/lib.py", line 275, in get_command
cmd = importlib.import_module(mod_name, self.base_module)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/share/webis-cmd/tools/ceph/osd.py", line 4, in <module>
import pandas as pd
ModuleNotFoundError: No module named 'pandas'
```
After installing `pandas` (running `sudo pip install pandas`) the `plotly` module is missing:
```
Traceback (most recent call last):
File "/usr/local/bin/webis", line 113, in <module>
main()
File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1135, in invoke
sub_ctx = cmd.make_context(cmd_name, args, parent=ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 641, in make_context
self.parse_args(ctx, args)
File "/usr/lib/python3/dist-packages/click/core.py", line 1086, in parse_args
echo(ctx.get_help(), color=ctx.color)
File "/usr/lib/python3/dist-packages/click/core.py", line 516, in get_help
return self.command.get_help(self)
File "/usr/lib/python3/dist-packages/click/core.py", line 879, in get_help
self.format_help(ctx, formatter)
File "/usr/lib/python3/dist-packages/click/core.py", line 898, in format_help
self.format_options(ctx, formatter)
File "/usr/lib/python3/dist-packages/click/core.py", line 1017, in format_options
self.format_commands(ctx, formatter)
File "/usr/lib/python3/dist-packages/click/core.py", line 1062, in format_commands
cmd = self.get_command(ctx, subcommand)
File "/usr/local/share/webis-cmd/libs/lib.py", line 275, in get_command
cmd = importlib.import_module(mod_name, self.base_module)
File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 783, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/usr/local/share/webis-cmd/tools/ceph/osd.py", line 5, in <module>
import plotly.graph_objects as go
ModuleNotFoundError: No module named 'plotly'
```
After installing `plotly` too (running `sudo pip install plotly`) the `sudo webis ceph` command succeeds.
If Python dependencies are required, I guess these should be installed in `webis core install`.https://git.webis.de/code-generic/code-webis-cmd/-/issues/29Kubernetes login not working2023-09-16T07:45:13ZJan Heinrich Reimerheinrich.reimer@uni-jena.deKubernetes login not workingLogging in to Kubernetes using `webis k8s login` does not work unfortunately.
Still gives the "standard" error:
```
Unable to connect to the server: failed to refresh token: oauth2: cannot fetch token: 400 Bad Request
Response: {"error":...Logging in to Kubernetes using `webis k8s login` does not work unfortunately.
Still gives the "standard" error:
```
Unable to connect to the server: failed to refresh token: oauth2: cannot fetch token: 400 Bad Request
Response: {"error":"invalid_request","error_description":"Refresh token is invalid or has already been claimed by another client."}
```
After login at https://openid.webis.de/k8s-login, everything works fine.https://git.webis.de/code-generic/code-webis-cmd/-/issues/17Installation broken on Mac due to missing realpath command2023-07-25T09:49:21ZLukas GienappInstallation broken on Mac due to missing realpath commandAn issue occurs when doing a clean installation on Mac: the command `realpath` is not available on Mac, but used to determine exported variable [WEBIS_CMD_ROOT_PATH](https://git.webis.de/code-generic/code-webis-cmd/-/blob/master/webis.py...An issue occurs when doing a clean installation on Mac: the command `realpath` is not available on Mac, but used to determine exported variable [WEBIS_CMD_ROOT_PATH](https://git.webis.de/code-generic/code-webis-cmd/-/blob/master/webis.py#L4).
Possible fixes:
- add dependency (`brew install coreutils` contains `realpath`)
- add custom realpath function
Do we favor dependencies over code complexity?https://git.webis.de/code-generic/code-webis-cmd/-/issues/38webis ceph fs snapshot does not work on some deltawebs2023-07-05T07:51:59ZJohannes Kieseljohannes.kiesel@uni-weimar.dewebis ceph fs snapshot does not work on some deltawebsOn deltaweb001:
```
$ sudo WEBIS_CMD_NO_UPDATE=1 /usr/local/bin/webis ceph fs snapshot-list /mnt/ceph/storage/
2023-07-05 00:00:00 daily /mnt/ceph/storage/.snap/daily_20230705
2023-07-04 00:00:00 daily /mnt/ceph/storage/.snap/daily_2023...On deltaweb001:
```
$ sudo WEBIS_CMD_NO_UPDATE=1 /usr/local/bin/webis ceph fs snapshot-list /mnt/ceph/storage/
2023-07-05 00:00:00 daily /mnt/ceph/storage/.snap/daily_20230705
2023-07-04 00:00:00 daily /mnt/ceph/storage/.snap/daily_20230704
[...]
```
On deltaweb040:
```
$ sudo WEBIS_CMD_NO_UPDATE=1 /usr/local/bin/webis ceph fs snapshot-list /mnt/ceph/storage/
realpath: '': No such file or directory
```
Likely: https://git.webis.de/code-generic/code-webis-cmd/-/blob/master/webis_cmd/tools/ceph/fs.sh#L74
The same holds for `snapshot`, not just `snapshot-list`, see `$ journalctl -t CEPHFS_SNAPSHOT_DAILY | tail`
Possibly related:
On deltaweb001:
```
$ sudo webis --version
Traceback (most recent call last):
File "/usr/local/bin/webis", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1635, in invoke
rv = super().invoke(ctx)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/webis_cmd/webis.py", line 161, in main
click.echo('Webis command {}'.format(pkg_resources.require('webis-cmd')[0].version))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 901, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 792, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (typing-extensions 4.4.0 (/usr/local/lib/python3.8/dist-packages), Requirement.parse('typing-extensions>=4.6.1'), {'pydantic'})
```
On deltaweb040:
```
$ sudo webis --version
Webis command 3.0.0
```
However, on my own workstation it works with 3.0.0.
Still, maybe a problem with the upgrade to 3.0.0, can you remember a similar problem @roce3528 ?https://git.webis.de/code-generic/code-webis-cmd/-/issues/36webis cvs2 TypeError Trace2023-05-02T12:48:01ZMartin Potthastmartin.potthast@uni-weimar.dewebis cvs2 TypeError Trace```
MacBook-Pro:SMWK-tg70-socsciencecall-innotransfer-23 potthast$ webis cvs2 pull
Fetching updates:
removed: innotransfer-proposal-sketch-apr23
Traceback (most recent call last):
File "/Users/potthast/Library/Caches/pypoetry/vi...```
MacBook-Pro:SMWK-tg70-socsciencecall-innotransfer-23 potthast$ webis cvs2 pull
Fetching updates:
removed: innotransfer-proposal-sketch-apr23
Traceback (most recent call last):
File "/Users/potthast/Library/Caches/pypoetry/virtualenvs/webis-cmd-VCrptxGg-py3.10/bin/webis", line 6, in <module>
sys.exit(main())
File "/Users/potthast/Library/Caches/pypoetry/virtualenvs/webis-cmd-VCrptxGg-py3.10/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/Users/potthast/Library/Caches/pypoetry/virtualenvs/webis-cmd-VCrptxGg-py3.10/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/Users/potthast/Library/Caches/pypoetry/virtualenvs/webis-cmd-VCrptxGg-py3.10/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/potthast/webis-cmd/webis_cmd/tools/cvs2.py", line 22, in invoke
super().invoke(ctx)
File "/Users/potthast/Library/Caches/pypoetry/virtualenvs/webis-cmd-VCrptxGg-py3.10/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/potthast/Library/Caches/pypoetry/virtualenvs/webis-cmd-VCrptxGg-py3.10/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/potthast/Library/Caches/pypoetry/virtualenvs/webis-cmd-VCrptxGg-py3.10/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/Users/potthast/webis-cmd/webis_cmd/tools/cvs2.py", line 227, in pull
_clean_up_invalid_cvs_dir_entries(removed_dirs)
File "/Users/potthast/webis-cmd/webis_cmd/tools/cvs2.py", line 174, in _clean_up_invalid_cvs_dir_entries
os.rename(l[2:-4], l[2:-4] + '#deleted')
TypeError: can't concat str to bytes
```Janek BevendorffJanek Bevendorffhttps://git.webis.de/code-generic/code-webis-cmd/-/issues/14webis-cmd should give only Guest-Access to the group auth-pki-cert-server/user2023-05-01T20:03:58ZMaik Fröbewebis-cmd should give only Guest-Access to the group auth-pki-cert-server/userMaik FröbeMaik Fröbe2019-11-30https://git.webis.de/code-generic/code-webis-cmd/-/issues/11Git setup instructions still refer to the old CVS repository2023-05-01T20:03:23ZMichael VölskeGit setup instructions still refer to the old CVS repositoryRewrite the [git setup instructions](https://git.webis.de/code-generic/code-webis-cmd/wikis/git-setup) wiki page to omit references to the old CVS repo.Rewrite the [git setup instructions](https://git.webis.de/code-generic/code-webis-cmd/wikis/git-setup) wiki page to omit references to the old CVS repo.https://git.webis.de/code-generic/code-webis-cmd/-/issues/35Python Version Compatibility with new CVS2 command2023-04-11T12:48:18ZErik KörnerPython Version Compatibility with new CVS2 commandUsage of `match`+`case` statements at https://git.webis.de/code-generic/code-webis-cmd/-/blob/master/tools/cvs2.py#L154-162 requires Python 3.10. `setup.py` only requires 3.6+. For older systems (Ubuntu 20.04) Python 3.8.10 is still the ...Usage of `match`+`case` statements at https://git.webis.de/code-generic/code-webis-cmd/-/blob/master/tools/cvs2.py#L154-162 requires Python 3.10. `setup.py` only requires 3.6+. For older systems (Ubuntu 20.04) Python 3.8.10 is still the default.
It might be better to rewrite with `if`/`elif` for backwards compatibility:
```python
if s == b'U':
err.print(f' [green]new: {f.decode()}[/green]', highlight=False)
elif s == b'M':
err.print(f' [green]modified: {f.decode()}[/green]', highlight=False)
elif s == b'R':
err.print(f' [red]removed: {f.decode()}[/red]', highlight=False)
elif s == b'C':
err.print(f' [red]CONFLICT: {f.decode()}[/red]', highlight=False)
```
(Similar to lines 90+.)Janek BevendorffJanek Bevendorffhttps://git.webis.de/code-generic/code-webis-cmd/-/issues/20Help not working for git deactivate-unused-accounts2022-07-16T10:36:44ZJohannes Kieseljohannes.kiesel@uni-weimar.deHelp not working for git deactivate-unused-accountsNot high priority, but the help does not work for me:
```
$ webis git deactivate-unused-accounts --help
Traceback (most recent call last):
File "/usr/local/bin/webis", line 113, in <module>
main()
File "/home/dogu3912/.local/lib...Not high priority, but the help does not work for me:
```
$ webis git deactivate-unused-accounts --help
Traceback (most recent call last):
File "/usr/local/bin/webis", line 113, in <module>
main()
File "/home/dogu3912/.local/lib/python3.5/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/dogu3912/.local/lib/python3.5/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/dogu3912/.local/lib/python3.5/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/dogu3912/.local/lib/python3.5/site-packages/click/core.py", line 1254, in invoke
cmd_name, cmd, args = self.resolve_command(ctx, args)
File "/home/dogu3912/.local/lib/python3.5/site-packages/click/core.py", line 1297, in resolve_command
cmd = self.get_command(ctx, cmd_name)
File "/home/dogu3912/workspace/code/code-generic/code-webis-cmd/libs/lib.py", line 275, in get_command
cmd = importlib.import_module(mod_name, self.base_module)
File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 986, in _gcd_import
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 673, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 661, in exec_module
File "<frozen importlib._bootstrap_external>", line 767, in get_code
File "<frozen importlib._bootstrap_external>", line 727, in source_to_code
File "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed
File "/home/dogu3912/workspace/code/code-generic/code-webis-cmd/tools/git/deactivate_unused_accounts.py", line 37
f"{u.username}\t{u.last_activity_on}\t{u.name}\t{u.email}"
^
SyntaxError: invalid syntax
```
This does, however, prevent me from re-compiling the cheat sheet.
I assign this to Michael as he did the last commit on the command ;)
Maybe some Python-version-thing? I have Python 3.6.Michael VölskeMichael Völskehttps://git.webis.de/code-generic/code-webis-cmd/-/issues/30Modules not found2021-07-21T16:59:09ZChristopher SchröderModules not foundSimilarly to #27 and #22, the following dependencies are missing:
- godaddypy
- rich
These two dependencies were missing after an auto update. The requirements.txt seems fine, so this seems to be related to the update functionality.
...Similarly to #27 and #22, the following dependencies are missing:
- godaddypy
- rich
These two dependencies were missing after an auto update. The requirements.txt seems fine, so this seems to be related to the update functionality.
```
Traceback (most recent call last):
File "<HOME>/.local/bin/webis", line 113, in <module>
main()
File "<HOME>/.local/lib/python3.6/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "<HOME>/.local/lib/python3.6/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "<HOME>/.local/lib/python3.6/site-packages/click/core.py", line 1236, in invoke
return Command.invoke(self, ctx)
File "<HOME>/.local/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "<HOME>/.local/lib/python3.6/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "<HOME>/.local/lib/python3.6/site-packages/click/decorators.py", line 21, in new_func
return f(get_current_context(), *args, **kwargs)
File "<HOME>/.local/bin/webis", line 108, in main
click.echo('\n' + ctx.get_help(), color=ctx.color)
File "<HOME>/.local/lib/python3.6/site-packages/click/core.py", line 570, in get_help
return self.command.get_help(self)
File "<HOME>/.local/lib/python3.6/site-packages/click/core.py", line 975, in get_help
self.format_help(ctx, formatter)
File "<HOME>/.local/lib/python3.6/site-packages/click/core.py", line 1003, in format_help
self.format_options(ctx, formatter)
File "<HOME>/.local/lib/python3.6/site-packages/click/core.py", line 1137, in format_options
self.format_commands(ctx, formatter)
File "<HOME>/.local/lib/python3.6/site-packages/click/core.py", line 1185, in format_commands
cmd = self.get_command(ctx, subcommand)
File "<HOME>/workspaces/asv/code-webis-cmd/libs/lib.py", line 275, in get_command
cmd = importlib.import_module(mod_name, self.base_module)
File "/usr/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 678, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "<HOME>/<XYZ>/code-webis-cmd/tools/dns.py", line 7, in <module>
from godaddypy import Client, Account
ModuleNotFoundError: No module named 'godaddypy
```https://git.webis.de/code-generic/code-webis-cmd/-/issues/22`tqdm` missing as requirement2021-07-21T16:59:09ZErik Körner`tqdm` missing as requirementThe install instructions should mention that tqdm is required.
`webis -h` throws an error if only python and pep8 are installed.
```bash
sudo apt install python3-tqdm
```
On WSL, Ubuntu-20.04.The install instructions should mention that tqdm is required.
`webis -h` throws an error if only python and pep8 are installed.
```bash
sudo apt install python3-tqdm
```
On WSL, Ubuntu-20.04.https://git.webis.de/code-generic/code-webis-cmd/-/issues/25python commands with "_" not working2021-05-25T13:57:55ZJohannes Kieseljohannes.kiesel@uni-weimar.depython commands with "_" not workingI can't say for how long, but I can no longer use the python commands that contain an underscore in the filename:
For example:
`webis git list-groups` => `Error: No such command "list-groups".`
The command (list-groups) does not show u...I can't say for how long, but I can no longer use the python commands that contain an underscore in the filename:
For example:
`webis git list-groups` => `Error: No such command "list-groups".`
The command (list-groups) does not show up on `webis git`, as well.
But when I change the filename from `list_groups.py` to `listgroups.py` AND change the method name inside that file from `list_groups` to `listgroups`, it works.
Any ideas @fmiv8532 @roce3528? This seems to be all click magic to me.
I have Python 3.8.5, click 6.7https://git.webis.de/code-generic/code-webis-cmd/-/issues/19webis cvs update: full name2020-10-07T08:00:29ZJohannes Kieseljohannes.kiesel@uni-weimar.dewebis cvs update: full nameChange to `webis cvs update [-l <your-login>] <new-login> "<new-login-fullname>"`
For setting the full name use
`chfn -f "<new-login-fullname>" <new-login>`Change to `webis cvs update [-l <your-login>] <new-login> "<new-login-fullname>"`
For setting the full name use
`chfn -f "<new-login-fullname>" <new-login>`Johannes Kieseljohannes.kiesel@uni-weimar.deJohannes Kieseljohannes.kiesel@uni-weimar.dehttps://git.webis.de/code-generic/code-webis-cmd/-/issues/16update webis git clone-groups2020-08-04T09:32:52ZJohannes Kieseljohannes.kiesel@uni-weimar.deupdate webis git clone-groupsIt currently clones all projects of a group into the same directory without considering whether they are in a sub-group.
Instead, the output directory structure should resemble the hierarchy of sub-groups.
Should the selection allow to...It currently clones all projects of a group into the same directory without considering whether they are in a sub-group.
Instead, the output directory structure should resemble the hierarchy of sub-groups.
Should the selection allow to choose specific sub-groups?Johannes Kieseljohannes.kiesel@uni-weimar.deJohannes Kieseljohannes.kiesel@uni-weimar.dehttps://git.webis.de/code-generic/code-webis-cmd/-/issues/15webis git update-project is broken2020-05-14T13:48:26ZJohannes Kieseljohannes.kiesel@uni-weimar.dewebis git update-project is brokenProbably happened in going to 2.0 @roce3528?
`webis git clone-groups` expects that it can call `update-project.sh -u url -d destination`, but this does not work. Also calling `webis git update-project -u url -d destination` just fails:
...Probably happened in going to 2.0 @roce3528?
`webis git clone-groups` expects that it can call `update-project.sh -u url -d destination`, but this does not work. Also calling `webis git update-project -u url -d destination` just fails:
```
[ERROR] Missing arguments, see:
USAGE: /home/dogu3912/workspace/code/code-generic/code-webis-cmd/tools/git/update_project.sh [flags] args
flags:
```
The help message does not display the flags either. I also don't see the flags described in the code of `update_project.sh`https://git.webis.de/code-generic/code-webis-cmd/-/issues/13Lecturenotes upload webis cmd2020-05-14T10:42:23ZJohannes Kieseljohannes.kiesel@uni-weimar.deLecturenotes upload webis cmdMainly requires to store the token outside of the script.
Maybe problematic for Windows?Mainly requires to store the token outside of the script.
Maybe problematic for Windows?Johannes Kieseljohannes.kiesel@uni-weimar.deJohannes Kieseljohannes.kiesel@uni-weimar.dehttps://git.webis.de/code-generic/code-webis-cmd/-/issues/10`webis git clone-groups` segfaults on some python versions2018-08-15T07:57:42ZMichael Völske`webis git clone-groups` segfaults on some python versionsPossibly related to `multiprocessing.pool.ThreadPool(processes)`Possibly related to `multiprocessing.pool.ThreadPool(processes)`Michael VölskeMichael Völskehttps://git.webis.de/code-generic/code-webis-cmd/-/issues/9"webis core checker" checks not only tools but also libs (at least)2017-11-08T14:24:21ZJohannes Kieseljohannes.kiesel@uni-weimar.de"webis core checker" checks not only tools but also libs (at least)This makes it rather unusable for me, as there are a lot of style violations in the libs directoryThis makes it rather unusable for me, as there are a lot of style violations in the libs directoryhttps://git.webis.de/code-generic/code-webis-cmd/-/issues/8clone-groups fails2017-08-22T12:18:35ZMartin Potthastmartin.potthast@uni-weimar.declone-groups failsWhen running `webis git clone-groups` the command fails:
```
Downloading project information. Please wait...
Traceback (most recent call last):
File "/home/poma1006/mpfiles/webis/code-in-progress/code-generic/code-webis-cmd/tools/git/...When running `webis git clone-groups` the command fails:
```
Downloading project information. Please wait...
Traceback (most recent call last):
File "/home/poma1006/mpfiles/webis/code-in-progress/code-generic/code-webis-cmd/tools/git/clone-groups.py", line 134, in <module>
groups = gather_groups_and_projects()
File "/home/poma1006/mpfiles/webis/code-in-progress/code-generic/code-webis-cmd/tools/git/clone-groups.py", line 34, in gather_groups_and_projects
namespace = p['path_with_namespace'].split('/')[0]
TypeError: string indices must be integers
[ERROR] An error occurred while executing /home/poma1006/mpfiles/webis/code-in-progress/code-generic/code-webis-cmd/tools/git/clone-groups.py
```https://git.webis.de/code-generic/code-webis-cmd/-/issues/7webis git clone-groups warning2017-06-05T10:52:38ZMartin Potthastmartin.potthast@uni-weimar.dewebis git clone-groups warningThe command reports the following warning:
fatal: No commit specified and merge.defaultToUpstream not set.
Shouldn't be the original repository the one to push to by default?The command reports the following warning:
fatal: No commit specified and merge.defaultToUpstream not set.
Shouldn't be the original repository the one to push to by default?