Page MenuHomeSoftware Heritage
Feed Advanced Search

Nov 2 2022

anlambert updated the diff for D8801: cpan: Add extid manifest to CpanPackageInfo.

Update: Prefer to use an extid manifest instead of simply using sha256 checksum as it seems more robust.

Nov 2 2022, 5:20 PM
anlambert accepted D8569: Add rubygems loader.

Looks good to me, thanks !

Nov 2 2022, 4:58 PM
anlambert requested review of D8801: cpan: Add extid manifest to CpanPackageInfo.
Nov 2 2022, 4:40 PM
anlambert added a revision to T2833: cpan.loader - archive Perl modules from CPAN: D8801: cpan: Add extid manifest to CpanPackageInfo.
Nov 2 2022, 4:36 PM · CPAN lister, Archive coverage
anlambert triaged T4669: Add support to browse snapshot branches targeting contents or directories as Normal priority.
Nov 2 2022, 1:50 PM · Web app
anlambert updated the diff for D8798: save_origin_webhooks: Add push webhook receivers for popular forges.

Address @vlorentz comments

Nov 2 2022, 1:28 PM
anlambert added inline comments to D8798: save_origin_webhooks: Add push webhook receivers for popular forges.
Nov 2 2022, 1:27 PM
anlambert updated the diff for D8798: save_origin_webhooks: Add push webhook receivers for popular forges.

Update: Simplify implementation using classes (thanks to @vlorentz)

Nov 2 2022, 11:52 AM
anlambert added a comment to D8798: save_origin_webhooks: Add push webhook receivers for popular forges.

Thanks, I like it.

Before going into the details, what do you think of D8800? it's a refactoring of this diff, using an abstract OriginSaveWebhookReceiver class, and each forge defines a subclass. This replaces calls to origin_save_webhook_receiver with lots of arguments and decorators. I didn't touch the tests at all.

Nov 2 2022, 11:45 AM

Oct 31 2022

anlambert requested review of D8798: save_origin_webhooks: Add push webhook receivers for popular forges.
Oct 31 2022, 7:26 PM
anlambert added a revision to T4548: Add a public API endpoint and documentation to trigger Save Code Now from webhook: D8798: save_origin_webhooks: Add push webhook receivers for popular forges.
Oct 31 2022, 5:14 PM · Web app
anlambert closed D8795: apidoc: Fix some issues regarding generated documentation links.
Oct 31 2022, 5:14 PM
anlambert committed rDWAPPS024da72220d4: apidoc: Fix some issues regarding generated documentation links (authored by anlambert).
apidoc: Fix some issues regarding generated documentation links
Oct 31 2022, 5:14 PM
anlambert requested review of D8795: apidoc: Fix some issues regarding generated documentation links.
Oct 31 2022, 5:09 PM
anlambert closed D8796: Revert "templates/stage-cypress-tests: Prevent race condition with support file".
Oct 31 2022, 4:59 PM
anlambert added a reverting change for D8782: templates/stage-cypress-tests: Prevent race condition with support file: rCJSWH2b9d03c3c50d: Revert "templates/stage-cypress-tests: Prevent race condition with support file".
Oct 31 2022, 4:59 PM
anlambert added a reverting change for rCJSWHa0fd3dc0fe59: templates/stage-cypress-tests: Prevent race condition with support file: rCJSWH2b9d03c3c50d: Revert "templates/stage-cypress-tests: Prevent race condition with support file".
Oct 31 2022, 4:59 PM
anlambert committed rCJSWH2b9d03c3c50d: Revert "templates/stage-cypress-tests: Prevent race condition with support file" (authored by anlambert).
Revert "templates/stage-cypress-tests: Prevent race condition with support file"
Oct 31 2022, 4:58 PM
anlambert requested review of D8796: Revert "templates/stage-cypress-tests: Prevent race condition with support file".
Oct 31 2022, 3:36 PM
anlambert added a reverting change for rCJSWHa0fd3dc0fe59: templates/stage-cypress-tests: Prevent race condition with support file: D8796: Revert "templates/stage-cypress-tests: Prevent race condition with support file".
Oct 31 2022, 3:36 PM
anlambert added a reverting change for D8782: templates/stage-cypress-tests: Prevent race condition with support file: D8796: Revert "templates/stage-cypress-tests: Prevent race condition with support file".
Oct 31 2022, 3:36 PM
anlambert closed D8793: replay: Ensure copyfrom operations are properly handled.
Oct 31 2022, 3:16 PM
anlambert closed D8787: loader: Compress dump file and rework truncated dump handling.
Oct 31 2022, 3:16 PM
anlambert committed rDLDSVN04566a7f3616: replay: Ensure copyfrom operations are properly handled (authored by anlambert).
replay: Ensure copyfrom operations are properly handled
Oct 31 2022, 3:16 PM
anlambert committed rDLDSVNd24ba1a5ccd6: loader: Compress dump file and rework truncated dump handling (authored by anlambert).
loader: Compress dump file and rework truncated dump handling
Oct 31 2022, 3:16 PM
anlambert closed D8786: svn: Ensure to quote URLs provided as parameters to client methods.
Oct 31 2022, 3:16 PM
anlambert committed rDLDSVNc6d39b7bb70b: svn: Ensure to quote URLs provided as parameters to client methods (authored by anlambert).
svn: Ensure to quote URLs provided as parameters to client methods
Oct 31 2022, 3:16 PM
anlambert updated the diff for D8793: replay: Ensure copyfrom operations are properly handled.

