Page MenuHomeSoftware Heritage
Feed Advanced Search

Jul 20 2021

anlambert closed D6007: common/utils: Wrap deposits list retrieval in a function.
Jul 20 2021, 12:52 PM
anlambert committed rDWAPPSc5d441b1a8ec: common/utils: Wrap deposits list retrieval in a function (authored by anlambert).
common/utils: Wrap deposits list retrieval in a function
Jul 20 2021, 12:52 PM
anlambert added inline comments to D6004: misc/coverage: Revamp and improve archive coverage widget.
Jul 20 2021, 11:54 AM
anlambert added inline comments to D6007: common/utils: Wrap deposits list retrieval in a function.
Jul 20 2021, 11:17 AM

Jul 19 2021

anlambert requested review of D6004: misc/coverage: Revamp and improve archive coverage widget.
Jul 19 2021, 6:03 PM
anlambert requested review of D6007: common/utils: Wrap deposits list retrieval in a function.
Jul 19 2021, 5:46 PM
anlambert added a revision to T3127: Compute and display distribution of origins by forge: D6007: common/utils: Wrap deposits list retrieval in a function.
Jul 19 2021, 5:29 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert added a comment to T3202: Help new users discover the features available in the archive browsing view.

First version of guided tour has been deployed to production for ambassador and staff users.

Jul 19 2021, 4:17 PM · Web app
anlambert added a comment to T3127: Compute and display distribution of origins by forge.

I think we could also get an accurate count of deposit origins (HAL, IPOL) using swh-deposit API

Jul 19 2021, 3:54 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert committed rDWAPPSf667a87aa90b: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Jul 19 2021, 2:25 PM
anlambert committed rDWAPPS779aeb2d2665: templates/layout: Do not display swh-web version in production (authored by anlambert).
templates/layout: Do not display swh-web version in production
Jul 19 2021, 2:25 PM
anlambert closed D5819: assets/webapp: Add UI guided tour.
Jul 19 2021, 2:25 PM
anlambert committed rDWAPPS992bea293d25: assets/webapp: Add UI guided tour to help users discover features (authored by anlambert).
assets/webapp: Add UI guided tour to help users discover features
Jul 19 2021, 2:25 PM
anlambert updated the diff for D5819: assets/webapp: Add UI guided tour.

Fix a guided tour step, element id was removed after a rebase.

Jul 19 2021, 2:04 PM
anlambert committed rDDOC60c624c0bab4: sphinx/conf.py: Always filter out httpdomain role warnings (authored by anlambert).
sphinx/conf.py: Always filter out httpdomain role warnings
Jul 19 2021, 12:19 PM
anlambert updated the diff for D5819: assets/webapp: Add UI guided tour.

Rebase

Jul 19 2021, 11:18 AM

Jul 16 2021

anlambert committed rCDFJ949068b605f5: base-buster: Install emscripten required by swh-search (authored by anlambert).
base-buster: Install emscripten required by swh-search
Jul 16 2021, 5:10 PM
anlambert closed D6003: base-buster: Install emscripten required by swh-search.
Jul 16 2021, 5:10 PM
anlambert updated the diff for D6003: base-buster: Install emscripten required by swh-search.

Remove added empty line

Jul 16 2021, 5:10 PM
anlambert added inline comments to D6003: base-buster: Install emscripten required by swh-search.
Jul 16 2021, 5:09 PM
anlambert updated the diff for D6003: base-buster: Install emscripten required by swh-search.

Update:

  • install as root and in /opt
  • update commit message
Jul 16 2021, 5:01 PM
anlambert requested review of D6003: base-buster: Install emscripten required by swh-search.
Jul 16 2021, 4:50 PM
anlambert added a comment to T3127: Compute and display distribution of origins by forge.

Only one nit about the display. Using modal windows/popover will mean that there will be no easy way to have, as a user, the full list: one will have to click on each logo one by one, which could be quite annoying. Would it be possible to have a page with a rendering of the table above? (not sure if we want all columns, but at least the last update time and the number of origins per forge instance looks relevant and interesting to me). It coule be either in addition of what you propose (e.g., as a "coverage details" link, leading to the full page), or as a replacement of it (e.g., by making each forge icon just a link to the relevant anchor within the table on the "coverage details" page).

