Page MenuHomeSoftware Heritage
Feed Advanced Search

Apr 14 2021

rdicosmo added a comment to T3084: Fast track save code now requests.

Great news :-)

Apr 14 2021, 7:01 PM · System administration, Web app
vsellier closed T3231: Make the source of the object counts configurable, a subtask of T2912: Next generation archive counters, as Resolved.
Apr 14 2021, 6:40 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier closed T3231: Make the source of the object counts configurable as Resolved.
  • version 0.1.296(swh2) released and deployed on all the webapp
Apr 14 2021, 6:40 PM · System administration, Monitoring, Web app
ardumont added a comment to T3084: Fast track save code now requests.

Current deployment tryout of D5520 is currently running on staging and i'm happy to
report it's working as expected.

Apr 14 2021, 6:38 PM · System administration, Web app
ardumont added a revision to T3084: Fast track save code now requests: D5526: conf/loader: Declare save code now queues to consume from.
Apr 14 2021, 5:19 PM · System administration, Web app
anlambert added a comment to T3202: Help new users discover the features available in the archive browsing view.

chardin.js library is also interesting, it creates a simple overlay to display instructions on existent elements instead of using popups.

Apr 14 2021, 3:17 PM · Web app
vsellier updated the task description for T3231: Make the source of the object counts configurable.
Apr 14 2021, 3:11 PM · System administration, Monitoring, Web app
vsellier added a revision to T3231: Make the source of the object counts configurable: D5524: Add the configuration for the source of object counters.
Apr 14 2021, 3:05 PM · System administration, Monitoring, Web app
anlambert added a comment to T3202: Help new users discover the features available in the archive browsing view.

Bootstrap Tour also looks great, simple to use, easy configuration, also a good candidate.

Apr 14 2021, 2:59 PM · Web app
anlambert added a comment to T3202: Help new users discover the features available in the archive browsing view.

The intro.js library seems pretty simple to use, can be configured through JSON, can provide guided tour but also UI hints and is highly customizable.

Apr 14 2021, 2:51 PM · Web app
ardumont added a revision to T3084: Fast track save code now requests: D5520: Route priority tasks to dedicated save code now queues.
Apr 14 2021, 12:51 PM · System administration, Web app
anlambert added a revision to T3247: Implement SWHID validation in frontend: D5484: assets/webapp-utils: Add SWHID validation in search inputs.
Apr 14 2021, 11:43 AM · Web app
anlambert added a revision to T3234: Handle gracefully trailing slashes when resolving SWHID in search box: D5519: urls: Remove trailing slash in SWHID resolving URL.
Apr 14 2021, 11:35 AM · Web app
vsellier added a revision to T3231: Make the source of the object counts configurable: D5518: Make the project usable in the webapp tests.
Apr 14 2021, 10:18 AM · System administration, Monitoring, Web app

Apr 13 2021

vlorentz added a comment to T3248: FileNotFoundError when autodocumenting highlightjs.py.

I tried this:

Apr 13 2021, 9:40 PM · Web app, Documentation
vsellier closed T3232: remove hardcoded historical values from the webapp, a subtask of T2912: Next generation archive counters, as Resolved.
Apr 13 2021, 6:59 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier closed T3232: remove hardcoded historical values from the webapp as Resolved.

swh-web v0.0.295 is released and deployed on staging and production.

Apr 13 2021, 6:59 PM · Monitoring, Web app
ardumont added a revision to T3084: Fast track save code now requests: D5503: backend: Open endpoints to peek/grab tasks with any priority.
Apr 13 2021, 6:03 PM · System administration, Web app
vsellier added a comment to T3232: remove hardcoded historical values from the webapp.

The puppet script generating the aggragated data is updated and was run to refresh the data.
The webapp can be released with this diff now

