- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Apr 29 2020
Apr 28 2020
In D3073#74823, @olasd wrote:The only caveat I see from this diff is that it forces people to use tox to build docs reliably.
I don't mind (I almost never use direct commands anymore) but some people might?
I've prepared a draft IANA registration template. We have some work in flux on the SWHID spec, so I'll submit the registration request once it's done.
Apr 27 2020
- SWHID spec: simplify and generalize escaping requirements
You correctly mention uniformity as a positive thing to have.
But term correctness is also a positive value, in my opinion.
Apr 26 2020
In D3068#74533, @vlorentz wrote:I wonder if we should require extra escapes, like whitespaces and/or angle brackets (to embed SWHIDs in free text)
(And it's out of scope, but I don't think we need to mention % must me escaped, it's already required by the RFC)
Upon (admittedly quick) review, I don't think that anything more than D3068 is needed to address this.
Double-checking/feedback welcome!
Apr 25 2020
Apr 24 2020
Apr 23 2020
In T2363#43710, @DanSeraf wrote:$ swh scanner scan -f json /tmp/test { "dir1": { "children": { "subdir1": { "children": { "text.txt": { "known": true, "swhid": "swh:1:cnt:ff5b57b7095eb5d168a36db6552ad2ce1f219bf6" }
Apr 22 2020
it's not a blocker, and can be added in a subsequent commit, but can you please also add documentation of the CLI, in the style of https://docs.softwareheritage.org/devel/swh-model/cli.html ?
Apr 21 2020
If we go for the DOI, shouldn't we converge on it also for other similarly archives, for the sake of uniformity? HAL comes to mind, of course.
(To be clear: I'm not proposing to uniform past deposits, but to change this for the future.)
In T2335#43554, @olasd wrote:I then run clush -w <dead_workers> 'systemctl kill --kill-who all --signal 9 swh-worker@loader_git' on pergamon to restart these git loaders
Apr 20 2020
Apr 18 2020
Apr 17 2020
Apr 16 2020
Apr 15 2020
Reopening, as it looks like this issue is back, e.g.:
$ swh scanner scan -f sunburst . Traceback (most recent call last): File "/home/zack/.virtualenvs/swh/bin/swh", line 11, in <module> load_entry_point('swh.core', 'console_scripts', 'swh')() File "/home/zack/dati/projects/sw-heritage/git/swh-environment/swh-core/swh/core/cli/__init__.py", line 122, in main return swh(auto_envvar_prefix="SWH") File "/home/zack/.virtualenvs/swh/lib/python3.7/site-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/home/zack/.virtualenvs/swh/lib/python3.7/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/home/zack/.virtualenvs/swh/lib/python3.7/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/zack/.virtualenvs/swh/lib/python3.7/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/home/zack/.virtualenvs/swh/lib/python3.7/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/zack/.virtualenvs/swh/lib/python3.7/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/home/zack/.virtualenvs/swh/lib/python3.7/site-packages/click/decorators.py", line 17, in new_func return f(get_current_context(), *args, **kwargs) File "/home/zack/dati/projects/sw-heritage/git/swh-environment/swh-scanner/swh/scanner/cli.py", line 56, in scan loop.run_until_complete(run(path, api_url, source_tree)) File "/usr/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete return future.result() File "/home/zack/dati/projects/sw-heritage/git/swh-environment/swh-scanner/swh/scanner/scanner.py", line 138, in run await _scan(root, session, api_url, source_tree) File "/home/zack/dati/projects/sw-heritage/git/swh-environment/swh-scanner/swh/scanner/scanner.py", line 135, in _scan await _scan(path, session, api_url, source_tree) File "/home/zack/dati/projects/sw-heritage/git/swh-environment/swh-scanner/swh/scanner/scanner.py", line 135, in _scan await _scan(path, session, api_url, source_tree) File "/home/zack/dati/projects/sw-heritage/git/swh-environment/swh-scanner/swh/scanner/scanner.py", line 135, in _scan await _scan(path, session, api_url, source_tree) File "/home/zack/dati/projects/sw-heritage/git/swh-environment/swh-scanner/swh/scanner/scanner.py", line 125, in _scan for path, pid, found in await parse_path(root, session, api_url): File "/home/zack/dati/projects/sw-heritage/git/swh-environment/swh-scanner/swh/scanner/scanner.py", line 104, in parse_path parsed_pids = await pids_discovery(list(parsed_paths.values()), session, api_url) File "/home/zack/dati/projects/sw-heritage/git/swh-environment/swh-scanner/swh/scanner/scanner.py", line 61, in pids_discovery return await make_request(pids) File "/home/zack/dati/projects/sw-heritage/git/swh-environment/swh-scanner/swh/scanner/scanner.py", line 49, in make_request error_response(resp.reason, resp.status, endpoint) File "/home/zack/dati/projects/sw-heritage/git/swh-environment/swh-scanner/swh/scanner/exceptions.py", line 18, in error_response raise APIError(error_msg) swh.scanner.exceptions.APIError: "429 Too Many Requests: 'https://archive.softwareheritage.org/api/1/known/'"
Apr 14 2020
Apr 10 2020
In D3002#72795, @vlorentz wrote:Confusing name, I expected this to be a proxy using memcached.
Apr 9 2020
In D2984#72249, @ardumont wrote:Please, also clean up the tool environment variables :)
- Makefile.python: drop unused vars as well as check-staged
Apr 8 2020
Apr 3 2020
In T2317#43088, @moranegg wrote:In the sidebar menu I would keep the API access (unless it is accessible during the navigation - not on the landing page).
Also the access to the API on the side, is very small.
Apr 2 2020
In T2329#43073, @moranegg wrote:I've seen the new example, is this the right transformation?
LGTM, just minor docstring/comment issue, then we're good to go