Jul 16 2021, 11:43 AM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert closed D5995: sphinx/conf.py: Filter out httdomain related warning since sphinx 4.1.
Jul 16 2021, 11:28 AM
anlambert committed rDDOC3cd7ed54187e: sphinx/conf.py: Filter out httdomain related warning since sphinx 4.1 (authored by anlambert).
sphinx/conf.py: Filter out httdomain related warning since sphinx 4.1
Jul 16 2021, 11:28 AM
anlambert added a comment to D5990: query_language: Setup tree-sitter and grammar.js.

Yes, that's a good point.
On the other hand, not including it means we install-depend on nodejs+yarn and a C compiler...

Jul 16 2021, 11:18 AM

Jul 15 2021

anlambert requested changes to D5990: query_language: Setup tree-sitter and grammar.js.

I added a couple of inline comments for some issues to fix and some improvements to add.

Jul 15 2021, 3:36 PM
anlambert updated the summary of D5995: sphinx/conf.py: Filter out httdomain related warning since sphinx 4.1.
Jul 15 2021, 2:33 PM
anlambert updated the summary of D5995: sphinx/conf.py: Filter out httdomain related warning since sphinx 4.1.
Jul 15 2021, 2:33 PM
anlambert requested review of D5995: sphinx/conf.py: Filter out httdomain related warning since sphinx 4.1.
Jul 15 2021, 2:32 PM

Jul 13 2021

anlambert added a comment to D5990: query_language: Setup tree-sitter and grammar.js.

@anlambert We are going to need to precompile some assets in swh-search using JS dependencies. We define the grammar in JS, which can then be compile into a big JSON file, that will be read from Python; see swh/search/parser/package.json. Do you have some advice to make this work nicely?

Jul 13 2021, 4:39 PM
anlambert added a comment to T3127: Compute and display distribution of origins by forge.

Some reports of what have been done so far and some future directions regarding the display of those data in swh-web.

Jul 13 2021, 3:39 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert changed the visibility for F4592793: image.png.
Jul 13 2021, 3:00 PM
anlambert closed D5989: pattern: Use URL network location as instance name when not provided.
Jul 13 2021, 2:34 PM
anlambert committed rDLS6c123508634c: pattern: Use URL network location as instance name when not provided (authored by anlambert).
pattern: Use URL network location as instance name when not provided
Jul 13 2021, 2:34 PM
anlambert requested review of D5989: pattern: Use URL network location as instance name when not provided.
Jul 13 2021, 12:43 PM
anlambert added a revision to T3403: Use forge URL network location as default lister instance name: D5989: pattern: Use URL network location as instance name when not provided.
Jul 13 2021, 12:40 PM · Scheduling utilities, Lister
anlambert added a comment to T3403: Use forge URL network location as default lister instance name.

It seems the remaining lister instances to process are the phabricator ones that also need credentials.
This is what we currently have in the listers table in scheduler database.

Jul 13 2021, 11:47 AM · Scheduling utilities, Lister

Jul 9 2021

anlambert created P1093 (An Untitled Masterwork).
Jul 9 2021, 6:23 PM
anlambert committed rDWAPPS4a9cf1d61852: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Jul 9 2021, 6:00 PM
anlambert closed T3368: Upgrade to highlight.js 11.x as Resolved by committing rDWAPPS66b3a6c480c8: assets: Upgrade highlight.js to version 11.x.
Jul 9 2021, 6:00 PM · Web app
anlambert closed D5987: assets: Upgrade highlight.js to version 11.x.
Jul 9 2021, 6:00 PM
anlambert committed rDWAPPS66b3a6c480c8: assets: Upgrade highlight.js to version 11.x (authored by anlambert).
assets: Upgrade highlight.js to version 11.x
Jul 9 2021, 6:00 PM
anlambert added inline comments to D5987: assets: Upgrade highlight.js to version 11.x.
Jul 9 2021, 5:43 PM
anlambert requested review of D5987: assets: Upgrade highlight.js to version 11.x.
Jul 9 2021, 5:28 PM
anlambert added a revision to T3368: Upgrade to highlight.js 11.x: D5987: assets: Upgrade highlight.js to version 11.x.
Jul 9 2021, 5:11 PM · Web app
anlambert added a comment to D5819: assets/webapp: Add UI guided tour.

