Page MenuHomeSoftware Heritage
Feed Advanced Search

Jun 16 2021

douardda updated the task description for T3384: create an online service allowing to compute SWHIDs of submitted content.
Jun 16 2021, 11:59 AM · Web app
douardda triaged T3384: create an online service allowing to compute SWHIDs of submitted content as Normal priority.
Jun 16 2021, 11:52 AM · Web app
ardumont added a comment to T1524: save code now: also add new origins for unknown repos.

The first part got deployed (modification in the webapp routines to update the save code
now statuses).

Jun 16 2021, 8:38 AM · Save Code Now, Web app

Jun 15 2021

ardumont added a revision to T1524: save code now: also add new origins for unknown repos: D5874: web: Configure instance_name configuration key per webapp instance.
Jun 15 2021, 4:07 PM · Save Code Now, Web app
jayeshv closed T3354: Search UI: redirect to browse page if input matches an archived origin URL as Resolved.
Jun 15 2021, 4:05 PM · Easy hack, Web app
ardumont added a revision to T1524: save code now: also add new origins for unknown repos: D5873: web: Add the instance_name configuration key.
Jun 15 2021, 4:01 PM · Save Code Now, Web app

Jun 11 2021

moranegg triaged T3377: Add icon/button in moderation view to go to deposit in new tab as Normal priority.
Jun 11 2021, 5:18 PM · Monitoring, SWORD deposit, Web app
moranegg triaged T3376: Visualize metadata of a deposit in the admin (moderation) view as Normal priority.
Jun 11 2021, 5:13 PM · Monitoring, SWORD deposit, Web app
moranegg added a parent task for T3174: Filter deposit-admin view by deposit client on admin (moderation) page: T3375: Add column 'client' in moderation view.
Jun 11 2021, 5:05 PM · Monitoring, SWORD deposit, Web app
moranegg added a subtask for T3375: Add column 'client' in moderation view: T3174: Filter deposit-admin view by deposit client on admin (moderation) page.
Jun 11 2021, 5:05 PM · Monitoring, SWORD deposit, Web app
moranegg triaged T3375: Add column 'client' in moderation view as Normal priority.
Jun 11 2021, 5:04 PM · Monitoring, SWORD deposit, Web app
ardumont added a revision to T1524: save code now: also add new origins for unknown repos: D5858: Schedule save code now as recurring origins to ingest when successful.
Jun 11 2021, 4:06 PM · Save Code Now, Web app
ardumont added a comment to T1524: save code now: also add new origins for unknown repos.

It is possibly also the only reasonable place where we can have heuristics to
de-duplicate URLs that point to the same repo, e.g., non-canonical GitHub repos URLs.

Jun 11 2021, 3:35 PM · Save Code Now, Web app
jayeshv added a comment to T3366: Improve the page rendering mechanism in the web UI.

This will also let us think in terms of reusable widgets. I am not sure how important that would be in our case, but couple of use-cases are

  • we can make swh search or the origin browser a public widget, it can be integrated in any external website with just two lines of HTML code.
  • Many UI elements are in fact the same kind in SWH (eg: folder/file raw, list view etc). Most this can be re-used inside the system. This will make it efficient and easy to manage.
Jun 11 2021, 12:17 PM · Web app
jayeshv added a comment to T3366: Improve the page rendering mechanism in the web UI.

@zack Thanks for the input. I will start thinking about accessibility as well.
Many pages, including 'swh search', will not function as expected without enabling JS. So, I would say JS is integral.

Jun 11 2021, 12:07 PM · Web app

Jun 10 2021

anlambert added a comment to T3157: Add a search feature to snapshot branches view.

This will simplify branches view implementation. You should create a diff to handle it.

Yes. Let me check it's side effects as well. The 'archive.lookup_snapshot' is called from multiple places.

Jun 10 2021, 12:15 PM · Easy hack, Web app
jayeshv added a comment to T3157: Add a search feature to snapshot branches view.

This will simplify branches view implementation. You should create a diff to handle it.