Rebase

Oct 31 2022, 3:06 PM
anlambert updated the diff for D8787: loader: Compress dump file and rework truncated dump handling.

Update: Address @ardumont and @vlorentz comments

Oct 31 2022, 3:06 PM
anlambert closed D8792: docker/conf/nginx: Remove no longer needed proxy and fix formatting.
Oct 31 2022, 3:00 PM
anlambert committed rDENVa4d7bc47b333: docker/conf/nginx: Remove no longer needed proxy and fix formatting (authored by anlambert).
docker/conf/nginx: Remove no longer needed proxy and fix formatting
Oct 31 2022, 3:00 PM
anlambert closed D8791: docker/nginx: Align objstorage proxy_read_timeout value with production.
Oct 31 2022, 3:00 PM
anlambert committed rDENVa30908c7a1f4: docker/nginx: Align objstorage proxy_read_timeout value with production (authored by anlambert).
docker/nginx: Align objstorage proxy_read_timeout value with production
Oct 31 2022, 3:00 PM
anlambert closed D8794: converters, dumb: Fix errors since latest dulwich release (0.20.50).
Oct 31 2022, 1:20 PM
anlambert committed rDLDGd6d5ce2b58ae: converters, dumb: Fix errors since latest dulwich release (0.20.50) (authored by anlambert).
converters, dumb: Fix errors since latest dulwich release (0.20.50)
Oct 31 2022, 1:19 PM
anlambert requested review of D8794: converters, dumb: Fix errors since latest dulwich release (0.20.50).
Oct 31 2022, 11:51 AM
anlambert updated the diff for D8793: replay: Ensure copyfrom operations are properly handled.

Update:

  • rename some variables
  • fix some typing
  • harmonize replay.DirEditor.add_[file|directory] implementation
Oct 31 2022, 11:41 AM

Oct 28 2022

anlambert requested review of D8793: replay: Ensure copyfrom operations are properly handled.
Oct 28 2022, 6:18 PM
anlambert updated the diff for D8792: docker/conf/nginx: Remove no longer needed proxy and fix formatting.

Rebase

Oct 28 2022, 4:01 PM
anlambert updated the diff for D8791: docker/nginx: Align objstorage proxy_read_timeout value with production.

Remove extra line break

