Page MenuHomeSoftware Heritage
Feed Advanced Search

May 2 2022

anlambert removed projects from T4157: Document debian loader: Roadmap 2022, Roadmap 2021.
May 2 2022, 4:17 PM · Documentation, Community Building
anlambert removed projects from T4156: Document cran loader: Roadmap 2022, Roadmap 2021.
May 2 2022, 4:17 PM · Documentation, Community Building
anlambert removed projects from T4155: Document archive loader: Roadmap 2022, Roadmap 2021.
May 2 2022, 4:17 PM · Documentation, Community Building
anlambert removed projects from T4154: Document bazaar loader: Roadmap 2022, Roadmap 2021.
May 2 2022, 4:17 PM · Documentation, Community Building
anlambert removed projects from T4153: Document cvs loader: Roadmap 2022, Roadmap 2021.
May 2 2022, 4:17 PM · Documentation, Community Building
anlambert removed projects from T4152: Document mercurial loader: Roadmap 2022, Roadmap 2021.
May 2 2022, 4:17 PM · Documentation, Community Building
anlambert removed projects from T4151: Document subversion loader: Roadmap 2022, Roadmap 2021.
May 2 2022, 4:16 PM · Documentation, Community Building
anlambert removed projects from T4150: Document git loader: Roadmap 2022, Roadmap 2021.
May 2 2022, 4:16 PM · Documentation, Community Building
anlambert requested review of D7728: maven: Use most recent release of a package as default version.
May 2 2022, 4:14 PM
anlambert closed D7721: maven: Prevent UnicodeDecodeError when processing pom file.
May 2 2022, 4:13 PM
anlambert committed rDLS3f6c7edc24c0: maven: Prevent UnicodeDecodeError when processing pom file (authored by anlambert).
maven: Prevent UnicodeDecodeError when processing pom file
May 2 2022, 4:13 PM
anlambert added a revision to T3874: staging: Analyze result of the maven listing and ingestion: D7728: maven: Use most recent release of a package as default version.
May 2 2022, 4:10 PM · Maven loader, Maven lister, Archive coverage
anlambert added a comment to D7726: loader.core: Add statsd timing metrics.

I think you should add some tests checking the expected metrics are sent to statsd by mocking the statsd_timed method.
This will prevent possible regressions on that feature if the code of BaseLoader gets modified.

May 2 2022, 3:53 PM
anlambert added a comment to D7721: maven: Prevent UnicodeDecodeError when processing pom file.

Could you add that file in tests?

May 2 2022, 2:04 PM
anlambert updated the diff for D7721: maven: Prevent UnicodeDecodeError when processing pom file.

Add test for pom parsing failure

May 2 2022, 2:02 PM
anlambert updated the summary of D7721: maven: Prevent UnicodeDecodeError when processing pom file.
May 2 2022, 12:34 PM
anlambert requested review of D7721: maven: Prevent UnicodeDecodeError when processing pom file.
May 2 2022, 12:16 PM
anlambert added a revision to T3874: staging: Analyze result of the maven listing and ingestion: D7721: maven: Prevent UnicodeDecodeError when processing pom file.
May 2 2022, 12:13 PM · Maven loader, Maven lister, Archive coverage
anlambert added a comment to P1344 Error related to D7491.

This is due to the history cache that does not support multiple requests, use this to make it compatible with the many case:

class AddForgeNowRequestSerializer(serializers.ModelSerializer):
May 2 2022, 11:31 AM

Apr 29 2022

anlambert closed D7717: crates: Do not literalinclude JSON file in ExtrinsicPackageMetadata doc.
Apr 29 2022, 5:27 PM
anlambert committed rDLDBASEf07890bc0c8d: crates: Do not literalinclude JSON file in ExtrinsicPackageMetadata doc (authored by anlambert).
crates: Do not literalinclude JSON file in ExtrinsicPackageMetadata doc
Apr 29 2022, 5:27 PM
anlambert requested review of D7717: crates: Do not literalinclude JSON file in ExtrinsicPackageMetadata doc.
Apr 29 2022, 5:17 PM
anlambert updated subscribers of P1344 Error related to D7491.

That code is too hackish from my point of view, modifying internal private member of a class from the outside is never a good idea in programming.

Apr 29 2022, 4:03 PM
anlambert closed D7716: maven: Handle null mtime value in index for jar archive.
Apr 29 2022, 2:35 PM
anlambert committed rDLS0222a8f5c474: maven: Handle null mtime value in index for jar archive (authored by anlambert).
maven: Handle null mtime value in index for jar archive
Apr 29 2022, 2:35 PM
anlambert updated the diff for D7716: maven: Handle null mtime value in index for jar archive.