Build has FAILED

Patch application report for D5819 (id=21588)

Rebasing onto 3bfc6942fe...

Current branch diff-target is up to date.
Changes applied before test
commit c8e32e745aa3e76fc8d972cc89f6d01757e34e73
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Wed May 12 11:42:40 2021 +0200

    assets/webapp: Add UI guided tour to help users discover features
    
    Add a Web UI guided tour implemented using the intro.js library.
    
    The tour showcases the main browsing features offered by Software
    Heritage web application by highlighting the relevant DOM elements
    and displaying help texts in tooltips.
    
    The tour can span multiple web pages and steps are configured in
    a YAML file for help texts writing commodity.
    
    Currently, the homepage, the main origin browsing view and content
    browsing view are covered by the tour.
    
    Related to T3202

Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/962/
See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/962/console

Jul 9 2021, 4:39 PM
anlambert updated the diff for D5819: assets/webapp: Add UI guided tour.

Rebase

Jul 9 2021, 4:17 PM
anlambert closed T3402: Deploy swh-counters v0.8.0 and backfill origins, a subtask of T3127: Compute and display distribution of origins by forge, as Wontfix.
Jul 9 2021, 2:34 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert closed T3402: Deploy swh-counters v0.8.0 and backfill origins as Wontfix.

Precise metrics about listed origins and their counts will be retrieved from the scheduler database, no need to backfill origins with swh-counters then, closing this.

Jul 9 2021, 2:34 PM · Counters, System administration, Metrics/monitoring
anlambert accepted D5984: apidoc: Remove explicit recursion used in visit_field_list.

Better indeed, thanks !

Jul 9 2021, 1:54 PM
anlambert accepted D5971: apidoc: Stop parsing docutils trees with regexps on its pseudo-XML.

Looks good to me !

Jul 9 2021, 12:34 PM
anlambert closed D5969: templates/snapshot-context: Visit origin URL in a new browser tab.
Jul 9 2021, 12:20 PM
anlambert committed rDWAPPSe12202c4b373: templates/snapshot-context: Visit origin URL in a new browser tab (authored by anlambert).
templates/snapshot-context: Visit origin URL in a new browser tab
Jul 9 2021, 12:20 PM
anlambert closed D5982: cypress/layout: Fix cypress anti-pattern use.
Jul 9 2021, 12:20 PM
anlambert committed rDWAPPSa9688b3a9818: cypress/layout: Fix cypress anti-pattern use (authored by anlambert).
cypress/layout: Fix cypress anti-pattern use
Jul 9 2021, 12:20 PM
anlambert added inline comments to D5982: cypress/layout: Fix cypress anti-pattern use.
Jul 9 2021, 12:19 PM

Jul 8 2021

anlambert updated the diff for D5969: templates/snapshot-context: Visit origin URL in a new browser tab.

Rebase on top of D5982 fixing flaky cypress test

Jul 8 2021, 7:37 PM
anlambert updated the summary of D5969: templates/snapshot-context: Visit origin URL in a new browser tab.
Jul 8 2021, 7:36 PM
anlambert requested review of D5982: cypress/layout: Fix cypress anti-pattern use.
Jul 8 2021, 7:24 PM
anlambert added a comment to T3368: Upgrade to highlight.js 11.x.

highlight.js 11.1.0 has been released fixing numerous regressions since the 11.0 release, so it is time to perform the upgrade.

Jul 8 2021, 7:12 PM · Web app
anlambert updated the diff for D5969: templates/snapshot-context: Visit origin URL in a new browser tab.

Update:

  • Rebase
  • Open origin in browser tab in save code now UI too
Jul 8 2021, 4:32 PM
anlambert closed D5976: tests/data: Ensure origin instrinsic metadata are in CodeMeta format.
Jul 8 2021, 4:31 PM
anlambert committed rDWAPPS25c639f292b2: tests/data: Ensure origin instrinsic metadata are in CodeMeta format (authored by anlambert).
tests/data: Ensure origin instrinsic metadata are in CodeMeta format
Jul 8 2021, 4:31 PM