Oct 28 2022, 4:01 PM
anlambert requested review of D8792: docker/conf/nginx: Remove no longer needed proxy and fix formatting.
Oct 28 2022, 3:59 PM
anlambert requested review of D8791: docker/nginx: Align objstorage proxy_read_timeout value with production.
Oct 28 2022, 3:54 PM
anlambert closed D8790: webapp: Ensure monospace font family for docutils literals.
Oct 28 2022, 3:21 PM
anlambert committed rDWAPPS94a28741b69c: webapp: Ensure monospace font family for docutils literals (authored by anlambert).
webapp: Ensure monospace font family for docutils literals
Oct 28 2022, 3:21 PM
anlambert requested review of D8790: webapp: Ensure monospace font family for docutils literals.
Oct 28 2022, 3:08 PM
anlambert closed D8789: pubdev: Update outdated lister documentation.
Oct 28 2022, 11:55 AM
anlambert committed rDLS60707a45ddfd: pubdev: Update outdated lister documentation (authored by anlambert).
pubdev: Update outdated lister documentation
Oct 28 2022, 11:55 AM
anlambert requested changes to D8569: Add rubygems loader.

Could you also test that raw extrinsic metadata have been correctly stored in the storage and can be retrieved ?
You can inspire from the cpan loader test to implement it.

Oct 28 2022, 11:54 AM
anlambert updated the diff for D8789: pubdev: Update outdated lister documentation.

Rebase

Oct 28 2022, 11:46 AM
anlambert added a comment to D8569: Add rubygems loader.

Rubygems: Improve loader to make use of artifacts and rubygems_metadata provided by the lister extra_loader_arguments

Use artifacts and rubygems_metadata to get list of versions, artifacts checksums and extrinsic metadata url
Add an EXTID manifest
Add metadata from extrinsic metadata

@anlambert Please note I used 'rubygems_metadata' instead of 'rubygem_metadata' as in the lister. Maybe I'm wrong but I think the lister should rename to rubygems_metadata?

Oct 28 2022, 11:32 AM
anlambert updated the diff for D8787: loader: Compress dump file and rework truncated dump handling.

Rebase

Oct 28 2022, 11:22 AM
anlambert updated the diff for D8786: svn: Ensure to quote URLs provided as parameters to client methods.

Only quote spaces as svn will also raise an assertion if we quote other special characters.

Oct 28 2022, 11:21 AM

Oct 27 2022

anlambert closed D8782: templates/stage-cypress-tests: Prevent race condition with support file.
Oct 27 2022, 6:22 PM
anlambert committed rCJSWHa0fd3dc0fe59: templates/stage-cypress-tests: Prevent race condition with support file (authored by anlambert).
templates/stage-cypress-tests: Prevent race condition with support file
Oct 27 2022, 6:22 PM
anlambert added a comment to D8782: templates/stage-cypress-tests: Prevent race condition with support file.
In D8782#228466, @olasd wrote:

I'm a bit confused about who is copying what in there, but I trust your judgment...

Oct 27 2022, 6:21 PM
anlambert closed D8788: tests: Fix test_replay_content_static_group_id.
Oct 27 2022, 6:17 PM
anlambert committed rDOBJSRPL0c0fa5c73374: tests: Fix test_replay_content_static_group_id (authored by anlambert).
tests: Fix test_replay_content_static_group_id
Oct 27 2022, 6:17 PM
anlambert requested review of D8789: pubdev: Update outdated lister documentation.
Oct 27 2022, 5:02 PM
anlambert requested review of D8788: tests: Fix test_replay_content_static_group_id.
Oct 27 2022, 4:57 PM
anlambert added a comment to T4665: [pudbev lister] use alternative packages list endpoint.

We are already using the https://pub.dev/api/package-names endpoint to list pubdev packages (see code), it is just the lister documentation that is outdated.

I will push a diff to fix the doc.