Apr 13 2021, 6:02 PM · Monitoring, Web app
vsellier removed a revision from T3232: remove hardcoded historical values from the webapp: D5502: Add a method get several counter values at once.
Apr 13 2021, 6:01 PM · Monitoring, Web app
vsellier added a revision to T3231: Make the source of the object counts configurable: D5502: Add a method get several counter values at once.
Apr 13 2021, 6:01 PM · System administration, Monitoring, Web app
vsellier added a revision to T3232: remove hardcoded historical values from the webapp: D5502: Add a method get several counter values at once.
Apr 13 2021, 5:43 PM · Monitoring, Web app
vlorentz updated the task description for T3248: FileNotFoundError when autodocumenting highlightjs.py.
Apr 13 2021, 4:50 PM · Web app, Documentation
vlorentz added a parent task for T3248: FileNotFoundError when autodocumenting highlightjs.py: T2265: Building the documentation should not show any warning..
Apr 13 2021, 4:49 PM · Web app, Documentation
vlorentz triaged T3248: FileNotFoundError when autodocumenting highlightjs.py as Normal priority.
Apr 13 2021, 4:49 PM · Web app, Documentation
vsellier added a revision to T3232: remove hardcoded historical values from the webapp: D5494: counters: Aggregate values for origin and revision graphs.
Apr 13 2021, 3:10 PM · Monitoring, Web app
rdicosmo raised the priority of T3087: Implement support for takedown notices (infra, admin tools, workflow) from Normal to High.
Apr 13 2021, 2:53 PM · Roadmap 2022, meta-task, Roadmap 2021, Web app
ardumont added a revision to T3084: Fast track save code now requests: D5493: scheduler: Redirect priority task in their own dedicated task queue.
Apr 13 2021, 1:22 PM · System administration, Web app
vsellier added a comment to T3232: remove hardcoded historical values from the webapp.

one additional point before releasing this, the puppet script making the aggregation need to be improved as it only merge the data for the content graph :
https://forge.softwareheritage.org/source/puppet-swh-site/browse/production/site-modules/profile/files/stats_exporter/export_archive_counters.py$109

Apr 13 2021, 12:50 PM · Monitoring, Web app
anlambert added a comment to T3247: Implement SWHID validation in frontend.

Ok, this is converging with the discussion in T3234: we fully agree that having proper errors reported to the user is the way to go, so let's forget about the "sanitization" approach.

Better error message regarding what part of a SWHID did not get validated should be returned by the API though.

This would be a definite plus in all cases: how difficult would it be to report proper errors?

Apr 13 2021, 12:49 PM · Web app
anlambert added a comment to T3234: Handle gracefully trailing slashes when resolving SWHID in search box.

If we report a precise error that helps the user fix the issue, instead of the current "Internal format error", then I'm with you :-)

Apr 13 2021, 12:47 PM · Web app
anlambert added a revision to T3234: Handle gracefully trailing slashes when resolving SWHID in search box: D5492: identifiers: Fix some invalid ValidationError template string formats.
Apr 13 2021, 12:46 PM · Web app
rdicosmo added a comment to T3247: Implement SWHID validation in frontend.

Ok, this is converging with the discussion in T3234: we fully agree that having proper errors reported to the user is the way to go, so let's forget about the "sanitization" approach.

Apr 13 2021, 12:38 PM · Web app
rdicosmo added a comment to T3234: Handle gracefully trailing slashes when resolving SWHID in search box.
Apr 13 2021, 12:23 PM · Web app
anlambert added a comment to T3234: Handle gracefully trailing slashes when resolving SWHID in search box.

hence, a fix is needed in the code underlying the URL generation for the Permalinks tab (this is for @anlambert :-))

Apr 13 2021, 12:20 PM · Web app
vsellier changed the status of T3231: Make the source of the object counts configurable, a subtask of T2912: Next generation archive counters, from Open to Work in Progress.
Apr 13 2021, 12:14 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier changed the status of T3231: Make the source of the object counts configurable from Open to Work in Progress.
Apr 13 2021, 12:14 PM · System administration, Monitoring, Web app
vsellier added a revision to T3232: remove hardcoded historical values from the webapp: D5490: counters: Move the hardcoded points to the static historical file.
Apr 13 2021, 12:07 PM · Monitoring, Web app
rdicosmo added a comment to T3234: Handle gracefully trailing slashes when resolving SWHID in search box.

@vlorentz , @anlambert : thanks for progressing the discussion on this issue.
After mulling over your inputs, here is my current understanding:

Apr 13 2021, 12:00 PM · Web app
anlambert added a comment to T3247: Implement SWHID validation in frontend.

I wonder if this is not overkill: SWHID may evolve in the future, and maintaining two implementations (one of them in JS!) may be source of headaches down the line.
A simple "sanitization" phase in the frontend catching the most common issues (trailing slashes, leading or trailing tabs or spaces, etc.) would probably be enough for our purpose.

Apr 13 2021, 11:54 AM · Web app
rdicosmo added a comment to T3247: Implement SWHID validation in frontend.

