Page MenuHomeSoftware Heritage
Feed Advanced Search

Nov 15 2022

anlambert added a comment to D8386: feat(fedora): Introduce fedora lister.
In D8386#229882, @olasd wrote:

@anlambert

I noticed that https://archive.softwareheritage.org/browse/origin/directory/?origin_url=deb://Ubuntu/packages/nginx has duplicate branch names, which is very confusing. In fact, even the default branch is repeated twice and I see two check marks. If we use branch names like 0.3.9-15.fc26, won't the same happen with Fedora listers? It doesn't seem to differentiate between the editions. (or does it?)

This seems like a misfeature in the webapp:

https://archive.softwareheritage.org/api/1/snapshot/158a3f36b0bd3da461fb7458de44cfa2c94e4270/

The snapshot has multiple branches, with the same version suffix, pointing at the same objects (because the exact same version of the package is present in multiple Ubuntu suites).

I'm not 100% sure how we should be fixing that, but that bug shouldn't prevent you from giving the fedora snapshots the "semantically correct" structure.

Nov 15 2022, 10:52 AM

Nov 14 2022

anlambert requested review of D8841: save_code_now: Allow request creation if previous for origin is running.
Nov 14 2022, 5:35 PM
anlambert added a revision to T4548: Add a public API endpoint and documentation to trigger Save Code Now from webhook: D8841: save_code_now: Allow request creation if previous for origin is running.
Nov 14 2022, 5:27 PM · Web app
anlambert updated the summary of D8840: maven: Add support for md5 checkums to check download integrity.
Nov 14 2022, 4:33 PM
anlambert requested review of D8840: maven: Add support for md5 checkums to check download integrity.
Nov 14 2022, 4:30 PM
anlambert requested review of D8839: maven: Simplify tests with requests_mock_datadir fixture.
Nov 14 2022, 4:17 PM
anlambert requested review of D8837: api: Improve HTML documentation.
Nov 14 2022, 2:42 PM
anlambert closed D8836: browse: Use django FileResponse in browse-content-raw view.
Nov 14 2022, 2:27 PM
anlambert committed rDWAPPSad8558c69d88: browse: Use django FileResponse in browse-content-raw view (authored by anlambert).
browse: Use django FileResponse in browse-content-raw view
Nov 14 2022, 2:27 PM
anlambert requested review of D8836: browse: Use django FileResponse in browse-content-raw view.
Nov 14 2022, 1:52 PM

Nov 10 2022

anlambert requested changes to D8753: feat: Introduce RPM loader.

@KShivendu , I added some inline comments to improve the loader output.

Nov 10 2022, 3:05 PM
anlambert added a comment to T4632: Origin URLs generated for Fedora origins.

@anlambert What about non-Fedora RPM repositories? (RHEL, SUSE, Rocky Linux, ...)

Nov 10 2022, 1:57 PM · Archive coverage, Data Model
anlambert requested changes to D8386: feat(fedora): Introduce fedora lister.

@KShivendu thanks for the adaptations !

Nov 10 2022, 1:33 PM
anlambert added a comment to T4632: Origin URLs generated for Fedora origins.

Actually for fedora, I found a better origin URL pattern: https://src.fedoraproject.org/rpms/{pkg_name}

Nov 10 2022, 11:27 AM · Archive coverage, Data Model
anlambert requested changes to D8824: Cpan: Implement incremental mode.

@franckbret, as explained in my inline comment we cannot use the date filtering on the release index of CPAN elasticsearch.

Nov 10 2022, 11:01 AM

Nov 9 2022

anlambert closed T4675: /browse/search/ crashes when swh-search results are not in swh-storage as Resolved.

Fixed and deployed.

Nov 9 2022, 6:25 PM · Web app
anlambert committed rDWAPPSed38856c601e: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Nov 9 2022, 5:26 PM
anlambert closed D8826: browse/origin-search: Percent encode ? character only in origin URL.
Nov 9 2022, 5:26 PM
anlambert committed rDWAPPS4bd225b8225c: browse/origin-search: Percent encode ? character only in origin URL (authored by anlambert).
browse/origin-search: Percent encode ? character only in origin URL
Nov 9 2022, 5:26 PM
anlambert requested review of D8826: browse/origin-search: Percent encode ? character only in origin URL.
Nov 9 2022, 5:25 PM
anlambert added a revision to T4675: /browse/search/ crashes when swh-search results are not in swh-storage: D8826: browse/origin-search: Percent encode ? character only in origin URL.
Nov 9 2022, 5:05 PM · Web app
anlambert added a comment to T4675: /browse/search/ crashes when swh-search results are not in swh-storage.

