Page MenuHomeSoftware Heritage
Feed Advanced Search

Jul 1 2021

anlambert closed D5955: cli: Deprecate auth command group.
Jul 1 2021, 3:45 PM
anlambert committed rDWCLId1f064f19645: cli: Deprecate auth command group (authored by anlambert).
cli: Deprecate auth command group
Jul 1 2021, 3:45 PM
anlambert requested review of D5955: cli: Deprecate auth command group.
Jul 1 2021, 3:35 PM
anlambert closed D5954: cli: Add commands to generate and revoke bearer tokens.
Jul 1 2021, 3:16 PM
anlambert committed rDAUTH2da72f399b4d: cli: Add commands to generate and revoke bearer tokens (authored by anlambert).
cli: Add commands to generate and revoke bearer tokens
Jul 1 2021, 3:16 PM
anlambert closed D5953: eslint: Activate prefer-const rule and apply fixes.
Jul 1 2021, 3:14 PM
anlambert committed rDWAPPS8af28bab9467: eslint: Activate prefer-const rule and apply fixes (authored by anlambert).
eslint: Activate prefer-const rule and apply fixes
Jul 1 2021, 3:14 PM
anlambert updated the diff for D5954: cli: Add commands to generate and revoke bearer tokens.

Update:

  • address @ardumont comments
  • add CLI section in swh-auth documentation
Jul 1 2021, 3:12 PM
anlambert closed T3077: Ease integration of fundraising campaigns as Resolved.

A fundraising campaign can now be easily created and configured from the WP admin dashboard, closing this.

Jul 1 2021, 2:23 PM · Community Building, Roadmap 2021, Website
anlambert added a revision to T1805: Public API v2: D4629: [POC] OpenAPI and Django REST Framework to specify / implement API v2.
Jul 1 2021, 1:45 PM · meta-task, Web app
anlambert updated the summary of D4629: [POC] OpenAPI and Django REST Framework to specify / implement API v2.
Jul 1 2021, 1:45 PM
anlambert requested review of D5953: eslint: Activate prefer-const rule and apply fixes.
Jul 1 2021, 12:12 PM
anlambert updated the summary of D5954: cli: Add commands to generate and revoke bearer tokens.
Jul 1 2021, 12:07 PM
anlambert requested review of D5954: cli: Add commands to generate and revoke bearer tokens.
Jul 1 2021, 12:02 PM
anlambert added a revision to T3385: Move `swh web auth` into a dedicated `swh auth` cli entrypoint: D5955: cli: Deprecate auth command group.
Jul 1 2021, 12:02 PM · Web client, Authentication
anlambert added a revision to T3385: Move `swh web auth` into a dedicated `swh auth` cli entrypoint: D5954: cli: Add commands to generate and revoke bearer tokens.
Jul 1 2021, 12:00 PM · Web client, Authentication

Jun 29 2021

anlambert committed rDWAPPS4d1963a74866: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Jun 29 2021, 2:55 PM
anlambert accepted D5939: Search inside the origin releases with name.

Looks good to me !

Jun 29 2021, 2:08 PM
anlambert added inline comments to D5939: Search inside the origin releases with name.
Jun 29 2021, 12:05 PM
anlambert added inline comments to D5939: Search inside the origin releases with name.
Jun 29 2021, 11:42 AM
anlambert requested changes to D5939: Search inside the origin releases with name.

Looks good but some code could be deduplicated before landing this. I also forgot to tell you during last review that we must update copyright headers years when modifying source files (see inline comments).

Jun 29 2021, 11:10 AM

Jun 28 2021

anlambert added inline comments to D5934: Add endpoint raw_extrinsic_metadata_get_authorities.
Jun 28 2021, 5:16 PM
anlambert accepted D5934: Add endpoint raw_extrinsic_metadata_get_authorities.
Jun 28 2021, 4:57 PM
anlambert added a comment to D5934: Add endpoint raw_extrinsic_metadata_get_authorities.

Looks good to me except I have a doubt on a parameter type (see inline comment). I will accept the diff after it has been checked.

Jun 28 2021, 4:32 PM
anlambert accepted D5931: hypothesis_strategies: generate non-ASCII IRIs for origin and authority 'urls'..
Jun 28 2021, 1:56 PM
anlambert accepted D5905: Search inside the origin branches with name.

Looks good to me, thanks ! There is still a typo remaining on an exception name, see inline comment.

Jun 28 2021, 1:32 PM
anlambert added inline comments to D5905: Search inside the origin branches with name.
Jun 28 2021, 12:11 PM
anlambert requested changes to D5905: Search inside the origin branches with name.

