Page MenuHomeSoftware Heritage

Web appFolder
ActivePublic

Details

Recent Activity

Fri, Jun 11

moranegg triaged T3377: Add icon/button in moderation view to go to deposit in new tab as Normal priority.
Fri, Jun 11, 5:18 PM · meta-task, Roadmap 2021, Monitoring, SWORD deposit, Web app
moranegg triaged T3376: Visualize metadata of a deposit in the moderation view as Normal priority.
Fri, Jun 11, 5:13 PM · meta-task, Roadmap 2021, Monitoring, SWORD deposit, Web app
moranegg added a parent task for T3174: Filter deposit-admin view by deposit client on moderation page: T3375: Add column 'client' in moderation view.
Fri, Jun 11, 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 moderation page.
Fri, Jun 11, 5:05 PM · Monitoring, SWORD deposit, Web app
moranegg triaged T3375: Add column 'client' in moderation view as Normal priority.
Fri, Jun 11, 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: wip: Schedule save code now as recurring origins to ingest as well.
Fri, Jun 11, 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.

Fri, Jun 11, 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.
Fri, Jun 11, 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.

Fri, Jun 11, 12:07 PM · Web app

Thu, Jun 10

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.

Thu, Jun 10, 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.

Thu, Jun 10, 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.

Thu, Jun 10, 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.

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

Wed, Jun 9

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.

Wed, Jun 9, 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)

Wed, Jun 9, 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.

Wed, Jun 9, 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.

Wed, Jun 9, 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.

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

Tue, Jun 8

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.
Tue, Jun 8, 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.
Tue, Jun 8, 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.
Tue, Jun 8, 4:53 PM · System administration, 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

Tue, Jun 8, 1:26 PM · Web app, Metadata workflow
anlambert triaged T3368: Upgrade to highlight.js 11.x as Normal priority.
Tue, Jun 8, 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.

Tue, Jun 8, 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.
Tue, Jun 8, 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.
Tue, Jun 8, 11:13 AM · Web app
zack triaged T3366: Improve the page rendering mechanism in the web UI as Normal priority.
Tue, Jun 8, 11:13 AM · Web app

Mon, Jun 7

jayeshv updated the task description for T3366: Improve the page rendering mechanism in the web UI.
Mon, Jun 7, 3:49 PM · Web app
jayeshv updated the task description for T3366: Improve the page rendering mechanism in the web UI.
Mon, Jun 7, 3:49 PM · Web app
jayeshv updated the task description for T3366: Improve the page rendering mechanism in the web UI.
Mon, Jun 7, 3:48 PM · Web app
jayeshv updated the task description for T3366: Improve the page rendering mechanism in the web UI.
Mon, Jun 7, 3:41 PM · Web app
jayeshv updated the task description for T3366: Improve the page rendering mechanism in the web UI.
Mon, Jun 7, 3:40 PM · Web app
jayeshv created T3366: Improve the page rendering mechanism in the web UI.
Mon, Jun 7, 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.

Mon, Jun 7, 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.

Mon, Jun 7, 12:15 PM · Save Code Now, Web app
douardda added a project to T1226: Save code now email notification for submitter: Save Code Now.
Mon, Jun 7, 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.
Mon, Jun 7, 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.
Mon, Jun 7, 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.
Mon, Jun 7, 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.
Mon, Jun 7, 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.
Mon, Jun 7, 10:33 AM · Save Code Now, Web app

Fri, Jun 4

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

Thu, Jun 3

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 (WIP).
Thu, Jun 3, 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?

Thu, Jun 3, 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 :-)

Thu, Jun 3, 12:14 PM · Web app

Wed, Jun 2

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.

Wed, Jun 2, 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)

Wed, Jun 2, 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.
Wed, Jun 2, 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.
Wed, Jun 2, 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.
Wed, Jun 2, 12:07 PM · Save Code Now, Web app