Jul 7 2021

anlambert added a comment to D5978: Add a successive_visits counter to origin visit stats.

I got the idea but I am wondering if it would not be simpler to store the list of visit statuses directly in the model ?

It's in the model ;) (but not in ListedOrigin if that's what you meant ;)

This would allow finer processing for the scheduling policies, but this will be more costly to store.

Hum, yes, i think that will be too much to store and i'm not sure what the other benefits would be
aside from the current need [1]. Also, that duplicates the information we already have in the archive?

[1] Right now, the need is a simple one, a counter to ease determine if too many failed
attempts occurred or not. If so, disable the origin in the model here (it will come during the week

Jul 7 2021, 6:09 PM
anlambert added a comment to D5978: Add a successive_visits counter to origin visit stats.

I got the idea but I am wondering if it would not be simpler to store the list of visit statuses directly in the model ?
This would allow finer processing for the scheduling policies, but this will be more costly to store.

Jul 7 2021, 5:38 PM
anlambert added a comment to D5977: Make PyPI lister incremental and complete in regards to last_update.

Nice, that lister should perform better once that feature deployed to production. I added a first batch of inline comments.

Jul 7 2021, 5:18 PM · Scheduling utilities, Origin-Pypi
anlambert requested review of D5976: tests/data: Ensure origin instrinsic metadata are in CodeMeta format.
Jul 7 2021, 4:10 PM
anlambert updated the diff for D5819: assets/webapp: Add UI guided tour.

Fix cypress test

Jul 7 2021, 4:09 PM
anlambert added a comment to T3423: Execute cypress tests in parallel on Jenkins.

After some hacks on the current Jenkins pipeline for swh-web to test if it was feasible, I managed to setup the use of sorry-cypress but could not run multiple cypress in parallel as Jenkins pipelines forbid nested parallel stages.
So this would require setting up a dedicated pipeline build job for cypress tests as currently Python and cypress tests are executed in parallel in a single job.

Jul 7 2021, 2:40 PM · Continuous Integration, Web app
anlambert added a project to T3422: Running the benchmarks: August 6th, 2021, 9 days: Object storage.
Jul 7 2021, 2:35 PM · Object storage

Jul 6 2021

anlambert requested changes to D5971: apidoc: Stop parsing docutils trees with regexps on its pseudo-XML.

I still find docutils warnings after last diff update in those pages (sorry):

Jul 6 2021, 5:42 PM
anlambert requested changes to D5971: apidoc: Stop parsing docutils trees with regexps on its pseudo-XML.

indeed, it was a little tricky to get it right

Jul 6 2021, 5:01 PM
anlambert retitled D5819: assets/webapp: Add UI guided tour from assets/webapp: Add UI guided tour (WIP) to assets/webapp: Add UI guided tour.
Jul 6 2021, 4:56 PM
anlambert updated the diff for D5819: assets/webapp: Add UI guided tour.

Update:

  • add more steps to origin browse view
  • add more steps to content browse view and use more relevant source code file as example
  • polish js code
  • fix some spotted issues while testing the tour
  • improve interactive part of the tour regarding source code lines selection
  • update cypress tests
Jul 6 2021, 4:52 PM
anlambert added a comment to D5971: apidoc: Stop parsing docutils trees with regexps on its pseudo-XML.

Nice ! I guess the remaining docutils error in http://localhost:5004/api/1/raw-extrinsic-metadata/swhid/doc/ is due to the missing target node handling ?

Jul 6 2021, 3:51 PM
anlambert requested review of D5969: templates/snapshot-context: Visit origin URL in a new browser tab.
Jul 6 2021, 3:04 PM
anlambert closed D5970: test_archive: Fix origin URL encoding.
Jul 6 2021, 2:45 PM
anlambert committed rDWAPPS36b44ef08e6b: test_archive: Fix origin URL encoding (authored by anlambert).
test_archive: Fix origin URL encoding
Jul 6 2021, 2:45 PM
anlambert updated the task description for T3423: Execute cypress tests in parallel on Jenkins.
Jul 6 2021, 2:09 PM · Continuous Integration, Web app
anlambert triaged T3423: Execute cypress tests in parallel on Jenkins as Normal priority.
Jul 6 2021, 2:03 PM · Continuous Integration, Web app
anlambert requested review of D5970: test_archive: Fix origin URL encoding.
Jul 6 2021, 12:46 PM

Jul 5 2021

anlambert planned changes to D5819: assets/webapp: Add UI guided tour.
Jul 5 2021, 5:47 PM
anlambert updated the diff for D5819: assets/webapp: Add UI guided tour.

Update:

  • Add more steps to origin browse view tour (notably for the SWHIDs tab)
  • Fix bugs spotted by @vlorentz
Jul 5 2021, 5:42 PM
anlambert added a comment to D5819: assets/webapp: Add UI guided tour.

I'm now at the "Highlight a source code line" step, the "Back" button is disabled, and the "Next" button doesn't do anything. Is this a WIP?

Jul 5 2021, 3:04 PM
anlambert added a comment to D5819: assets/webapp: Add UI guided tour.

Two other bugs at once:

  • while on the "Search archived software origins" modal, make sure the "Next" button is selected
  • Press space -> bug #2: it makes the page scroll instead of having the same action as pressing Enter or clicking the button
  • Actually click the button
  • bug #3: Because the page scrolled at the previous step, it highlights the wrong part of the page as the "Save Code Now" button:

Jul 5 2021, 3:02 PM
anlambert added a comment to D5819: assets/webapp: Add UI guided tour.

I found a bug:

  • click "Help"
  • wait for the popup to appear
  • click anywhere outside the popup (could happen by accident)
  • click "Help" again, directs me to /?guided_tour=0&guided_tour_next=http://127.0.0.1:5004/# but does not start a tour
  • clicking "Help" again does nothing
Jul 5 2021, 2:53 PM
anlambert added inline comments to D5819: assets/webapp: Add UI guided tour.
Jul 5 2021, 2:15 PM
anlambert added inline comments to D5819: assets/webapp: Add UI guided tour.
Jul 5 2021, 1:03 PM
anlambert added a comment to T3408: Provide read-only access to production servers.

@vsellier, could you also open a read access to the scheduler service ? I will need it to work on T3127.

Jul 5 2021, 11:12 AM · System administration

Jul 2 2021

anlambert planned changes to D5819: assets/webapp: Add UI guided tour.

Almost there, a couple more steps to add in the tour and some polishing to do before landing this.

Jul 2 2021, 6:11 PM
anlambert updated the diff for D5819: assets/webapp: Add UI guided tour.

Update:

  • rebase
  • improve guided tour steps (thanks @moranegg !)
Jul 2 2021, 6:04 PM
anlambert added inline comments to D5819: assets/webapp: Add UI guided tour.
Jul 2 2021, 6:02 PM
anlambert added a comment to D5819: assets/webapp: Add UI guided tour.

Great work!

I just suggested some UX changes to make it more fun, but the tour sounds really great.

What's the ETA on this? (not for urgency, just to know when to expect this for the ambassadors...)

Jul 2 2021, 4:51 PM
anlambert closed D5959: assets/diff-utils: Use homemade missing new line icon instead of GH one.
Jul 2 2021, 3:37 PM
anlambert committed rDWAPPS3c06b0331d4c: assets/diff-utils: Use homemade missing new line icon instead of GH one (authored by anlambert).
assets/diff-utils: Use homemade missing new line icon instead of GH one
Jul 2 2021, 3:37 PM

Jul 1 2021

anlambert requested review of D5959: assets/diff-utils: Use homemade missing new line icon instead of GH one.
Jul 1 2021, 6:59 PM
anlambert planned changes to D5819: assets/webapp: Add UI guided tour.

Still WIP

Jul 1 2021, 6:02 PM
anlambert updated the diff for D5819: assets/webapp: Add UI guided tour.

Update:

  • rebase
  • improve CSS
  • add more steps to orgin browse view guided tour
Jul 1 2021, 5:40 PM
anlambert closed T3385: Move `swh web auth` into a dedicated `swh auth` cli entrypoint as Resolved by committing rDWCLId1f064f19645: cli: Deprecate auth command group.
Jul 1 2021, 3:45 PM · Web client, Authentication