I added a couple of comments to handle and we should be able to land this afterwards.

Jun 28 2021, 11:35 AM

Jun 25 2021

anlambert accepted D5930: hypothesis_strategies: Restrict size and alphabets for metadata_fetchers and raw_extrinsic_metadata.
Jun 25 2021, 5:14 PM
anlambert planned changes to D5819: assets/webapp: Add UI guided tour.

Close to a first guided tour draft to be deployed for staff and ambassador reviews.

Jun 25 2021, 5:14 PM
anlambert accepted D5921: Make api_raw_extrinsic_metadata_get set Content-disposition.
Jun 25 2021, 4:52 PM
anlambert updated the diff for D5819: assets/webapp: Add UI guided tour.

Update:

  • Improve js code coverage
  • Add login step to homepage tour
Jun 25 2021, 4:51 PM
anlambert committed rCJSWHf25be19e86ba: templates/cypress-tests: Fix uploaded mochawesome HTML report display (authored by anlambert).
templates/cypress-tests: Fix uploaded mochawesome HTML report display
Jun 25 2021, 1:48 PM
anlambert closed D5923: templates/cypress-tests: Fix tests and code coverage reports.
Jun 25 2021, 1:48 PM
anlambert committed rCJSWHcde15648cb2f: templates/cypress-tests: Fix code coverage data generation (authored by anlambert).
templates/cypress-tests: Fix code coverage data generation
Jun 25 2021, 1:48 PM
anlambert added a reviewer for D5923: templates/cypress-tests: Fix tests and code coverage reports: Reviewers.
Jun 25 2021, 1:46 PM
anlambert requested review of D5923: templates/cypress-tests: Fix tests and code coverage reports.
Jun 25 2021, 1:44 PM
anlambert accepted D5896: save code now: Simplify the request status update computation.

Looks good to me ! Thanks, the save code now handling code definitely needed some cleanup after all those years.

Jun 25 2021, 11:28 AM · Save Code Now
anlambert accepted D5875: Add an endpoint to list and access raw extrinsic metadata..

Looks good to me ! Time to tag swh-storage in order for the build to succeed.

Jun 25 2021, 11:11 AM

Jun 23 2021

anlambert planned changes to D5819: assets/webapp: Add UI guided tour.
Jun 23 2021, 5:43 PM
anlambert accepted D5915: elasticsearch.py: Improve readability of painless script.

Great, thanks !

Jun 23 2021, 5:21 PM
anlambert updated the diff for D5819: assets/webapp: Add UI guided tour.

Update:

  • Rebase
  • Reorganize code
  • Restrict guided tour launch to staff and ambassador users
  • Add cypress tests
  • Comment code
Jun 23 2021, 5:18 PM
anlambert accepted D5883: Setup storage and store last revision/release date.

Looks good to me, thanks !

Jun 23 2021, 4:36 PM
anlambert accepted D5912: .gitignore: Add .vscode/.

Thanks !

Jun 23 2021, 2:11 PM
anlambert added a comment to T3127: Compute and display distribution of origins by forge.

I guess the cli to update metrics is executed periodically in production ?

I don't think that they are yet but that just got a priority increase now ;)

Jun 23 2021, 2:08 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert closed D5913: jobs/swh-packages: Add swh-py-template build jobs.
Jun 23 2021, 2:03 PM
anlambert committed rCJSWHd8eeee0638f6: jobs/swh-packages: Add swh-py-template build jobs (authored by anlambert).
jobs/swh-packages: Add swh-py-template build jobs
Jun 23 2021, 2:03 PM
anlambert requested review of D5913: jobs/swh-packages: Add swh-py-template build jobs.
Jun 23 2021, 2:00 PM
anlambert added a comment to D5883: Setup storage and store last revision/release date.

Can you also please also take care of updating it at the same time?

Sure. I just created D5912

Also @vlorentz and @vsellier should validate the review too as they are your official GSOC mentors.

Both of them have already reviewed this diff.

Jun 23 2021, 1:47 PM
anlambert added a comment to T3127: Compute and display distribution of origins by forge.

The existing scheduler metrics are probably not complete enough for all we want to display (we should review them so they are), but the swh.scheduler journal client already gathers all the information needed, so we > should be able to compute all that we need from the scheduler tables.

Jun 23 2021, 12:49 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert added a comment to T3127: Compute and display distribution of origins by forge.

After more thoughts about all those metrics, we could revamp the coverage widget into two tabs:

  • one tab displaying metrics about loaded origins with detailed counts by forge and links to search interface to browse them
  • one tab displaying metrics about listed origins from the data extracted from the scheduler database