Oct 27 2022, 4:57 PM · PubDev lister
anlambert added a project to T4665: [pudbev lister] use alternative packages list endpoint: PubDev lister.
Oct 27 2022, 4:57 PM · PubDev lister
anlambert closed T4665: [pudbev lister] use alternative packages list endpoint as Invalid.

We are already using the https://pub.dev/api/package-names endpoint to list pubdev packages (see code), it is just the lister documentation that is outdated.

Oct 27 2022, 4:41 PM · PubDev lister
anlambert closed T4665: [pudbev lister] use alternative packages list endpoint, a subtask of T4465: Ingest pub.dev (Dart, Flutter), as Invalid.
Oct 27 2022, 4:41 PM · PubDev loader, PubDev lister, Archive coverage
anlambert updated the diff for D8787: loader: Compress dump file and rework truncated dump handling.

Rebase

Oct 27 2022, 4:37 PM
anlambert updated the summary of D8787: loader: Compress dump file and rework truncated dump handling.
Oct 27 2022, 4:37 PM
anlambert requested review of D8787: loader: Compress dump file and rework truncated dump handling.
Oct 27 2022, 3:53 PM
anlambert updated the diff for D8786: svn: Ensure to quote URLs provided as parameters to client methods.

Update safe chars list

Oct 27 2022, 2:36 PM
anlambert closed T4645: SWHAP Event - Link to sciencestories.io is dead as Resolved.
Oct 27 2022, 2:28 PM · Website
anlambert added a comment to T4645: SWHAP Event - Link to sciencestories.io is dead.

@vlorentz, you misread the task, protocol should be http not https

Oct 27 2022, 2:28 PM · Website
anlambert added a comment to T4645: SWHAP Event - Link to sciencestories.io is dead.

@vlorentz, I do not from my side, link is fixed. I just forced browser cache to be invalidated for our WP site assets. Did it change something for you ?

Oct 27 2022, 1:49 PM · Website
anlambert closed T4645: SWHAP Event - Link to sciencestories.io is dead as Resolved.
Oct 27 2022, 11:45 AM · Website
anlambert requested review of D8786: svn: Ensure to quote URLs provided as parameters to client methods.
Oct 27 2022, 11:41 AM

Oct 26 2022

anlambert closed D8785: package.json: Pin cy2 to 2.1.0 to fix Jenkins jobs.
Oct 26 2022, 7:16 PM
anlambert committed rDWAPPSaee1c7ccb620: package.json: Pin cy2 to 2.1.0 to fix Jenkins jobs (authored by anlambert).
package.json: Pin cy2 to 2.1.0 to fix Jenkins jobs
Oct 26 2022, 7:16 PM
anlambert closed D8781: utils/exc: Ensure exception text is escaped in HTML error page.
Oct 26 2022, 5:39 PM
anlambert committed rDWAPPS8db9fd3217a9: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Oct 26 2022, 5:39 PM
anlambert committed rDWAPPSdf0bb952e96d: utils/exc: Ensure exception text is escaped in HTML error page (authored by anlambert).
utils/exc: Ensure exception text is escaped in HTML error page
Oct 26 2022, 5:39 PM
anlambert closed D8780: utils/exc: Add typing.
Oct 26 2022, 5:39 PM
anlambert committed rDWAPPSd2c653d3e9c3: utils/exc: Add typing (authored by anlambert).
utils/exc: Add typing
Oct 26 2022, 5:39 PM
anlambert accepted D8783: lister: Make sure lister that requires github tokens can use it.

Better like this indeed, could you add a test with a sample credentials config file to check github_session object has loaded credentials ?