It seems the fix is to only encode the ? in an origin URL when it is provided as URL argument.
The issue we hit in production might be related to the varnish cache I think.

Nov 9 2022, 4:51 PM · Web app
anlambert added a comment to T4675: /browse/search/ crashes when swh-search results are not in swh-storage.

Hmm, I do not hit the issue locally so that is why tests did not spot the issue. This seems to only happen in production.

Nov 9 2022, 4:37 PM · Web app
anlambert added a comment to T4675: /browse/search/ crashes when swh-search results are not in swh-storage.

Actually this is not related to the replica lag but it is a regression induced by recent commit rDWAPPS4cc9676a54cc368394c05b7f19c92ea072f8041e.

Nov 9 2022, 4:26 PM · Web app
anlambert added a comment to T4675: /browse/search/ crashes when swh-search results are not in swh-storage.

Ah right I noticed that behavior when fixing a recent bug in the webapp (D8820), will fix that asap.

Nov 9 2022, 3:56 PM · Web app
anlambert closed D8823: docker: Add support for incoming rpm loader.
Nov 9 2022, 3:45 PM
anlambert committed rDENV5af2fc028973: docker: Add support for incoming rpm loader (authored by anlambert).
docker: Add support for incoming rpm loader
Nov 9 2022, 3:45 PM
anlambert added a comment to D8386: feat(fedora): Introduce fedora lister.

@KShivendu I forgot to mention in my review that we should also get the checksums associated to a rpm archive, the loader will then use it to check download integrity.

Nov 9 2022, 3:19 PM
anlambert requested review of D8823: docker: Add support for incoming rpm loader.
Nov 9 2022, 2:58 PM
anlambert requested changes to D8386: feat(fedora): Introduce fedora lister.

@KShivendu , after testing the lister in docker environment there is room for improvements before we can accept that diff.

Nov 9 2022, 2:46 PM
anlambert added a comment to T4632: Origin URLs generated for Fedora origins.

After reviewing and hacking on the fedora lister, I think we should use origin URL in the form https://packages.fedoraproject.org/pkgs/{src_pkg_name} for a fedora source package.

Nov 9 2022, 2:09 PM · Archive coverage, Data Model

Nov 8 2022

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

New forge webhooks now deployed to production, see Request archival section of Web API endpoints.

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

All forge webhook receivers are working as expected, time to activate them in production.

Nov 8 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.

SourceForge case: I added webhook settings for that sample repositories of mine :

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

BitBucket case: I added webhook settings for that sample repository of mine https://bitbucket.org/anlambert/webhook-test.git using the following payload URL https://webapp.staging.swh.network/api/1/origin/save/webhook/bitbucket/.

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

Gitea case: I added webhook settings for that sample repository of mine https://try.gitea.io/anlambert/webhook-test.git using the following payload URL https://webapp.staging.swh.network/api/1/origin/save/webhook/gitea/.

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

GitLab case: I added webhook settings for that sample repository of mine https://gitlab.com/anlambert/test using the following payload URL https://webapp.staging.swh.network/api/1/origin/save/webhook/gitlab/.

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

GitHub case: I added webhook settings for that sample repository of mine https://github.com/anlambert/webhook-test using the following payload URL https://webapp.staging.swh.network/api/1/origin/save/webhook/github/.

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

Webhooks feature has been deployed and activated on staging, now let's test it before activating it for production too.

Nov 8 2022, 4:57 PM · Web app
anlambert closed T4669: Add support to browse snapshot branches targeting contents or directories as Resolved.

Fixed and deployed, closing this.

Nov 8 2022, 4:55 PM · Web app
anlambert created P1525 (An Untitled Masterwork).
Nov 8 2022, 4:53 PM
anlambert closed D8822: Makefile.sphinx: Exclude swh/*/conftest.py files from apidoc processing.
Nov 8 2022, 4:10 PM
anlambert committed rDDOCce3cd5dcd05f: Makefile.sphinx: Exclude swh/*/conftest.py files from apidoc processing (authored by anlambert).
Makefile.sphinx: Exclude swh/*/conftest.py files from apidoc processing
Nov 8 2022, 4:10 PM
anlambert requested review of D8822: Makefile.sphinx: Exclude swh/*/conftest.py files from apidoc processing.
Nov 8 2022, 4:06 PM
anlambert added a comment to T4673: AssertionError: 7911 != 7912 in subvertpy while parsing txdeltas.

This is a regression induced by commit rDLDSVN04566a7f3616fb94063355aae491a4e5ad4a832f, I understood the issue and I am working on a fix.