Reference task in commit message

Apr 29 2022, 1:59 PM
anlambert requested review of D7716: maven: Handle null mtime value in index for jar archive.
Apr 29 2022, 1:54 PM
anlambert closed D7715: maven: Remove extraction of groupId and artifactId from pom files.
Apr 29 2022, 11:28 AM
anlambert committed rDLS378613ad82fc: maven: Remove extraction of groupId and artifactId from pom files (authored by anlambert).
maven: Remove extraction of groupId and artifactId from pom files
Apr 29 2022, 11:28 AM
anlambert accepted D7714: developer-setup: Upgrade new mypy pinned version.
Apr 29 2022, 11:25 AM
anlambert closed D7712: package/maven: Fix jar archive download after changes in lister.
Apr 29 2022, 11:04 AM
anlambert committed rDLDBASEe449786aa098: package/maven: Fix jar archive download after changes in lister (authored by anlambert).
package/maven: Fix jar archive download after changes in lister
Apr 29 2022, 11:04 AM
anlambert closed D7710: maven: Create one origin per package instead of one per package version.
Apr 29 2022, 11:04 AM
anlambert committed rDLS22bcd9deb221: maven: Create one origin per package instead of one per package version (authored by anlambert).
maven: Create one origin per package instead of one per package version
Apr 29 2022, 11:04 AM
anlambert updated the diff for D7710: maven: Create one origin per package instead of one per package version.

Rebase

Apr 29 2022, 10:57 AM
anlambert updated the diff for D7712: package/maven: Fix jar archive download after changes in lister.

Address @ardumont comments

Apr 29 2022, 10:55 AM
anlambert added inline comments to D7712: package/maven: Fix jar archive download after changes in lister.
Apr 29 2022, 10:53 AM

Apr 28 2022

anlambert added inline comments to D7491: Added Moderator Name and Last Modified Time columns to the Admin Request Dashboard.
Apr 28 2022, 6:36 PM
anlambert requested review of D7712: package/maven: Fix jar archive download after changes in lister.
Apr 28 2022, 6:26 PM
anlambert added a revision to T3874: staging: Analyze result of the maven listing and ingestion: D7712: package/maven: Fix jar archive download after changes in lister.
Apr 28 2022, 6:23 PM · Maven loader, Maven lister, Archive coverage
anlambert created P1355 (An Untitled Masterwork).
Apr 28 2022, 5:52 PM
anlambert added a comment to T4203: mailmap admin interface: only display mailmaps matching a search pattern.

Indeed some filtering could be added here based on user permission:

  • if user has permission swh.web.mailmap, only the mailmaps he created should be displayed
  • if user has permission swh.web.admin.mailmap, all mailmaps should be displayed
Apr 28 2022, 5:42 PM · Web app
anlambert added a comment to D7710: maven: Create one origin per package instead of one per package version.

lgtm

one question inline.

Apr 28 2022, 4:49 PM
anlambert added inline comments to D7710: maven: Create one origin per package instead of one per package version.
Apr 28 2022, 4:46 PM
anlambert requested changes to D7491: Added Moderator Name and Last Modified Time columns to the Admin Request Dashboard.

From my point of view, there is still some improvements to bring to that diff and tests must be implemented to validate the feature.
I will do a deeper review once I have some time.

Apr 28 2022, 4:31 PM
anlambert requested review of D7710: maven: Create one origin per package instead of one per package version.
Apr 28 2022, 3:58 PM
anlambert added a revision to T3874: staging: Analyze result of the maven listing and ingestion: D7710: maven: Create one origin per package instead of one per package version.
Apr 28 2022, 3:54 PM · Maven loader, Maven lister, Archive coverage

Apr 27 2022

anlambert closed D7704: tasks: Simplify implementation and add tests for listed origins.
Apr 27 2022, 6:01 PM
anlambert committed rDLDBASE39ad939b6ea2: tasks: Simplify implementation and add tests for listed origins (authored by anlambert).
tasks: Simplify implementation and add tests for listed origins
Apr 27 2022, 6:00 PM
anlambert updated the diff for D7704: tasks: Simplify implementation and add tests for listed origins.

Rebase

