Page MenuHomeSoftware Heritage
Feed Advanced Search

Feb 3 2022

anlambert requested review of D7077: svn: Optimize propget performance after checkout.
Feb 3 2022, 4:50 PM
anlambert added a revision to T611: support for external definitions in the svn/subversion loader: D7077: svn: Optimize propget performance after checkout.
Feb 3 2022, 4:48 PM · SVN Loader
anlambert updated the diff for D7073: auth: Add UserMailmap model and edition endpoints.

Rebase

Feb 3 2022, 4:35 PM
anlambert closed D7076: archive: Pass limit as a keyword parameter to storage.revision_log.
Feb 3 2022, 4:35 PM
anlambert committed rDWAPPSeebb27ebdb44: archive: Pass limit as a keyword parameter to storage.revision_log (authored by anlambert).
archive: Pass limit as a keyword parameter to storage.revision_log
Feb 3 2022, 4:35 PM
anlambert added a comment to D7073: auth: Add UserMailmap model and edition endpoints.

Test failures are not related to these changes, need to investigate.

Feb 3 2022, 4:04 PM
anlambert created P1274 (An Untitled Masterwork).
Feb 3 2022, 3:56 PM
anlambert added a comment to D7073: auth: Add UserMailmap model and edition endpoints.

Build has FAILED

Patch application report for D7073 (id=25665)

Rebasing onto f990d789aa...

Current branch diff-target is up to date.
Changes applied before test
commit ca9ef5d15a350f9f609859e22e335798a4383d96
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Thu Feb 3 13:47:43 2022 +0100

    auth: Add UserMailmap model and edition endpoints
    
    Add a new database table to store mailmap settings that will be
    used to add display names for an authors that can be found in the
    archive.
    
    Add endpoints to add or update these mailmap settings restricted
    to staff users or users with special permission.
    They will be used in the upcoming Web UI to manage mailmaps.

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

Feb 3 2022, 3:47 PM
anlambert updated the diff for D7073: auth: Add UserMailmap model and edition endpoints.

Remove endpoints access to staff users.

Feb 3 2022, 3:43 PM
anlambert added inline comments to D7073: auth: Add UserMailmap model and edition endpoints.
Feb 3 2022, 3:38 PM
anlambert added inline comments to D7073: auth: Add UserMailmap model and edition endpoints.
Feb 3 2022, 3:38 PM
anlambert added a comment to T3906: Create in keycloak the swh-deposit-moderator role.

Only the deposit clients mapping is missing.

Feb 3 2022, 3:29 PM · Web app, SWORD deposit
anlambert added a comment to T3906: Create in keycloak the swh-deposit-moderator role.

The existing swh.web.admin.list_deposits role seems to correspond to the feature described in the task.

Feb 3 2022, 3:08 PM · Web app, SWORD deposit
anlambert added a comment to T3906: Create in keycloak the swh-deposit-moderator role.

I found it back not on the swh-deposit role but on the swh-web role... that's why i got lost.

Feb 3 2022, 3:04 PM · Web app, SWORD deposit
anlambert added a comment to T3906: Create in keycloak the swh-deposit-moderator role.

TTBOMK, it was instrospecting the connected user's keycloak role... but now i'm confused
when i read the code for that part. [1]

[1] https://forge.softwareheritage.org/source/swh-web/browse/master/swh/web/admin/deposit.py$19-30

[2] both staging and prod swh-web db

Feb 3 2022, 2:58 PM · Web app, SWORD deposit

Feb 2 2022

anlambert accepted D7065: git_bare: Pass model objects instead of dicts..

Looks good to me.

Feb 2 2022, 2:37 PM
anlambert committed rDWAPPSf990d789aa67: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Feb 2 2022, 11:30 AM
anlambert committed rDWAPPSad3cbd915226: cypress: Fix flaky test (authored by anlambert).
cypress: Fix flaky test
Feb 2 2022, 11:30 AM

Jan 31 2022