I wonder if this is not overkill: SWHID may evolve in the future, and maintaining two implementations (one of them in JS!) may be source of headaches down the line.
A simple "sanitization" phase in the frontend catching the most common issues (trailing slashes, leading or trailing tabs or spaces, etc.) would probably be enough for our purpose.

Apr 13 2021, 11:34 AM · Web app
vsellier added a comment to T3232: remove hardcoded historical values from the webapp.

The P1005 convert the data added by the webapp to json data that can be added to the /usr/local/share/swh-data/history-counters.munin.json file.
This content can be added on the file before the change on the webapp is released. it will just add few duplicate points to render, but with no effect on the final rendering

Apr 13 2021, 11:21 AM · Monitoring, Web app
anlambert triaged T3247: Implement SWHID validation in frontend as Normal priority.
Apr 13 2021, 11:12 AM · Web app
ardumont added a revision to T3084: Fast track save code now requests: D5488: Define high level load-git-high task.
Apr 13 2021, 10:22 AM · System administration, Web app
vsellier changed the status of T3232: remove hardcoded historical values from the webapp, a subtask of T2912: Next generation archive counters, from Open to Work in Progress.
Apr 13 2021, 9:49 AM · Roadmap 2021, System administration, Monitoring, Web app
vsellier changed the status of T3232: remove hardcoded historical values from the webapp from Open to Work in Progress.
Apr 13 2021, 9:49 AM · Monitoring, Web app

Apr 12 2021

ardumont added a comment to T3084: Fast track save code now requests.

It could but not immediately.
Let's see if i can actually pull it off ;)

Apr 12 2021, 6:44 PM · System administration, Web app
zack added a comment to T3084: Fast track save code now requests.

Thanks for this!

Apr 12 2021, 5:11 PM · System administration, Web app
ardumont added a revision to T3084: Fast track save code now requests: D5486: Declare new service worker to consume save code now queues.
Apr 12 2021, 5:02 PM · System administration, Web app
vlorentz added a revision to T3234: Handle gracefully trailing slashes when resolving SWHID in search box: D5485: docs/persistent-identifiers: Add guidelines for fixing invalid SWHIDs..
Apr 12 2021, 4:47 PM · Web app
olasd added a comment to T3087: Implement support for takedown notices (infra, admin tools, workflow).

Are we planning to add a way to notify the mirrors of the takedown notices ?

Apr 12 2021, 4:43 PM · Roadmap 2022, meta-task, Roadmap 2021, Web app
vsellier added a comment to T3087: Implement support for takedown notices (infra, admin tools, workflow).

Are we planning to add a way to notify the mirrors of the takedown notices ?
I'm just thinking if it could be interesting to subscribe the staging environment to it to ensure the content is also removed from it (and also flagged to avoid any further ingestion).

Apr 12 2021, 4:31 PM · Roadmap 2022, meta-task, Roadmap 2021, Web app
olasd placed T3087: Implement support for takedown notices (infra, admin tools, workflow) up for grabs.
Apr 12 2021, 4:15 PM · Roadmap 2022, meta-task, Roadmap 2021, Web app
ardumont moved T3084: Fast track save code now requests from Backlog to in-progress on the System administration board.
Apr 12 2021, 3:55 PM · System administration, Web app
ardumont edited projects for T3084: Fast track save code now requests, added: System administration; removed System administrators.
Apr 12 2021, 3:53 PM · System administration, Web app
ardumont changed the status of T3084: Fast track save code now requests, a subtask of T3082: Improve Save Code Now handling, from Open to Work in Progress.
Apr 12 2021, 3:53 PM · Save Code Now, meta-task, Roadmap 2021, Web app
ardumont changed the status of T3084: Fast track save code now requests from Open to Work in Progress.
Apr 12 2021, 3:53 PM · System administration, Web app
ardumont added a comment to T3084: Fast track save code now requests.
  • swh-site: Deploy one systemd unit (per worker) which is able to deal with all the existing save code now requests and subscribed to the one high priority queue. Loaders are: loader-git, loader-svn, loader-mercurial for now.
Apr 12 2021, 3:53 PM · System administration, Web app
anlambert added a comment to T3234: Handle gracefully trailing slashes when resolving SWHID in search box.

There is only one origin URL in the archive ending with double slashes:

softwareheritage=> select * from origin where url ilike '%//' limit 10;
    id    |                          url                           