Jun 10 2021, 12:03 PM · Easy hack, Web app
anlambert added a comment to T3157: Add a search feature to snapshot branches view.

@anlambert Thank you. I will try to do some refactoring here.

Jun 10 2021, 11:58 AM · Easy hack, Web app
jayeshv added a comment to T3157: Add a search feature to snapshot branches view.

@anlambert Thank you. I will try to do some refactoring here.

Jun 10 2021, 11:42 AM · Easy hack, Web app

Jun 9 2021

anlambert added a comment to T3157: Add a search feature to snapshot branches view.

There is no need to use JavaScript here from my point of view.

Jun 9 2021, 6:35 PM · Easy hack, Web app
anlambert added a comment to T3157: Add a search feature to snapshot branches view.

The ideal fix would be to refactor the code to move the entire presentation logic to the template engine. (We already have a check in the template to show "The list of branches is empty" message in case the branch list is empty. But, i think this case will never occur with the current server code)

Jun 9 2021, 6:24 PM · Easy hack, Web app
anlambert added a comment to T3157: Add a search feature to snapshot branches view.

More answers after further reading and analysis.

Jun 9 2021, 6:18 PM · Easy hack, Web app
anlambert added a comment to T3157: Add a search feature to snapshot branches view.

This will eventually cause a 404 error when the user search for a non existing branch name in the UI. I don't think this is the intended behavior.

Jun 9 2021, 6:08 PM · Easy hack, Web app
jayeshv added a comment to T3157: Add a search feature to snapshot branches view.

@anlambert The server code seems to have an issue when branches are filtered by name.
"swh.web.common.archive.lookup_snapshot" function is raising an error if the number of searched branches is 0.
raise
This will eventually cause a 404 error when the user search for a non existing branch name in the UI. I don't think this is the intended behavior.

Jun 9 2021, 5:41 PM · Easy hack, Web app

Jun 8 2021

jayeshv added a revision to T3354: Search UI: redirect to browse page if input matches an archived origin URL: D5828: Redirect to the browse origin page when the user searchs for an exact, already archived URL.
Jun 8 2021, 7:14 PM · Easy hack, Web app
ardumont edited projects for T3252: Better handling of erroneous origins submitted to save code now, added: System administration; removed System administrators.
Jun 8 2021, 4:53 PM · System administration, Save Code Now, Web app
ardumont edited projects for T3082: Improve Save Code Now handling, added: System administration; removed System administrators.
Jun 8 2021, 4:53 PM · Save Code Now, meta-task, Roadmap 2021, Web app
vlorentz removed a project from T2938: Create API endpoint to access raw_extrinsic_metadata: Easy hack.

Removing the "easy hack" tag, because that's actually much harder than expected :D

Jun 8 2021, 1:26 PM · Web app, Metadata workflow
anlambert triaged T3368: Upgrade to highlight.js 11.x as Normal priority.
Jun 8 2021, 12:38 PM · Web app
zack added a comment to T3366: Improve the page rendering mechanism in the web UI.

I'm adding here a note about something to consider in terms of pros/cons: accessibility. As for the most part we are archiving textual information, we really want it to be accessible for all users. Right now we go further than that, ensuring that the Web UI can be browser with a textual browser: so, for instance, w3m https://archive.softwareheritage.org/swh:1:cnt:c839dea9e8e6f0528b468214348fee8669b305b2 just works out of the box. I'm not up to date on what's the accessibility impact of current JS frameworks, nor that we should have as a requirement that the archive is browsable without JavaScript enabled (as per today's standards "browsable with free javascript" is probably good enough for us, and we have a curl-able API anyway), but accessibility per se is definitely going to be a requirement.

Jun 8 2021, 11:19 AM · Web app
zack shifted T3366: Improve the page rendering mechanism in the web UI from the Restricted Space space to the S1 Public space.
Jun 8 2021, 11:13 AM · Web app
zack renamed T3366: Improve the page rendering mechanism in the web UI from Improve the page rendering mechanism in the web to Improve the page rendering mechanism in the web UI.
Jun 8 2021, 11:13 AM · Web app
zack triaged T3366: Improve the page rendering mechanism in the web UI as Normal priority.
Jun 8 2021, 11:13 AM · Web app