Apr 27 2022, 5:56 PM
anlambert requested review of D7704: tasks: Simplify implementation and add tests for listed origins.
Apr 27 2022, 5:28 PM
anlambert added a revision to T4187: Pass forge type to loaders: D7704: tasks: Simplify implementation and add tests for listed origins.
Apr 27 2022, 5:11 PM · Core Loader, Metadata workflow
anlambert closed D7700: tasks: Simplify implementation and add tests for listed origins.
Apr 27 2022, 4:16 PM
anlambert committed rDLDBZRa188e21a89e3: tasks: Simplify implementation and add tests for listed origins (authored by anlambert).
tasks: Simplify implementation and add tests for listed origins
Apr 27 2022, 4:16 PM
anlambert closed D7698: tasks: Remove unnamed arguments use and restore visit_date parsing.
Apr 27 2022, 4:16 PM
anlambert committed rDLDSVN1633257f11b5: tasks: Remove unnamed arguments use and restore visit_date parsing (authored by anlambert).
tasks: Remove unnamed arguments use and restore visit_date parsing
Apr 27 2022, 4:16 PM
anlambert closed D7699: tasks: Simplify implementation and add tests for listed origins.
Apr 27 2022, 4:16 PM
anlambert committed rDLDHG3a551fa90d3a: tasks: Simplify implementation and add tests for listed origins (authored by anlambert).
tasks: Simplify implementation and add tests for listed origins
Apr 27 2022, 4:16 PM
anlambert closed D7702: tasks: Simplify implementation and add tests for listed origins.
Apr 27 2022, 4:15 PM
anlambert committed rDLDCVS4fc652339e92: tasks: Simplify implementation and add tests for listed origins (authored by anlambert).
tasks: Simplify implementation and add tests for listed origins
Apr 27 2022, 4:15 PM
anlambert added a comment to D7700: tasks: Simplify implementation and add tests for listed origins.

I think those similar diffs can be pushed directly once jenkins agrees they build fine.

Apr 27 2022, 4:14 PM
anlambert added a revision to T4187: Pass forge type to loaders: D7702: tasks: Simplify implementation and add tests for listed origins.
Apr 27 2022, 4:10 PM · Core Loader, Metadata workflow
anlambert requested review of D7700: tasks: Simplify implementation and add tests for listed origins.
Apr 27 2022, 3:39 PM
anlambert added a revision to T4187: Pass forge type to loaders: D7700: tasks: Simplify implementation and add tests for listed origins.
Apr 27 2022, 3:33 PM · Core Loader, Metadata workflow
anlambert requested review of D7699: tasks: Simplify implementation and add tests for listed origins.
Apr 27 2022, 3:26 PM
anlambert added a revision to T4187: Pass forge type to loaders: D7699: tasks: Simplify implementation and add tests for listed origins.
Apr 27 2022, 3:24 PM · Core Loader, Metadata workflow
anlambert requested review of D7698: tasks: Remove unnamed arguments use and restore visit_date parsing.
Apr 27 2022, 3:21 PM
anlambert closed D7694: tasks: Simplify implementation and make visit_date parameter optional.
Apr 27 2022, 1:41 PM
anlambert committed rDLDG05242cd461fd: tasks: Simplify implementation and make visit_date parameter optional (authored by anlambert).
tasks: Simplify implementation and make visit_date parameter optional
Apr 27 2022, 1:41 PM
anlambert retitled D7694: tasks: Simplify implementation and make visit_date parameter optional from tasks: Simplify implementation and add tests for listed origins to tasks: Simplify implementation and make visit_date parameter optional.
Apr 27 2022, 1:17 PM
anlambert updated the diff for D7694: tasks: Simplify implementation and make visit_date parameter optional.

Update commit message title

Apr 27 2022, 1:16 PM
anlambert added a comment to D7694: tasks: Simplify implementation and make visit_date parameter optional.

Thanks. Could you mention the behavior change in the commit/diff title?

Apr 27 2022, 12:09 PM
anlambert updated the summary of D7694: tasks: Simplify implementation and make visit_date parameter optional.
Apr 27 2022, 12:08 PM
anlambert updated the diff for D7694: tasks: Simplify implementation and make visit_date parameter optional.

Update commit message

Apr 27 2022, 12:08 PM
anlambert added a comment to D7694: tasks: Simplify implementation and make visit_date parameter optional.

Actually, I think it would make sense to keep it mandatory from Celery tasks; as visit dates when loading from disk should be the date the local git repo was downloaded, not the date it was loaded.

Apr 27 2022, 11:54 AM
anlambert updated the diff for D7694: tasks: Simplify implementation and make visit_date parameter optional.

Restore parsing of visit_date parameter for from disk loader tasks

Apr 27 2022, 11:51 AM
anlambert updated the diff for D7694: tasks: Simplify implementation and make visit_date parameter optional.

Remove unnamed arguments use in celery tasks