anlambert committed rDWAPPS2a4497784cb7: templates/layout: Remove fundraising banner integration (authored by anlambert).
templates/layout: Remove fundraising banner integration
Jan 31 2022, 6:46 PM
anlambert committed rDWAPPS412f27e3daf6: Revert "templates/layout: Hide donate link temporarily" (authored by anlambert).
Revert "templates/layout: Hide donate link temporarily"
Jan 31 2022, 6:46 PM
anlambert added a reverting change for rDWAPPS615ef02ed985: templates/layout: Hide donate link temporarily: rDWAPPS412f27e3daf6: Revert "templates/layout: Hide donate link temporarily".
Jan 31 2022, 6:46 PM
anlambert added a comment to T3870: Analyze svn externals repository ingestion with loader.svn v1.0.
Jan 31 2022, 1:21 PM · SVN Loader

Jan 28 2022

anlambert closed T3845: Requesting cooking with email address + "Enter " key returns an error as Resolved.

Fixed and deployed.

Jan 28 2022, 4:56 PM · Web app
anlambert closed T3848: Activate saved origin browse link only when loading data are available in database as Resolved.

Fixed and deployed.

Jan 28 2022, 4:56 PM · Save Code Now, Web app
anlambert closed D7047: replay: Also use revision parameter when calling client.info.
Jan 28 2022, 4:18 PM
anlambert committed rDLDSVN87e98c14b301: replay: Also use revision parameter when calling client.info (authored by anlambert).
replay: Also use revision parameter when calling client.info
Jan 28 2022, 4:18 PM
anlambert requested review of D7047: replay: Also use revision parameter when calling client.info.
Jan 28 2022, 4:05 PM
anlambert added a revision to T611: support for external definitions in the svn/subversion loader: D7047: replay: Also use revision parameter when calling client.info.
Jan 28 2022, 4:03 PM · SVN Loader
anlambert closed D7044: assets/save: Add origin browse link only for valid visit statuses.
Jan 28 2022, 3:38 PM
anlambert committed rDWAPPSd91cacc70124: assets/save: Add origin browse link only for valid visit statuses (authored by anlambert).
assets/save: Add origin browse link only for valid visit statuses
Jan 28 2022, 3:38 PM
anlambert closed D7040: assets/vault: Trigger task creation when hitting enter key on modals.
Jan 28 2022, 3:38 PM
anlambert committed rDWAPPS07a63d61920e: assets/vault: Trigger task creation when hitting enter key on modals (authored by anlambert).
assets/vault: Trigger task creation when hitting enter key on modals
Jan 28 2022, 3:38 PM
anlambert triaged T3896: Properly handle loading of repository sub-tree as Normal priority.
Jan 28 2022, 2:45 PM · SVN Loader
anlambert added a comment to T3875: Deploy loader.svn v1.1 and analyze remaining errors.

Below are the results of the loading of the subversion origins listed above, I used a filtered version of the webapp database on staging.

13:36 $ sqlite3 swh/web/settings/db.sqlite3 
SQLite version 3.34.1 2021-01-20 14:10:07
Enter ".help" for usage hints.
sqlite> select visit_status, count(*) from save_origin_request group by visit_status;
failed|18
full|76
partial|83

So 76 origins that could not be fully loaded with swh-loader-svn v1.0.0 are now correctly processed with v1.1.0.

Jan 28 2022, 1:49 PM · System administration, SVN Loader

Jan 27 2022

anlambert added inline comments to D7040: assets/vault: Trigger task creation when hitting enter key on modals.
Jan 27 2022, 11:15 AM

Jan 26 2022