Jun 7 2021

jayeshv updated the task description for T3366: Improve the page rendering mechanism in the web UI.
Jun 7 2021, 3:49 PM · Web app
jayeshv updated the task description for T3366: Improve the page rendering mechanism in the web UI.
Jun 7 2021, 3:49 PM · Web app
jayeshv updated the task description for T3366: Improve the page rendering mechanism in the web UI.
Jun 7 2021, 3:48 PM · Web app
jayeshv updated the task description for T3366: Improve the page rendering mechanism in the web UI.
Jun 7 2021, 3:41 PM · Web app
jayeshv updated the task description for T3366: Improve the page rendering mechanism in the web UI.
Jun 7 2021, 3:40 PM · Web app
jayeshv created T3366: Improve the page rendering mechanism in the web UI.
Jun 7 2021, 3:39 PM · Web app
ardumont added a comment to T3213: Enable save code now of software source code archives for specific users.

It's deployed now.

Jun 7 2021, 12:31 PM · Save Code Now, Web app
ardumont added a comment to T3213: Enable save code now of software source code archives for specific users.

@rdicosmo That's the issue ^ (unrelated to T3361 in the end), the workers were not suscribed to consume from that queue yet.

Jun 7 2021, 12:15 PM · Save Code Now, Web app
douardda added a project to T1226: Save code now email notification for submitter: Save Code Now.
Jun 7 2021, 10:35 AM · Save Code Now, Web app
douardda added a project to T3257: Template the save code now rejection reason to ease operator workflow: Save Code Now.
Jun 7 2021, 10:34 AM · Save Code Now, Easy hack, Web app
douardda added a project to T3256: Propose reason for rejecting a save code now: Save Code Now.
Jun 7 2021, 10:34 AM · Save Code Now, Easy hack, Web app
douardda added a project to T3252: Better handling of erroneous origins submitted to save code now: Save Code Now.
Jun 7 2021, 10:34 AM · System administration, Save Code Now, Web app
douardda added a project to T3213: Enable save code now of software source code archives for specific users: Save Code Now.
Jun 7 2021, 10:33 AM · Save Code Now, Web app
douardda added a project to T1524: save code now: also add new origins for unknown repos: Save Code Now.
Jun 7 2021, 10:33 AM · Save Code Now, Web app

Jun 4 2021

vlorentz claimed T2938: Create API endpoint to access raw_extrinsic_metadata.
Jun 4 2021, 1:42 PM · Web app, Metadata workflow

Jun 3 2021

anlambert added a revision to T3202: Help new users discover the features available in the archive browsing view: D5819: assets/webapp: Add UI guided tour.
Jun 3 2021, 6:20 PM · Web app
anlambert added a comment to T3351: Define use cases for an iframe to show source code.

Can it work with a content SWHID with context?

Jun 3 2021, 2:29 PM · Web app
moranegg added a comment to T3351: Define use cases for an iframe to show source code.

I made some quick hacks in swh-web to see if it was easily feasible to have standalone source code view that could be embedded into an iframe, the answer is yes !

This is great to know (and see :-)

Jun 3 2021, 12:14 PM · Web app

Jun 2 2021

vsellier closed T3355: Running save code now request are never detected as completed by the webapp as Resolved.
  • The fix was deployed on webapp1 and moma
  • The refresh script was manually launched:
root@webapp1:~# /usr/local/bin/refresh-savecodenow-statuses
Successfully updated 140 save request(s).

The previous requests were correctly refreshed and are now displaying the right status.

Jun 2 2021, 3:14 PM · Save Code Now, Web app
vsellier added a comment to T3355: Running save code now request are never detected as completed by the webapp .

Will be deployed with version v0.0.310 of the webapp (build in progress)