Jun 23 2021, 12:13 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert added a comment to T3127: Compute and display distribution of origins by forge.
Jun 23 2021, 12:05 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert added a comment to T3127: Compute and display distribution of origins by forge.

@anlambert @rdicosmo

For information, discussing with @olasd, he reminded me that we had already a cli entrypoint [1]
to compute stats about what we want scheduler side.

What's missing implementation wise would be to expose an endpoint to actually display said information.

So, the question is, even though the implementation swh.counter started, do we really want that there
or this ^ scheduler side would be enough?

[1] https://forge.softwareheritage.org/source/swh-scheduler/browse/master/swh/scheduler/cli/origin.py$148-182

Jun 23 2021, 12:04 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert triaged T3403: Use forge URL network location as default lister instance name as Normal priority.
Jun 23 2021, 11:47 AM · Scheduling utilities, Lister
anlambert triaged T3402: Deploy swh-counters v0.8.0 and backfill origins as Normal priority.
Jun 23 2021, 11:13 AM · Counters, System administration, Metrics/monitoring
anlambert requested changes to D5883: Setup storage and store last revision/release date.

@KShivendu, code looks good to me now. Before landing this, you should squash all commits into a single one and improve commit message style following that guide.

Jun 23 2021, 11:06 AM
anlambert added a comment to D5883: Setup storage and store last revision/release date.

Is it okay if I add .vscode in .gitignore. It often gets included by mistake. swh-indexer, swh-storage and swh-web already have it in their .gitignore files.

I guess it's fine if it's already in other modules.
And we should also add it in the .gitignore template repository [1].
Can you also please also take care of updating it at the same time?

[1] https://forge.softwareheritage.org/source/swh-py-template/

Jun 23 2021, 10:57 AM

Jun 22 2021

anlambert closed D5910: journal_client: Add origins processing.
Jun 22 2021, 5:35 PM
anlambert committed rDCNTcd595e71aef4: journal_client: Add origins processing (authored by anlambert).
journal_client: Add origins processing
Jun 22 2021, 5:35 PM
anlambert closed D5909: tests/journal_client: Use pytest-redis fixture instead of mocks.
Jun 22 2021, 5:35 PM
anlambert committed rDCNTa3ea67faa9b9: tests/journal_client: Use pytest-redis fixture instead of mocks (authored by anlambert).
tests/journal_client: Use pytest-redis fixture instead of mocks
Jun 22 2021, 5:35 PM
anlambert committed rDCNT3ca6281567f1: debian/control: Add python3-hypothesis build dependency (authored by anlambert).
debian/control: Add python3-hypothesis build dependency
Jun 22 2021, 5:34 PM
anlambert updated the diff for D5910: journal_client: Add origins processing.

Rebase

Jun 22 2021, 5:25 PM
anlambert updated the diff for D5909: tests/journal_client: Use pytest-redis fixture instead of mocks.

Remove no longer used constant

Jun 22 2021, 5:24 PM
anlambert added inline comments to D5909: tests/journal_client: Use pytest-redis fixture instead of mocks.
Jun 22 2021, 5:22 PM
anlambert closed D5907: interface: Add get_listers method.
Jun 22 2021, 5:09 PM
anlambert committed rDSCH7f51f274ed4c: interface: Add get_listers method (authored by anlambert).
interface: Add get_listers method
Jun 22 2021, 5:09 PM
anlambert updated the diff for D5910: journal_client: Add origins processing.

Rebase

Jun 22 2021, 5:05 PM
anlambert updated the diff for D5909: tests/journal_client: Use pytest-redis fixture instead of mocks.

Rebase

Jun 22 2021, 5:04 PM
anlambert closed D5908: journal_client: Use CountersInterface for counters typing.
Jun 22 2021, 5:00 PM
anlambert committed rDCNTd4ce0c497f87: journal_client: Use CountersInterface for counters typing (authored by anlambert).
journal_client: Use CountersInterface for counters typing
Jun 22 2021, 5:00 PM
anlambert requested review of D5910: journal_client: Add origins processing.
Jun 22 2021, 4:52 PM
anlambert added a revision to T3127: Compute and display distribution of origins by forge: D5910: journal_client: Add origins processing.
Jun 22 2021, 4:50 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert requested review of D5909: tests/journal_client: Use pytest-redis fixture instead of mocks.
Jun 22 2021, 3:26 PM
anlambert requested review of D5908: journal_client: Use CountersInterface for counters typing.
Jun 22 2021, 3:08 PM
anlambert requested review of D5907: interface: Add get_listers method.
Jun 22 2021, 2:39 PM
anlambert added a revision to T3127: Compute and display distribution of origins by forge: D5907: interface: Add get_listers method.
Jun 22 2021, 2:36 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert added a comment to T3127: Compute and display distribution of origins by forge.