anlambert requested review of D7044: assets/save: Add origin browse link only for valid visit statuses.
Jan 26 2022, 4:54 PM
anlambert added a revision to T3848: Activate saved origin browse link only when loading data are available in database: D7044: assets/save: Add origin browse link only for valid visit statuses.
Jan 26 2022, 4:34 PM · Save Code Now, Web app
anlambert closed D7043: loader: Fix if condition in SvnLoaderFromRemoteDump.dump_revisions.
Jan 26 2022, 4:26 PM
anlambert closed D7042: replay: Fix links restoration in DirEditor.remove_external_path.
Jan 26 2022, 4:26 PM
anlambert committed rDLDSVN2bbbd6f99f9c: replay: Fix links restoration in DirEditor.remove_external_path (authored by anlambert).
replay: Fix links restoration in DirEditor.remove_external_path
Jan 26 2022, 4:25 PM
anlambert committed rDLDSVNda1a81bbdb01: loader: Fix if condition in SvnLoaderFromRemoteDump.dump_revisions (authored by anlambert).
loader: Fix if condition in SvnLoaderFromRemoteDump.dump_revisions
Jan 26 2022, 4:25 PM
anlambert closed D7041: svn: Ignore externals parsing related errors when exporting.
Jan 26 2022, 4:25 PM
anlambert committed rDLDSVN34f61cb58157: svn: Ignore externals parsing related errors when exporting (authored by anlambert).
svn: Ignore externals parsing related errors when exporting
Jan 26 2022, 4:25 PM
anlambert updated the summary of D7043: loader: Fix if condition in SvnLoaderFromRemoteDump.dump_revisions.
Jan 26 2022, 3:54 PM
anlambert requested review of D7043: loader: Fix if condition in SvnLoaderFromRemoteDump.dump_revisions.
Jan 26 2022, 3:53 PM
anlambert requested review of D7042: replay: Fix links restoration in DirEditor.remove_external_path.
Jan 26 2022, 3:38 PM
anlambert requested review of D7041: svn: Ignore externals parsing related errors when exporting.
Jan 26 2022, 3:33 PM
anlambert added a revision to T3875: Deploy loader.svn v1.1 and analyze remaining errors: D7041: svn: Ignore externals parsing related errors when exporting.
Jan 26 2022, 3:31 PM · System administration, SVN Loader
anlambert requested review of D7040: assets/vault: Trigger task creation when hitting enter key on modals.
Jan 26 2022, 3:28 PM
anlambert renamed T3875: Deploy loader.svn v1.1 and analyze remaining errors from staging: Deploy loader.svn v1.1 to staging: Deploy loader.svn v1.1 and analyze remaining errors.
Jan 26 2022, 3:27 PM · System administration, SVN Loader
anlambert added a revision to T3845: Requesting cooking with email address + "Enter " key returns an error: D7040: assets/vault: Trigger task creation when hitting enter key on modals.
Jan 26 2022, 3:09 PM · Web app
anlambert closed D7034: common/origin_save: Fix extraction of elasticsearch document fields.
Jan 26 2022, 1:58 PM
anlambert committed rDWAPPS0733a8de5b10: common/origin_save: Fix extraction of elasticsearch document fields (authored by anlambert).
common/origin_save: Fix extraction of elasticsearch document fields
Jan 26 2022, 1:58 PM
anlambert updated the diff for D7034: common/origin_save: Fix extraction of elasticsearch document fields.

Rebase

Jan 26 2022, 1:37 PM
anlambert committed rDWAPPS54abba37bde4: tests: Fix flaky test introduced in 7ea3aab33ed8 (authored by anlambert).
tests: Fix flaky test introduced in 7ea3aab33ed8
Jan 26 2022, 1:36 PM
anlambert updated the diff for D7034: common/origin_save: Fix extraction of elasticsearch document fields.

Rebase

Jan 26 2022, 11:22 AM
anlambert committed rDWAPPS7ea3aab33ed8: assets/highlightjs: Add new languages to highlight and fix some issues (authored by anlambert).
assets/highlightjs: Add new languages to highlight and fix some issues
Jan 26 2022, 11:22 AM
anlambert committed rDWAPPSed31490a3599: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Jan 26 2022, 11:22 AM
anlambert closed D7032: assets/highlightjs: Add new languages to highlight and fix some issues.
Jan 26 2022, 11:22 AM
anlambert committed rDWAPPSbce990970824: webpack/weblabels-plugin: Read package.json file only when required (authored by anlambert).
webpack/weblabels-plugin: Read package.json file only when required
Jan 26 2022, 11:22 AM
anlambert added inline comments to D7032: assets/highlightjs: Add new languages to highlight and fix some issues.
Jan 26 2022, 11:18 AM