----------+--------------------------------------------------------
 89946580 | https://github.com/wookey-project/app-wookey-crypto///
Apr 12 2021, 3:49 PM · Web app
vlorentz added a comment to T3234: Handle gracefully trailing slashes when resolving SWHID in search box.
  • origin and path cannot be ended with double slashes, transform into single slash in that case
Apr 12 2021, 3:39 PM · Web app
anlambert added a revision to T3234: Handle gracefully trailing slashes when resolving SWHID in search box: D5484: assets/webapp-utils: Add SWHID validation in search inputs.
Apr 12 2021, 3:25 PM · Web app
anlambert added a comment to T3234: Handle gracefully trailing slashes when resolving SWHID in search box.

I guess the simplest fix will be to automatically remove the trailing slash of such malformed SWHID frontend side after a user copied pasted it in the search box.

Apr 12 2021, 1:36 PM · Web app

Apr 10 2021

rdicosmo added a comment to T3234: Handle gracefully trailing slashes when resolving SWHID in search box.

As a compromise, we could accept this trailing slash, but show a warning on the interface and/or codify in the SWHID specification an exhaustive list of "fixes" that user interfaces can/should do.

Apr 10 2021, 1:12 PM · Web app
vlorentz added a comment to T3234: Handle gracefully trailing slashes when resolving SWHID in search box.

There are already many URLs in the open

Apr 10 2021, 12:22 PM · Web app
rdicosmo added a comment to T3234: Handle gracefully trailing slashes when resolving SWHID in search box.

There are already many URLs in the open, so even if we remove the trailing slash now, that does not solve the problem.

Apr 10 2021, 11:44 AM · Web app
vlorentz added a comment to T3234: Handle gracefully trailing slashes when resolving SWHID in search box.

What about removing the trailing / from generated URLs like this one instead?

Apr 10 2021, 11:37 AM · Web app
rdicosmo triaged T3234: Handle gracefully trailing slashes when resolving SWHID in search box as Normal priority.
Apr 10 2021, 11:16 AM · Web app

Apr 9 2021

vsellier triaged T3232: remove hardcoded historical values from the webapp as Normal priority.
Apr 9 2021, 7:33 PM · Monitoring, Web app
vsellier triaged T3231: Make the source of the object counts configurable as Normal priority.
Apr 9 2021, 7:22 PM · System administration, Monitoring, Web app
ardumont added a comment to T3215: Deploy the new counters in staging.

great news!

Apr 9 2021, 7:08 PM · System administration, Monitoring, Web app
vsellier closed T3165: Generate historical data from the new counters series, a subtask of T2912: Next generation archive counters, as Resolved.
Apr 9 2021, 7:02 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier closed T3215: Deploy the new counters in staging, a subtask of T2912: Next generation archive counters, as Resolved.
Apr 9 2021, 6:56 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier closed T3215: Deploy the new counters in staging as Resolved.

I finally found why the graphs looks weird : https://forge.softwareheritage.org/source/swh-web/browse/master/swh/web/misc/urls.py$31
With a dirty patch on the server, it's way better:

Apr 9 2021, 6:56 PM · System administration, Monitoring, Web app
vlorentz added a comment to T3215: Deploy the new counters in staging.

Apr 9 2021, 2:41 PM · System administration, Monitoring, Web app
ardumont added a comment to T3215: Deploy the new counters in staging.

\o/

Apr 9 2021, 2:34 PM · System administration, Monitoring, Web app
vsellier added a comment to T3215: Deploy the new counters in staging.

The pipeline is deployed in staging.
It's working but it seems the graphs need some initial values in staging to make the rendering correctly:

Apr 9 2021, 12:48 PM · System administration, Monitoring, Web app
vsellier added a revision to T3215: Deploy the new counters in staging: D5470: staging: configure counters history pipeline.
Apr 9 2021, 9:47 AM · System administration, Monitoring, Web app

Apr 8 2021

olasd closed T3224: Implement blocklist support in swh.search, a subtask of T1099: support origin and SWHID blocklist for archive search and browse, as Resolved.
Apr 8 2021, 7:27 PM · General, Web app
anlambert closed T1751: Add explanatory tooltips on the pictos for the revision history as Resolved.

It has been deployed to production, closing this.

Apr 8 2021, 6:10 PM · Easy hack, Web app
anlambert closed T3121: Improve handling of expired authentication tokens as Resolved.