Nice to see this moving forward!

These entries in the counter log look suspicious, though, they are not origins:

b'atlassian@bitbucket.org' 2
b'taylorhakes@github.com' 2
b'bunnyhero@bitbucket.org' 1
b'dtrebbien@bitbucket.org' 1
b'eldargab@github.com' 1
b'git@github.com' 1
b'schierlm@git.code.sf.net' 1
b'tomakehurst@github.com' 1
b'wenshao@github.com' 1
b'zimbra-mirror@bitbucket.org' 1
Jun 22 2021, 2:05 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert added inline comments to D5905: Search inside the origin branches with name.
Jun 22 2021, 12:43 PM
anlambert requested changes to D5905: Search inside the origin branches with name.

Thanks for working on that task ! Feature seems to work as expected but some improvements can be added before landing this (see my inline comments).

Jun 22 2021, 12:42 PM
anlambert added a comment to T3127: Compute and display distribution of origins by forge.

Regarding this, to ease the mapping between a lister and an instance name, we may want to rework the instance names in the scheduler
model (listers table) so that the value is actually the netloc of the origin.

Jun 22 2021, 12:18 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert added a comment to T3127: Compute and display distribution of origins by forge.

After some analysis, the data we need to properly implement this are:

  • the set of lister names and their instance names in order to organize origins by forge types (gitlab, cgit, sourceforge, ...)
  • a precise or estimated count for the origins listed by a given lister instance
Jun 22 2021, 12:07 PM · Metrics/monitoring, Web app, Roadmap 2021, meta-task
anlambert requested changes to D5883: Setup storage and store last revision/release date.

Almost there ! Some minor changes can still be added before landing this. Regarding my comment about the painless script formatting, it can be handled in another diff.

Jun 22 2021, 10:59 AM

Jun 21 2021

anlambert accepted D5885: Add support for (topological) branches and merges in generate_repo.py.

Looks good to me !

Jun 21 2021, 4:40 PM
anlambert added inline comments to D5899: swh-model: get SWHID from Content/Directory objects in from_disk.
Jun 21 2021, 4:34 PM
anlambert updated the language for P1074 Tarballs archiving script from autodetect to python.
Jun 21 2021, 2:02 PM
anlambert created P1074 Tarballs archiving script.
Jun 21 2021, 2:02 PM

Jun 18 2021

anlambert planned changes to D5819: assets/webapp: Add UI guided tour.
Jun 18 2021, 4:42 PM
anlambert updated the diff for D5819: assets/webapp: Add UI guided tour.

Update:

  • Put guided tour steps in a YAML file to ease writing of help texts
  • Add homepage guided tour
Jun 18 2021, 4:30 PM
anlambert accepted D5897: docs: Update tox.ini to build the "users" sphinx instance.
Jun 18 2021, 3:59 PM
anlambert accepted D5898: docs: Update build to deploy the "users" sphinx instance.
Jun 18 2021, 3:59 PM
anlambert added inline comments to D5883: Setup storage and store last revision/release date.
Jun 18 2021, 2:12 PM
anlambert added inline comments to D5875: Add an endpoint to list and access raw extrinsic metadata..
Jun 18 2021, 11:56 AM
anlambert added inline comments to D5875: Add an endpoint to list and access raw extrinsic metadata..
Jun 18 2021, 11:50 AM
anlambert added inline comments to D5875: Add an endpoint to list and access raw extrinsic metadata..
Jun 18 2021, 11:46 AM
anlambert requested changes to D5883: Setup storage and store last revision/release date.
Jun 18 2021, 11:28 AM
anlambert closed D5889: requirements-server: Pin psycopg2 to < 2.9.
Jun 18 2021, 10:43 AM
anlambert committed rDDEP51d5c9998c57: requirements-server: Pin psycopg2 to < 2.9 (authored by anlambert).
requirements-server: Pin psycopg2 to < 2.9
Jun 18 2021, 10:43 AM

Jun 17 2021

anlambert requested review of D5889: requirements-server: Pin psycopg2 to < 2.9.
Jun 17 2021, 7:17 PM
anlambert added inline comments to D5875: Add an endpoint to list and access raw extrinsic metadata..
Jun 17 2021, 1:54 PM