Jun 2 2021, 2:22 PM · Save Code Now, Web app
ardumont raised the priority of T1524: save code now: also add new origins for unknown repos from Low to Normal.
Jun 2 2021, 12:39 PM · Save Code Now, Web app
ardumont updated the task description for T1524: save code now: also add new origins for unknown repos.
Jun 2 2021, 12:39 PM · Save Code Now, Web app
vsellier added a revision to T3355: Running save code now request are never detected as completed by the webapp : D5810: Update running save origin request status.
Jun 2 2021, 12:07 PM · Save Code Now, Web app
vsellier renamed T3355: Running save code now request are never detected as completed by the webapp from Running save code now request are never finalized to Running save code now request are never detected as completed by the webapp .
Jun 2 2021, 11:58 AM · Save Code Now, Web app
vsellier changed the status of T3355: Running save code now request are never detected as completed by the webapp from Open to Work in Progress.
Jun 2 2021, 11:57 AM · Save Code Now, Web app

Jun 1 2021

anlambert added a comment to T3157: Add a search feature to snapshot branches view.
  1. Should we add a filter UI component in the page or just a query param is enough?
Jun 1 2021, 10:57 AM · Easy hack, Web app
jayeshv added a comment to T3157: Add a search feature to snapshot branches view.

2: If we have to add a UI component, do we have a design or example for that? (maybe a generic one for both branches and Releases, the "search branches" widget in github looks nice)

Jun 1 2021, 9:50 AM · Easy hack, Web app
jayeshv added a comment to T3157: Add a search feature to snapshot branches view.

@anlambert I have a few questions regarding this task.
1: Should we add a filter UI component in the page or just a query param is enough?
2: If we have to add a UI component, do we have a design or example for that? (maybe a generic one for both branches and Releases, the "search branches" widget in github looks nice)
3: What about the API /snapshot/<id>, should we add the possibility of this filter there as well?
4: The branches seem to be randomly sorted over Date. Is that for a reason or something we should address?

Jun 1 2021, 9:07 AM · Easy hack, Web app

May 31 2021

jayeshv claimed T3354: Search UI: redirect to browse page if input matches an archived origin URL.
May 31 2021, 4:43 PM · Easy hack, Web app
anlambert triaged T3354: Search UI: redirect to browse page if input matches an archived origin URL as Normal priority.
May 31 2021, 4:40 PM · Easy hack, Web app
jayeshv claimed T3157: Add a search feature to snapshot branches view.
May 31 2021, 1:48 PM · Easy hack, Web app

May 28 2021

anlambert added a comment to T3351: Define use cases for an iframe to show source code.

I made some quick hacks in swh-web to see if it was easily feasible to have standalone source code view that could be embedded into an iframe, the answer is yes !

May 28 2021, 5:54 PM · Web app
anlambert added a revision to T3213: Enable save code now of software source code archives for specific users: D5801: assets/save: Autofill artifact version from artifact url.
May 28 2021, 4:20 PM · Save Code Now, Web app
ardumont added a comment to T3213: Enable save code now of software source code archives for specific users.

Great news!

May 28 2021, 2:35 PM · Save Code Now, Web app
anlambert added a comment to T3213: Enable save code now of software source code archives for specific users.

Great to see this progress (and kermit archived :-))

May 28 2021, 2:03 PM · Save Code Now, Web app
rdicosmo added a comment to T3213: Enable save code now of software source code archives for specific users.

The feature has been implemented and looks ready for production use.

I just tested it using the Web API and the docker environment for a real world example: the Kermit Software Source Code Archive.

May 28 2021, 1:55 PM · Save Code Now, Web app
anlambert added a comment to T3213: Enable save code now of software source code archives for specific users.

The feature has been implemented and looks ready for production use.

May 28 2021, 12:37 PM · Save Code Now, Web app
moranegg triaged T3351: Define use cases for an iframe to show source code as Normal priority.
May 28 2021, 11:50 AM · Web app