This is now deployed to production.

Apr 8 2021, 6:09 PM · Authentication, Web app
olasd claimed T3087: Implement support for takedown notices (infra, admin tools, workflow).
Apr 8 2021, 5:11 PM · Roadmap 2022, meta-task, Roadmap 2021, Web app
olasd renamed T1099: support origin and SWHID blocklist for archive search and browse from support origin and SWHID blacklist for archive search and browse to support origin and SWHID blocklist for archive search and browse.
Apr 8 2021, 4:51 PM · General, Web app
vlorentz closed T2540: support the loading of metadata-only deposits in the metadata storage, a subtask of T3128: Improve deposit integration, management and display, as Resolved.
Apr 8 2021, 10:57 AM · meta-task, Roadmap 2021, Monitoring, SWORD deposit, Web app
vlorentz placed T2938: Create API endpoint to access raw_extrinsic_metadata up for grabs.
Apr 8 2021, 10:54 AM · Web app, Metadata workflow

Apr 7 2021

anlambert added a revision to T3121: Improve handling of expired authentication tokens: D5446: django/backends: Improve expired token handling.
Apr 7 2021, 6:52 PM · Authentication, Web app
anlambert added a revision to T3121: Improve handling of expired authentication tokens: D5445: auth: Inform user when one of his bearer token expired in tokens UI.
Apr 7 2021, 6:44 PM · Authentication, Web app
vsellier reopened T3165: Generate historical data from the new counters series, a subtask of T2912: Next generation archive counters, as Work in Progress.
Apr 7 2021, 5:42 PM · Roadmap 2021, System administration, Monitoring, Web app
vsellier changed the status of T3215: Deploy the new counters in staging from Open to Work in Progress.
Apr 7 2021, 5:14 PM · System administration, Monitoring, Web app
vsellier closed T3165: Generate historical data from the new counters series, a subtask of T2912: Next generation archive counters, as Resolved.
Apr 7 2021, 5:13 PM · Roadmap 2021, System administration, Monitoring, Web app
olasd added a comment to T3084: Fast track save code now requests.

Operationally, there's two axes we can play with:

Apr 7 2021, 4:31 PM · System administration, Web app
faux added a comment to T3157: Add a search feature to snapshot branches view.

Hey, can I take this task up next?

Apr 7 2021, 3:41 PM · Easy hack, Web app
faux added a comment to T1751: Add explanatory tooltips on the pictos for the revision history.

Great!

Apr 7 2021, 3:31 PM · Easy hack, Web app
anlambert added a comment to T1751: Add explanatory tooltips on the pictos for the revision history.

Thanks @faux, it will be deployed with next swh-web release.

Apr 7 2021, 2:57 PM · Easy hack, Web app
ardumont added a comment to T3084: Fast track save code now requests.

@ardumont we briefly discussed this a while ago with @olasd. I think the proposed
solution was indeed to have a separate queue (and workers) for "save code now"
request, but not necessarily one separate queue per loader,

Apr 7 2021, 2:48 PM · System administration, Web app
zack added a comment to T3084: Fast track save code now requests.

@ardumont we briefly discussed this a while ago with @olasd. I think the proposed solution was indeed to have a separate queue (and workers) for "save code now" request, but not necessarily one separate queue per loader, because the current priority system wasn't considered to be "fast enough". Maybe we can discuss this briefly with him and synthesize here what you come up with?

Apr 7 2021, 1:02 PM · System administration, Web app
ardumont claimed T3084: Fast track save code now requests.
Apr 7 2021, 12:34 PM · System administration, Web app
ardumont added a comment to T3084: Fast track save code now requests.

We already have a priority queue system in place in the scheduler. And for example, the
archive schedules save code now requests with a priority high [1]

Apr 7 2021, 12:32 PM · System administration, Web app
faux added a revision to T1751: Add explanatory tooltips on the pictos for the revision history: D5432: Added explanatory tooltips on the pictos for the revision history.
Apr 7 2021, 11:37 AM · Easy hack, Web app
faux added a comment to T1751: Add explanatory tooltips on the pictos for the revision history.

Ok cool.

Apr 7 2021, 10:57 AM · Easy hack, Web app
anlambert added a comment to T1751: Add explanatory tooltips on the pictos for the revision history.

so for a user having an id like this in the tooltip would feel like an arbitrary string

Apr 7 2021, 10:55 AM · Easy hack, Web app