Jan 25 2022

anlambert abandoned D7037: package.json: Upgrade dependencies.

Build passed on Jenkins, great ! Abandoning this, will land it later.

Jan 25 2022, 5:07 PM
anlambert requested review of D7037: package.json: Upgrade dependencies.
Jan 25 2022, 5:02 PM
anlambert requested review of D7032: assets/highlightjs: Add new languages to highlight and fix some issues.
Jan 25 2022, 4:40 PM
anlambert requested review of D7034: common/origin_save: Fix extraction of elasticsearch document fields.
Jan 25 2022, 4:13 PM
anlambert closed T3870: Analyze svn externals repository ingestion with loader.svn v1.0, a subtask of T3864: staging: Deploy swh.loader.svn v1.0.0, as Resolved.
Jan 25 2022, 11:50 AM · System administration, SVN Loader
anlambert closed T3870: Analyze svn externals repository ingestion with loader.svn v1.0 as Resolved.

swh-loader-svn v1.1.0 has been released, new tests have been scheduled on staging (T3875#77706).

Jan 25 2022, 11:50 AM · SVN Loader
anlambert added a comment to T3875: Deploy loader.svn v1.1 and analyze remaining errors.

Subversion origins that failed to load or with a partial visit status when using swh-loader-svn v1.0.0 (T3870#77580)
have been resubmitted on staging to check how many can now be fully loaded using swh-loader-svn v1.1.0.

Jan 25 2022, 11:49 AM · System administration, SVN Loader

Jan 24 2022

anlambert added a comment to T3870: Analyze svn externals repository ingestion with loader.svn v1.0.

Sentry issue: SWH-LOADER-SVN-4Z

Jan 24 2022, 6:11 PM · SVN Loader
anlambert closed D7027: replay: Handle recursive external definition.
Jan 24 2022, 5:58 PM
anlambert committed rDLDSVNafdee6dbee9b: replay: Handle recursive external definition (authored by anlambert).
replay: Handle recursive external definition
Jan 24 2022, 5:58 PM
anlambert added inline comments to D7027: replay: Handle recursive external definition.
Jan 24 2022, 5:57 PM
anlambert updated the diff for D7027: replay: Handle recursive external definition.

Slightly rephrase comment

Jan 24 2022, 5:56 PM
anlambert updated the diff for D7027: replay: Handle recursive external definition.

Update: Fix recursive external detection on incremental loading.

Jan 24 2022, 5:03 PM
anlambert requested review of D7027: replay: Handle recursive external definition.
Jan 24 2022, 3:40 PM
anlambert added a revision to T3870: Analyze svn externals repository ingestion with loader.svn v1.0: D7027: replay: Handle recursive external definition.
Jan 24 2022, 3:38 PM · SVN Loader
anlambert added a comment to T3870: Analyze svn externals repository ingestion with loader.svn v1.0.

All loading tasks submitted on staging last week got executed. Below are the results after updating the staging webapp database in my local environment:

(swh) ✔ ~/swh/swh-environment/swh-web [master|⚑ 106] 
11:10 $ sqlite3 swh/web/settings/db.sqlite3 
SQLite version 3.34.1 2021-01-20 14:10:07
Enter ".help" for usage hints.
sqlite> select visit_status, count(*) from save_origin_request group by visit_status;
failed|26
full|711
not_found|3
partial|153
Jan 24 2022, 12:00 PM · SVN Loader

Jan 21 2022

anlambert closed D7019: replay: Fix detection of external paths to remove.
Jan 21 2022, 6:34 PM
anlambert committed rDLDSVN3e4d5d7cc9d7: replay: Fix detection of external paths to remove (authored by anlambert).
replay: Fix detection of external paths to remove
Jan 21 2022, 6:34 PM
anlambert closed D7017: replay: Robustify external path removal implementation.
Jan 21 2022, 6:34 PM
anlambert committed rDLDSVN4568f71b9836: replay: Robustify external path removal implementation (authored by anlambert).
replay: Robustify external path removal implementation
Jan 21 2022, 6:34 PM
anlambert closed D7015: replay: Use peg_rev parameter of client.export instead of rev.
Jan 21 2022, 6:34 PM
anlambert committed rDLDSVNeb34b0c059ea: replay: Use peg_rev parameter of client.export instead of rev (authored by anlambert).
replay: Use peg_rev parameter of client.export instead of rev
Jan 21 2022, 6:34 PM
anlambert added a comment to T3870: Analyze svn externals repository ingestion with loader.svn v1.0.

Sentry issue: SWH-LOADER-SVN-55

Jan 21 2022, 6:21 PM · SVN Loader
anlambert updated the summary of D7017: replay: Robustify external path removal implementation.
Jan 21 2022, 6:20 PM
anlambert added a comment to T3870: Analyze svn externals repository ingestion with loader.svn v1.0.

Sentry issue: SWH-LOADER-SVN-4Z

Jan 21 2022, 6:01 PM · SVN Loader
anlambert added a comment to T3870: Analyze svn externals repository ingestion with loader.svn v1.0.

Sentry issue: SWH-LOADER-SVN-57

Jan 21 2022, 5:53 PM · SVN Loader
anlambert updated the summary of D7017: replay: Robustify external path removal implementation.
Jan 21 2022, 5:52 PM
anlambert added a comment to T3870: Analyze svn externals repository ingestion with loader.svn v1.0.

Sentry issue: SWH-LOADER-SVN-2Y

Jan 21 2022, 5:47 PM · SVN Loader
anlambert requested review of D7019: replay: Fix detection of external paths to remove.
Jan 21 2022, 5:46 PM
anlambert added a revision to T3870: Analyze svn externals repository ingestion with loader.svn v1.0: D7019: replay: Fix detection of external paths to remove.
Jan 21 2022, 5:44 PM · SVN Loader
anlambert requested review of D7017: replay: Robustify external path removal implementation.
Jan 21 2022, 5:07 PM
anlambert added a comment to T3870: Analyze svn externals repository ingestion with loader.svn v1.0.

Sentry issue: SWH-LOADER-SVN-53

Jan 21 2022, 5:06 PM · SVN Loader
anlambert added a comment to T3870: Analyze svn externals repository ingestion with loader.svn v1.0.

Sentry issue: SWH-LOADER-SVN-4Y

Jan 21 2022, 4:44 PM · SVN Loader
anlambert requested review of D7015: replay: Use peg_rev parameter of client.export instead of rev.
Jan 21 2022, 4:44 PM
anlambert added a revision to T3870: Analyze svn externals repository ingestion with loader.svn v1.0: D7015: replay: Use peg_rev parameter of client.export instead of rev.
Jan 21 2022, 4:42 PM · SVN Loader
anlambert closed D7013: utils: Handle new edge cases in parse_external_definition.
Jan 21 2022, 4:19 PM
anlambert committed rDLDSVNe6e733005d12: utils: Handle new edge cases in parse_external_definition (authored by anlambert).
utils: Handle new edge cases in parse_external_definition
Jan 21 2022, 4:19 PM
anlambert updated the diff for D7013: utils: Handle new edge cases in parse_external_definition.

Simplify regexp.

Jan 21 2022, 4:13 PM
anlambert added a comment to T3870: Analyze svn externals repository ingestion with loader.svn v1.0.

Sentry issue: SWH-LOADER-SVN-50

Jan 21 2022, 3:41 PM · SVN Loader