Oct 26 2022, 5:37 PM
anlambert updated the summary of D8782: templates/stage-cypress-tests: Prevent race condition with support file.
Oct 26 2022, 5:24 PM
anlambert updated the summary of D8782: templates/stage-cypress-tests: Prevent race condition with support file.
Oct 26 2022, 5:24 PM
anlambert requested review of D8782: templates/stage-cypress-tests: Prevent race condition with support file.
Oct 26 2022, 5:20 PM
anlambert requested review of D8781: utils/exc: Ensure exception text is escaped in HTML error page.
Oct 26 2022, 5:12 PM
anlambert requested review of D8780: utils/exc: Add typing.
Oct 26 2022, 3:34 PM
anlambert accepted D8779: codemeta: Fix malformed dates that used to be allowed by the deposit.

LGTM

Oct 26 2022, 3:22 PM
anlambert accepted D8778: codemeta: Fix incorrect output namespace for dates and URLs.

LGTM

Oct 26 2022, 3:15 PM
anlambert accepted D8772: metadata_dictionary: Systematically check input URLs before adding to graph.

LGTM, added some nitpicks about typing as inline comments.

Oct 26 2022, 3:14 PM
anlambert added a comment to T4548: Add a public API endpoint and documentation to trigger Save Code Now from webhook.

This is the POST request I received from Bitbucket when pushing commit to a sample repository.

Oct 26 2022, 12:07 PM · Web app
anlambert accepted D8774: nixguix: Use content-disposition from http head request if provided.

LGTM

Oct 26 2022, 12:02 PM
anlambert added a comment to T4548: Add a public API endpoint and documentation to trigger Save Code Now from webhook.

Regarding JSON payload sent by SourceForge, we cannot guess the visit type (git, svn, or hg) from it so we will have to query the project endpoint from SourceForge REST API to get it.

Oct 26 2022, 11:54 AM · Web app
anlambert added a comment to T4548: Add a public API endpoint and documentation to trigger Save Code Now from webhook.

Based on the received HTTP POST request headers, we should be able to determine which type of forge sent us the request and then
extract repository URL and visit type from the JSON payload in order to create a Save Code Now request when new commits are pushed.

We can do that and it certainly works, but once we start allowing a single endpoint for all forges, we cannot go back.

What about a separate path for each forge type, so we have more flexibility later on? eg. to route/"cache" requests from some forges differently directly in Varnish

Oct 26 2022, 11:44 AM · Web app
anlambert added inline comments to D8774: nixguix: Use content-disposition from http head request if provided.
Oct 26 2022, 11:41 AM
anlambert accepted D8773: nixguix: Deal with edge case url with version instead of extension.

I am not a big fan either of adding more tarball detection heuristics but after quickly hacking on the code, it seems this is the only way to handle these edge case URLS (plus there is some cases when even analyzing HTTP headers cannot help to detect if the URL targets a tarball P1512). So let's land this and move on in deploying and testing that lister on staging.

Oct 26 2022, 11:34 AM
anlambert created P1512 (An Untitled Masterwork).
Oct 26 2022, 11:29 AM

Oct 25 2022

anlambert added a comment to T4548: Add a public API endpoint and documentation to trigger Save Code Now from webhook.

This is the POST request I received from SourceForge when pushing commit to a sample hg repository.

Oct 25 2022, 6:02 PM · Web app
anlambert added a comment to T4548: Add a public API endpoint and documentation to trigger Save Code Now from webhook.

This is the POST request I received from SourceForge when adding commit to a sample svn repository.

Oct 25 2022, 5:56 PM · Web app
anlambert added a comment to T4548: Add a public API endpoint and documentation to trigger Save Code Now from webhook.

This is the POST request I received from SourceForge when pushing commit to a sample git repository.

Oct 25 2022, 5:49 PM · Web app
anlambert added a comment to T4548: Add a public API endpoint and documentation to trigger Save Code Now from webhook.

This is the POST request I received from Gitea when pushing commit to a sample repository.

Oct 25 2022, 5:36 PM · Web app
anlambert added a comment to T4548: Add a public API endpoint and documentation to trigger Save Code Now from webhook.

This is the POST request I received from GitLab when pushing commit to a sample repository.

Oct 25 2022, 5:27 PM · Web app