Apr 27 2022, 11:31 AM
anlambert added a comment to D7694: tasks: Simplify implementation and make visit_date parameter optional.

Remove *args, it's a footgun to allow unnamed arguments over the scheduler/Celery.

Apr 27 2022, 11:26 AM
anlambert requested review of D7694: tasks: Simplify implementation and make visit_date parameter optional.
Apr 27 2022, 11:09 AM
anlambert added a revision to T4187: Pass forge type to loaders: D7694: tasks: Simplify implementation and make visit_date parameter optional.
Apr 27 2022, 11:06 AM · Core Loader, Metadata workflow
anlambert closed D7690: tasks: Fix and simplify implementation.
Apr 27 2022, 10:43 AM
anlambert committed rDLDSVNb4bca94f058b: tasks: Fix and simplify implementation (authored by anlambert).
tasks: Fix and simplify implementation
Apr 27 2022, 10:43 AM

Apr 26 2022

anlambert added inline comments to D7690: tasks: Fix and simplify implementation.
Apr 26 2022, 5:41 PM
anlambert updated the diff for D7690: tasks: Fix and simplify implementation.

Update:

  • Remove max_content_size parameter to loaders (already handled by BaseLoader class)
  • Ensure to pass loader extra keyword parameters to base class constructor
Apr 26 2022, 5:40 PM
anlambert requested review of D7690: tasks: Fix and simplify implementation.
Apr 26 2022, 5:19 PM
anlambert added a revision to T4187: Pass forge type to loaders: D7690: tasks: Fix and simplify implementation.
Apr 26 2022, 5:16 PM · Core Loader, Metadata workflow
anlambert added a comment to D7491: Added Moderator Name and Last Modified Time columns to the Admin Request Dashboard.

@anirudhlakhotia, below are some hints about how to add the display of the last moderator name in the add forge requests admin dashboard:

  • the purpose is to add a new field moderator_name in the data returned by the endpoint serving the data displayed by the databables
  • in that code, page.object_list contains instances of AddForgeRequest django model (grep for it) to serialize and send for display with datatables
  • to get the last moderator name, you need to get the list of AddForgeRequestHistory django models associated to each AddForgeRequest model to display (see that example to get the full history for a request) filtered by actor_role being MODERATOR
  • as in our case we need to fetch history for multiple requests, you should be able to do that query in an efficient way using django queryset api
  • once you get the moderators for each request, you need to insert a moderator_name field in the AddForgeRequest serialized data and display that new field in the datatables
Apr 26 2022, 4:27 PM
anlambert added inline comments to D7685: Revert long_description_content_type to 'text/x-rst'.
Apr 26 2022, 3:08 PM
anlambert added inline comments to D7685: Revert long_description_content_type to 'text/x-rst'.
Apr 26 2022, 3:05 PM
anlambert closed D7649: maven: Remove duplicated code related to setting instance from netloc.
Apr 26 2022, 10:58 AM
anlambert committed rDLS334c54091e85: maven: Remove duplicated code related to setting instance from netloc (authored by anlambert).
maven: Remove duplicated code related to setting instance from netloc
Apr 26 2022, 10:58 AM

Apr 25 2022

anlambert updated the diff for D7649: maven: Remove duplicated code related to setting instance from netloc.

Rebase

Apr 25 2022, 5:31 PM
anlambert committed rDWAPPSa03559571e47: browse/utils: Do not log decoding error to sentry in re_encode_content (authored by anlambert).
browse/utils: Do not log decoding error to sentry in re_encode_content
Apr 25 2022, 5:13 PM
anlambert committed rDWAPPS612be20c4257: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Apr 25 2022, 5:13 PM
anlambert closed D7648: assets/admin: Improve deposits datatables content.
Apr 25 2022, 5:13 PM
anlambert committed rDWAPPSe2686734c083: assets/admin: Improve deposits datatables content (authored by anlambert).
assets/admin: Improve deposits datatables content
Apr 25 2022, 5:13 PM
anlambert requested review of D7648: assets/admin: Improve deposits datatables content.
Apr 25 2022, 4:57 PM
anlambert requested review of D7649: maven: Remove duplicated code related to setting instance from netloc.
Apr 25 2022, 4:52 PM
anlambert added a revision to T3128: Improve deposit integration, management and display: D7648: assets/admin: Improve deposits datatables content.
Apr 25 2022, 4:35 PM · meta-task, Roadmap 2021, Monitoring, SWORD deposit, Web app
anlambert accepted D7644: db_utils: Make connect_to_conninfo use through contextmanager.
Apr 25 2022, 2:48 PM