May 27 2021

anlambert added a revision to T3213: Enable save code now of software source code archives for specific users: D5792: assets/save: Add multi artifacts support for archives visit type.
May 27 2021, 5:19 PM · Save Code Now, Web app
anlambert renamed T3213: Enable save code now of software source code archives for specific users from Enable save code now of software bundles for specific users to Enable save code now of software source code archives for specific users.
May 27 2021, 5:15 PM · Save Code Now, Web app
anlambert raised the priority of T3313: Web API: per-user accounting from Low to Normal.
May 27 2021, 3:07 PM · System administration, Web app
anlambert closed T3347: Archive loader should have a snapshot append mode, a subtask of T3213: Enable save code now of software source code archives for specific users, as Resolved.
May 27 2021, 2:04 PM · Save Code Now, Web app

May 26 2021

ardumont claimed T1524: save code now: also add new origins for unknown repos.
May 26 2021, 3:53 PM · Save Code Now, Web app

May 25 2021

rdicosmo added a comment to T3313: Web API: per-user accounting.

That will be helpful in general (to answer questions likes: which endpoint is over/underused for specific use cases) and also in view of seeing who over/underuses rate limits (e.g., to identify the need of having more generous rate limits for specific use cases).

May 25 2021, 7:25 PM · System administration, Web app

May 21 2021

ardumont added a comment to T3313: Web API: per-user accounting.

right, ok. We actually do not have any of those in production (i don't recall having seen those at all, i don't even know what that would look like).

May 21 2021, 3:45 PM · System administration, Web app
anlambert added a comment to T3313: Web API: per-user accounting.

Django webapp logs are currently not really well managed.
They are currently dumped into a non rotated logfile on moma and only contain info related to requests with errors (meaning general access is not logged at all).
We were considering with @vsellier to redirect those logs into systemd in order to ease their ingestion by Logstash.
Logs format and levels should also be changed in order to track authenticated users access.