Nov 8 2022, 4:06 PM · SVN Loader
anlambert closed D8821: templates/stage-cypress-tests: Prevent race conditions between runners.
Nov 8 2022, 3:06 PM
anlambert committed rCJSWH13f95d2906b6: templates/stage-cypress-tests: Prevent race conditions between runners (authored by anlambert).
templates/stage-cypress-tests: Prevent race conditions between runners
Nov 8 2022, 3:06 PM
anlambert requested review of D8821: templates/stage-cypress-tests: Prevent race conditions between runners.
Nov 8 2022, 2:38 PM
anlambert committed rDWAPPS64b3d74a825c: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Nov 8 2022, 2:36 PM
anlambert closed D8815: tests: Reorganize test folders related to django applications.
Nov 8 2022, 2:36 PM
anlambert closed D8820: browse/origin-search: Ensure to encode origin URL argument in XHR calls.
Nov 8 2022, 2:36 PM
anlambert committed rDWAPPS4cc9676a54cc: browse/origin-search: Ensure to encode origin URL argument in XHR calls (authored by anlambert).
browse/origin-search: Ensure to encode origin URL argument in XHR calls
Nov 8 2022, 2:36 PM
anlambert committed rDWAPPScdc4651de69a: tests: Reorganize test folders related to django applications (authored by anlambert).
tests: Reorganize test folders related to django applications
Nov 8 2022, 2:36 PM
anlambert closed D8819: save_origin_webhooks: Fix tests when building debian buster package.
Nov 8 2022, 2:36 PM
anlambert committed rDWAPPSd7ac190db708: save_origin_webhooks: Fix tests when building debian buster package (authored by anlambert).
save_origin_webhooks: Fix tests when building debian buster package
Nov 8 2022, 2:36 PM
anlambert requested review of D8820: browse/origin-search: Ensure to encode origin URL argument in XHR calls.
Nov 8 2022, 11:58 AM
anlambert updated the diff for D8815: tests: Reorganize test folders related to django applications.

Rebase

Nov 8 2022, 11:52 AM
anlambert updated the summary of D8815: tests: Reorganize test folders related to django applications.
Nov 8 2022, 11:52 AM
anlambert requested review of D8819: save_origin_webhooks: Fix tests when building debian buster package.
Nov 8 2022, 11:13 AM

Nov 7 2022

anlambert closed D8818: backend: Fix git_bare bundle download URL sent in email notification.
Nov 7 2022, 3:26 PM
anlambert committed rDVAUb77c5ecef778: backend: Fix git_bare bundle download URL sent in email notification (authored by anlambert).
backend: Fix git_bare bundle download URL sent in email notification
Nov 7 2022, 3:26 PM
anlambert closed T4542: FAQ : edit the content of the item 3.4 as Resolved.

I made the desired changes both on hedgedoc and on our WordPress website for all languages.

Nov 7 2022, 2:52 PM · Ambassadors, Documentation
anlambert added inline comments to D8818: backend: Fix git_bare bundle download URL sent in email notification.
Nov 7 2022, 2:20 PM
anlambert requested review of D8818: backend: Fix git_bare bundle download URL sent in email notification.
Nov 7 2022, 1:58 PM
anlambert committed rDWAPPSd507af4e0456: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Nov 7 2022, 1:31 PM
anlambert updated the diff for D8815: tests: Reorganize test folders related to django applications.

Rebase

Nov 7 2022, 10:58 AM
anlambert closed T4553: Add “Save code now” to the Visits page as Resolved.
Nov 7 2022, 10:42 AM · Web app

Nov 4 2022

anlambert closed D8816: browse/templates/top-navigation: Prevent VariableDoesNotExist exception.
Nov 4 2022, 5:38 PM
anlambert closed D8814: browse: Update snapshot branches list view to display all target types.
Nov 4 2022, 5:38 PM
anlambert committed rDWAPPS2fdb0b164b21: browse/templates/top-navigation: Prevent VariableDoesNotExist exception (authored by anlambert).
browse/templates/top-navigation: Prevent VariableDoesNotExist exception
Nov 4 2022, 5:38 PM
anlambert committed rDWAPPSf0f3e6890a2e: browse: Update snapshot branches list view to display all target types (authored by anlambert).
browse: Update snapshot branches list view to display all target types
Nov 4 2022, 5:38 PM
anlambert closed D8807: browse: Handle snapshots whose branches target contents or directories.
Nov 4 2022, 5:38 PM
anlambert committed rDWAPPS8f594ec2b6e2: browse: Handle snapshots whose branches target contents or directories (authored by anlambert).
browse: Handle snapshots whose branches target contents or directories
Nov 4 2022, 5:38 PM
anlambert updated the summary of D8816: browse/templates/top-navigation: Prevent VariableDoesNotExist exception.
Nov 4 2022, 4:59 PM
anlambert requested review of D8816: browse/templates/top-navigation: Prevent VariableDoesNotExist exception.
Nov 4 2022, 4:56 PM
anlambert requested review of D8814: browse: Update snapshot branches list view to display all target types.
Nov 4 2022, 4:26 PM
anlambert created P1523 (An Untitled Masterwork).
Nov 4 2022, 4:26 PM
anlambert accepted D8813: nixguix: Reject Git SSH URLs and pseudo-URLs.
Nov 4 2022, 4:17 PM
anlambert accepted D8812: maven, packagist: Validate origin URLs.

Looks good to me.

Nov 4 2022, 4:16 PM
anlambert requested review of D8815: tests: Reorganize test folders related to django applications.
Nov 4 2022, 4:16 PM
anlambert added a revision to T4669: Add support to browse snapshot branches targeting contents or directories: D8814: browse: Update snapshot branches list view to display all target types.
Nov 4 2022, 2:33 PM · Web app
anlambert added a comment to D8812: maven, packagist: Validate origin URLs.

Would not it be more generic to validate the listed origin URLs at the scheduler level, more precisely in the record_listed_origins method ?
This way, all listers will benefit from URLs validation without touching their code.
Proceeding like this, we could even compute the list of rejected URLs in the send_origins method of base lister class (to log a warning for instance).

Nov 4 2022, 2:20 PM
anlambert accepted D8808: Eagerly populate the set of local heads in RepoRepresentation.__init__.

LGTM, I guess we should deploy this as soon as possible, right ?

Nov 4 2022, 1:24 PM
anlambert updated the diff for D8807: browse: Handle snapshots whose branches target contents or directories.

Fix content or directory branch browsing when the branch query parameter
is passed to the directory browsing view and update tests to cover that
case.

Nov 4 2022, 11:47 AM
anlambert accepted D8806: Dump all known and remote heads when debugging.
Nov 4 2022, 10:44 AM
anlambert added a comment to D8808: Eagerly populate the set of local heads in RepoRepresentation.__init__.

Jeez, what a subtle bug !

Nov 4 2022, 10:43 AM

Nov 3 2022

anlambert requested review of D8807: browse: Handle snapshots whose branches target contents or directories.
Nov 3 2022, 5:25 PM
anlambert added a revision to T4669: Add support to browse snapshot branches targeting contents or directories: D8807: browse: Handle snapshots whose branches target contents or directories.
Nov 3 2022, 5:16 PM · Web app
anlambert closed D8804: utils/urlsindex: Modify UrlsIndex class to simplify API URLs management.
Nov 3 2022, 3:18 PM
anlambert committed rDWAPPSd055e08d8bbc: utils/urlsindex: Modify UrlsIndex class to simplify API URLs management (authored by anlambert).
utils/urlsindex: Modify UrlsIndex class to simplify API URLs management
Nov 3 2022, 3:18 PM
anlambert updated the diff for D8804: utils/urlsindex: Modify UrlsIndex class to simplify API URLs management.

Use more Pythonic way to concatenate lists

Nov 3 2022, 2:54 PM
anlambert added inline comments to D8804: utils/urlsindex: Modify UrlsIndex class to simplify API URLs management.
Nov 3 2022, 2:51 PM
anlambert accepted D8805: cli: Sort object types to be processed in the right order.
Nov 3 2022, 2:06 PM
anlambert requested review of D8804: utils/urlsindex: Modify UrlsIndex class to simplify API URLs management.
Nov 3 2022, 2:04 PM
anlambert closed D8801: cpan: Add extid manifest to CpanPackageInfo.
Nov 3 2022, 10:53 AM
anlambert committed rDLDBASEbf2cb039d5d7: cpan: Add extid manifest to CpanPackageInfo (authored by anlambert).
cpan: Add extid manifest to CpanPackageInfo
Nov 3 2022, 10:53 AM
anlambert closed D8798: save_origin_webhooks: Add push webhook receivers for popular forges.
Nov 3 2022, 10:51 AM
anlambert committed rDWAPPS93696b9cc7b9: save_origin_webhooks: Add push webhook receivers for popular forges (authored by anlambert).
save_origin_webhooks: Add push webhook receivers for popular forges
Nov 3 2022, 10:51 AM
anlambert updated the diff for D8801: cpan: Add extid manifest to CpanPackageInfo.

Rebase

Nov 3 2022, 10:49 AM

Nov 2 2022

anlambert retitled D8801: cpan: Add extid manifest to CpanPackageInfo from cpan: Implement CpanPackageInfo.extid to cpan: Add extid manifest to CpanPackageInfo.
Nov 2 2022, 5:20 PM