I recall some work on this has been done for that, currently apache logs are pushed through
logstash to elasticsearch (but i don't think the format got changed yet though).

There are boards on grafana gunicor-swh-webapp [1], gunicorn-swh-deposit [2] which exploits those logs.

[1] http://kibana0.internal.softwareheritage.org:5601/goto/5242ef5e080731a742603d76e4c8f7d7

[2] http://kibana0.internal.softwareheritage.org:5601/goto/cdce946ede05a52a927415feb74f8284

May 21 2021, 3:43 PM · System administration, Web app
ardumont added a comment to T3313: Web API: per-user accounting.

Django webapp logs are currently not really well managed.
They are currently dumped into a non rotated logfile on moma and only contain info related to requests with errors (meaning general access is not logged at all).
We were considering with @vsellier to redirect those logs into systemd in order to ease their ingestion by Logstash.
Logs format and levels should also be changed in order to track authenticated users access.

May 21 2021, 2:44 PM · System administration, Web app
anlambert added a comment to T3313: Web API: per-user accounting.

Currently, where are the django web app logs stored and for how long are they kept?

May 21 2021, 1:53 PM · System administration, Web app
zack added a comment to T3313: Web API: per-user accounting.

@anlambert @vsellier: question about this, in order to document the status quo.
Currently, where are the django web app logs stored and for how long are they kept?

May 21 2021, 1:36 PM · System administration, Web app

May 20 2021

anlambert closed T3331: Fix flaky cypress tests as Resolved by committing rDWAPPS7506c2d4e772: cypress.json: Activate test retries in run mode.
May 20 2021, 3:27 PM · Web app
anlambert added a revision to T3331: Fix flaky cypress tests: D5761: cypress.json: Activate test retries in run mode.
May 20 2021, 1:57 PM · Web app
anlambert added a comment to T3331: Fix flaky cypress tests.

Those flaky tests are hard to reproduce and fix so I think a good workaround would be to enable Test retries in cypress.

May 20 2021, 12:29 PM · Web app
anlambert updated the task description for T3331: Fix flaky cypress tests.
May 20 2021, 11:48 AM · Web app

May 19 2021

anlambert added a comment to T3202: Help new users discover the features available in the archive browsing view.

If we want non staff users to give a try to the tour before official release, we could take advantage of authentication here and activate the guided tour only for users with a dedicated permission.

Please do. We will take advantage of the growing cohort of SWH Ambassadors to get a fresh feedback from real users that are not part of the team, and that come from different backgrounds.

May 19 2021, 7:00 PM · Web app
rdicosmo added a comment to T3202: Help new users discover the features available in the archive browsing view.

If we want non staff users to give a try to the tour before official release, we could take advantage of authentication here and activate the guided tour only for users with a dedicated permission.

May 19 2021, 5:53 PM · Web app
anlambert added a comment to T3202: Help new users discover the features available in the archive browsing view.
In T3202#65229, @zack wrote:

What I can do is enabling the guided tour by configuration. This way we can deactivate it in production
until we got something stable and usable while we can test the feature on staging.

I suggest to have a round of internal user testing. It has been enabled in staging, if I understand correctly, but nobody in the team knew about it. It would be useful to send out a message to swh-devel (the list), saying it is available there, encouraging trying it out, and gather feedback. Then we can either push in production or iterate a bit more if (pertinent) comments emerge.

It would be even better if we could make non staffers play with it and give feedback, but I don't think that's currently doable due to the VPN and stuff. (That's fine.)

May 19 2021, 5:32 PM · Web app
zack added a comment to T3202: Help new users discover the features available in the archive browsing view.

What I can do is enabling the guided tour by configuration. This way we can deactivate it in production
until we got something stable and usable while we can test the feature on staging.

May 19 2021, 5:06 PM · Web app
rdicosmo added a comment to T3202: Help new users discover the features available in the archive browsing view.

Is the Help page linked from some other place? (i.e.: are we risking 404s if we dump it?)

I mean dumping the link not the page but I could move it in the footer to still reach the page.

May 19 2021, 4:04 PM · Web app
anlambert added a comment to T3202: Help new users discover the features available in the archive browsing view.

Is the Help page linked from some other place? (i.e.: are we risking 404s if we dump it?)

May 19 2021, 3:38 PM · Web app
rdicosmo added a comment to T3202: Help new users discover the features available in the archive browsing view.

After some brainstorming on the subject, I was thinking to launch the guided tour through the Help link in the left sidebar and thus dump the Help page.

May 19 2021, 3:31 PM · Web app
anlambert added a comment to T3202: Help new users discover the features available in the archive browsing view.

After some brainstorming on the subject, I was thinking to launch the guided tour through the Help link in the left sidebar and thus dump the Help page.

May 19 2021, 3:24 PM · Web app

May 18 2021

anlambert closed T3330: Package django-webpack-loader 1.0 for debian as Resolved.

Final step: bump django-webpack-loader in debian/control file for swh-web and check package build still passes.

May 18 2021, 6:56 PM · Web app
anlambert added a comment to T3330: Package django-webpack-loader 1.0 for debian.

Packages have been built and uploaded.

May 18 2021, 5:31 PM · Web app
anlambert triaged T3331: Fix flaky cypress tests as Normal priority.
May 18 2021, 4:58 PM · Web app
anlambert added a revision to T3330: Package django-webpack-loader 1.0 for debian: D5751: jobs/dependency-packages: Add django-webpack-loader.
May 18 2021, 4:08 PM · Web app
anlambert added a comment to T3330: Package django-webpack-loader 1.0 for debian.

I have created the django-webpack-loader repository on the forge with debian branches to build the package on unstable and buster (I reused same configuration as official debian package, no changes were needed apart the changelog).

May 18 2021, 3:57 PM · Web app
anlambert renamed T3330: Package django-webpack-loader 1.0 for debian from Package django-webpack-loader 1.0 in debian to Package django-webpack-loader 1.0 for debian.
May 18 2021, 1:44 PM · Web app