Page MenuHomeSoftware Heritage
Feed All Stories

Jan 27 2021

vsellier updated the diff for D4954: cgit: Don't stop the listing when a repository page is not available.

Use an exception to validate a repo page can be accessed

Jan 27 2021, 2:54 PM
ardumont added a comment to D4954: cgit: Don't stop the listing when a repository page is not available.

Less code to modify and easier to read and understand the intended behavior from my point of view.

Jan 27 2021, 2:46 PM
anlambert added a comment to D4954: cgit: Don't stop the listing when a repository page is not available.

You should rather catch the requests.exceptions.HTTPError originally raised by _get_and_parse method.

picture me curious, why?

(it's missing the eventual logging.warning instruction but its use is debatable as well ;)

Jan 27 2021, 2:38 PM
ardumont changed the status of T2998: Deploy lister next-gen in staging from Open to Work in Progress.
Jan 27 2021, 2:36 PM · System administration, Lister
ardumont added a comment to D4954: cgit: Don't stop the listing when a repository page is not available.

You should rather catch the requests.exceptions.HTTPError originally raised by _get_and_parse method.

Jan 27 2021, 2:27 PM
swh-public-ci added a comment to D4954: cgit: Don't stop the listing when a repository page is not available.

Build is green

Jan 27 2021, 2:26 PM
vsellier closed D4953: cgit: Add support for last_update information during listing.
Jan 27 2021, 2:24 PM
vsellier committed rDLS91fcde83410d: cgit: Add support for last_update information during listing (authored by vsellier).
cgit: Add support for last_update information during listing
Jan 27 2021, 2:24 PM
anlambert requested changes to D4954: cgit: Don't stop the listing when a repository page is not available.

You should rather catch the requests.exceptions.HTTPError originally raised by _get_and_parse method.

Jan 27 2021, 2:24 PM
swh-public-ci added a comment to D4953: cgit: Add support for last_update information during listing.

Build is green

Jan 27 2021, 2:22 PM
vsellier updated the diff for D4954: cgit: Don't stop the listing when a repository page is not available.

rebase

Jan 27 2021, 2:19 PM
vsellier updated the diff for D4953: cgit: Add support for last_update information during listing.

Restore missing log when the date can't be parsed

Jan 27 2021, 2:18 PM
swh-public-ci added a comment to D4954: cgit: Don't stop the listing when a repository page is not available.

Build is green

Jan 27 2021, 2:10 PM
swh-public-ci added a comment to D4953: cgit: Add support for last_update information during listing.

Build is green

Jan 27 2021, 2:07 PM
vsellier updated the diff for D4954: cgit: Don't stop the listing when a repository page is not available.

rebase

Jan 27 2021, 2:04 PM
vsellier updated the diff for D4953: cgit: Add support for last_update information during listing.

Remove useless variable

Jan 27 2021, 2:03 PM
swh-public-ci added a comment to D4931: Add mapping of definitions and harvests.

Build is green

Jan 27 2021, 1:57 PM
TG1999 updated the diff for D4931: Add mapping of definitions and harvests.

Add mapping of definitions and harvests

Jan 27 2021, 1:56 PM
TG1999 requested review of D4931: Add mapping of definitions and harvests.
Jan 27 2021, 1:56 PM
anlambert triaged T2999: Optimize the number of HTTP requests sent by the cgit lister as Normal priority.
Jan 27 2021, 1:52 PM · CGit lister
ardumont closed T2994: Use keyset pagination in Gitlab lister as Resolved.
Jan 27 2021, 1:40 PM · Origin-GitLab, Lister
anlambert accepted D4953: cgit: Add support for last_update information during listing.

Looks good to me !

Jan 27 2021, 1:35 PM
vsellier requested review of D4954: cgit: Don't stop the listing when a repository page is not available.
Jan 27 2021, 12:47 PM
vsellier moved T2944: Deploy swh-search v0.4.1 from in-progress to deployed/landed/monitoring on the System administration board.
Jan 27 2021, 12:44 PM · System administration, Journal, Archive search
swh-public-ci added a comment to D4953: cgit: Add support for last_update information during listing.

Build is green

Jan 27 2021, 12:44 PM
vsellier added a revision to T2988: Improve cgit lister to add last modification date of the repos: D4954: cgit: Don't stop the listing when a repository page is not available.
Jan 27 2021, 12:42 PM · CGit lister, Lister
vsellier updated the diff for D4953: cgit: Add support for last_update information during listing.
  • Reorder methods
  • Adapt date parsing according the review
Jan 27 2021, 12:41 PM
ardumont added a comment to T2993: Deploy visit-stats journal client on production.

status:

  • backfill almost done on getty [1] [2]
Jan 27 2021, 12:37 PM · System administration, Scheduling utilities
anlambert requested changes to D4953: cgit: Add support for last_update information during listing.

Thanks for tackling this !

Jan 27 2021, 12:09 PM
ardumont moved T2941: hedgedoc: Detect and allow upgrade from Weekly backlog to Backlog on the System administration board.
Jan 27 2021, 11:50 AM · System administration
ardumont moved T2993: Deploy visit-stats journal client on production from code-review/await-feedback/pause to deployed/landed/monitoring on the System administration board.
Jan 27 2021, 11:50 AM · System administration, Scheduling utilities
ardumont moved T2993: Deploy visit-stats journal client on production from in-progress to code-review/await-feedback/pause on the System administration board.
Jan 27 2021, 11:50 AM · System administration, Scheduling utilities
ardumont moved T2993: Deploy visit-stats journal client on production from Weekly backlog to in-progress on the System administration board.
Jan 27 2021, 11:50 AM · System administration, Scheduling utilities
ardumont moved T2998: Deploy lister next-gen in staging from Backlog to Weekly backlog on the System administration board.
Jan 27 2021, 11:50 AM · System administration, Lister
ardumont added a project to T2998: Deploy lister next-gen in staging: System administration.
Jan 27 2021, 11:41 AM · System administration, Lister
ardumont added a project to T2998: Deploy lister next-gen in staging: Lister.
Jan 27 2021, 11:40 AM · System administration, Lister
ardumont updated the task description for T2998: Deploy lister next-gen in staging.
Jan 27 2021, 11:40 AM · System administration, Lister
ardumont triaged T2998: Deploy lister next-gen in staging as Normal priority.
Jan 27 2021, 11:38 AM · System administration, Lister
ardumont accepted D4951: Remove tests' journal_data.py in favor of the version in swh-model.

lgtm

Jan 27 2021, 11:07 AM
anlambert claimed T2992: Port launchpad lister to the new Lister API.
Jan 27 2021, 10:35 AM · Lister
swh-public-ci added a comment to D4951: Remove tests' journal_data.py in favor of the version in swh-model.

Build is green

Jan 27 2021, 10:34 AM
douardda updated the diff for D4951: Remove tests' journal_data.py in favor of the version in swh-model.

set the DeprecationWarning category in journal_data

Jan 27 2021, 10:32 AM
swh-public-ci added a comment to D4951: Remove tests' journal_data.py in favor of the version in swh-model.

Build is green

Jan 27 2021, 10:30 AM
douardda updated the diff for D4951: Remove tests' journal_data.py in favor of the version in swh-model.

remove stuff added mistakenly, and properly deprecate journal_data instead of breaking swh-storage

Jan 27 2021, 10:27 AM
ardumont accepted D4927: lister.docs: add a lister template for the new API.
Jan 27 2021, 10:06 AM · Sprint 2021 01, Lister
ardumont added a comment to D4927: lister.docs: add a lister template for the new API.

Looks good to me.

Jan 27 2021, 10:06 AM · Sprint 2021 01, Lister
douardda added inline comments to D4951: Remove tests' journal_data.py in favor of the version in swh-model.
Jan 27 2021, 10:00 AM
vsellier added a comment to T2944: Deploy swh-search v0.4.1.

To decrease the time to recover the lag, several journal client were launched in // with :

/usr/bin/swh search --config-file /etc/softwareheritage/search/journal_client_objects.yml journal-client objects
Jan 27 2021, 10:00 AM · System administration, Journal, Archive search
douardda added inline comments to D4951: Remove tests' journal_data.py in favor of the version in swh-model.
Jan 27 2021, 9:57 AM
douardda added inline comments to D4951: Remove tests' journal_data.py in favor of the version in swh-model.
Jan 27 2021, 9:54 AM
vsellier committed rSPREa7c9c625d98c: Allocate more memory to search1 (authored by vsellier).
Allocate more memory to search1
Jan 27 2021, 9:40 AM

Jan 26 2021

ardumont added a comment to T2993: Deploy visit-stats journal client on production.

Everything looks fine and visit-stats is growing gently:

Jan 26 2021, 7:08 PM · System administration, Scheduling utilities
ardumont closed T2987: Port gitlab lister to the new `swh.lister.pattern.Lister` API, a subtask of T2442: Provide a unified API for listers to interact with the scheduler, as Resolved.
Jan 26 2021, 7:06 PM · Sprint 2021 01, Scheduling utilities
ardumont closed T2987: Port gitlab lister to the new `swh.lister.pattern.Lister` API as Resolved.
Jan 26 2021, 7:06 PM · Lister
swh-public-ci added a comment to D4953: cgit: Add support for last_update information during listing.

Build is green

Jan 26 2021, 6:57 PM
swh-public-ci added a comment to D4953: cgit: Add support for last_update information during listing.

Build is green

Jan 26 2021, 6:53 PM
vsellier updated the diff for D4953: cgit: Add support for last_update information during listing.

Inline unecessary indirection

Jan 26 2021, 6:52 PM
swh-public-ci added a comment to D4731: WIP Configuration system.

Build is green

Jan 26 2021, 6:51 PM · feedback-required, Core & foundations
vsellier updated the diff for D4953: cgit: Add support for last_update information during listing.

Add missing test coverage

Jan 26 2021, 6:49 PM
tenma updated the diff for D4731: WIP Configuration system.

Rename "singleton" to "record"

Jan 26 2021, 6:49 PM · feedback-required, Core & foundations
vsellier requested review of D4953: cgit: Add support for last_update information during listing.
Jan 26 2021, 6:36 PM
vsellier added a revision to T2988: Improve cgit lister to add last modification date of the repos: D4953: cgit: Add support for last_update information during listing.
Jan 26 2021, 6:33 PM · CGit lister, Lister
vsellier changed the status of T2988: Improve cgit lister to add last modification date of the repos from Open to Work in Progress.
Jan 26 2021, 6:04 PM · CGit lister, Lister
ardumont requested changes to D4951: Remove tests' journal_data.py in favor of the version in swh-model.

for the sake of my questions

Jan 26 2021, 5:42 PM
anlambert closed D4952: tests/resources: Fix mypy 0.800 errors.
Jan 26 2021, 5:37 PM
anlambert committed rDWAPPSab5401d73db1: tests/resources: Fix mypy 0.800 errors (authored by anlambert).
tests/resources: Fix mypy 0.800 errors
Jan 26 2021, 5:37 PM
tenma closed D4949: tests: remove all unused conftests.
Jan 26 2021, 5:36 PM
ardumont accepted D4952: tests/resources: Fix mypy 0.800 errors.

(i don't know why or if it's sensible that the decorator got dropped though ;)

Jan 26 2021, 5:35 PM
douardda requested review of D4951: Remove tests' journal_data.py in favor of the version in swh-model.
Jan 26 2021, 5:32 PM
swh-public-ci added a comment to D4949: tests: remove all unused conftests.

Build is green

Jan 26 2021, 5:31 PM
anlambert closed D4925: debian: Reimplement lister using new Lister API.
Jan 26 2021, 5:30 PM
anlambert closed T2979: Port debian lister to the new Lister API, a subtask of T2442: Provide a unified API for listers to interact with the scheduler, as Resolved.
Jan 26 2021, 5:29 PM · Sprint 2021 01, Scheduling utilities
anlambert closed T2979: Port debian lister to the new Lister API as Resolved by committing rDLSbb0184c004d2: debian: Reimplement lister using new Lister API.
Jan 26 2021, 5:29 PM · Lister, Sprint 2021 01
anlambert committed rDLSbb0184c004d2: debian: Reimplement lister using new Lister API (authored by anlambert).
debian: Reimplement lister using new Lister API
Jan 26 2021, 5:29 PM
tenma updated the diff for D4949: tests: remove all unused conftests.

Rebase

Jan 26 2021, 5:27 PM
swh-public-ci added a comment to D4925: debian: Reimplement lister using new Lister API.

Build is green

Jan 26 2021, 5:27 PM
tenma reopened D4949: tests: remove all unused conftests.
Jan 26 2021, 5:27 PM
anlambert updated the diff for D4925: debian: Reimplement lister using new Lister API.

Rebase

Jan 26 2021, 5:23 PM
anlambert requested review of D4952: tests/resources: Fix mypy 0.800 errors.
Jan 26 2021, 5:23 PM
douardda closed D4950: Add swh-journal's model-related test data set in swh-model.
Jan 26 2021, 5:21 PM
douardda committed rDMODcad940dc8c07: Add swh-journal's model-related test data set in swh-model (authored by douardda).
Add swh-journal's model-related test data set in swh-model
Jan 26 2021, 5:21 PM
swh-public-ci added a comment to D4925: debian: Reimplement lister using new Lister API.

Build is green

Jan 26 2021, 5:12 PM
tenma closed D4949: tests: remove all unused conftests.
Jan 26 2021, 5:10 PM
tenma committed rDLS6cd31769c102: tests: Remove no longer used conftest files (authored by tenma).
tests: Remove no longer used conftest files
Jan 26 2021, 5:09 PM
douardda added a revision to T2970: Make swh-journal tests not depend on swh-model any more: D4951: Remove tests' journal_data.py in favor of the version in swh-model.
Jan 26 2021, 5:09 PM · Journal
anlambert updated the diff for D4925: debian: Reimplement lister using new Lister API.

Rebase and remove conftest.py file

Jan 26 2021, 5:08 PM
ardumont accepted D4950: Add swh-journal's model-related test data set in swh-model.

sgtm

Jan 26 2021, 5:05 PM
swh-public-ci added a comment to D4949: tests: remove all unused conftests.

Build is green

Jan 26 2021, 5:01 PM
anlambert accepted D4949: tests: remove all unused conftests.

Thanks !

Jan 26 2021, 5:01 PM
ardumont closed D4948: gitlab: Implement keyset-based pagination listing.
Jan 26 2021, 5:00 PM
ardumont committed rDLS97254a19f226: gitlab: Implement keyset-based pagination listing (authored by ardumont).
gitlab: Implement keyset-based pagination listing
Jan 26 2021, 5:00 PM
tenma updated the diff for D4949: tests: remove all unused conftests.

Reword commit

Jan 26 2021, 4:58 PM
swh-public-ci added a comment to D4948: gitlab: Implement keyset-based pagination listing.

Build is green

Jan 26 2021, 4:57 PM
ardumont updated the diff for D4948: gitlab: Implement keyset-based pagination listing.

Rebase

Jan 26 2021, 4:54 PM
anlambert requested changes to D4949: tests: remove all unused conftests.

Looks good but the commit message could be more detailed and rephrased to something like:

Jan 26 2021, 4:51 PM
douardda requested review of D4950: Add swh-journal's model-related test data set in swh-model.
Jan 26 2021, 4:47 PM
tenma requested review of D4949: tests: remove all unused conftests.
Jan 26 2021, 4:46 PM
douardda added a revision to T2970: Make swh-journal tests not depend on swh-model any more: D4950: Add swh-journal's model-related test data set in swh-model.
Jan 26 2021, 4:45 PM · Journal
douardda added a comment to T2970: Make swh-journal tests not depend on swh-model any more.

Back on this, the plan is now to make swh-journal not depend on the actual model definition, which is currently mostly due to the presence of the journal_data.py in swh-journal. So the plan is to move this file in swh-model so it's kept up to date with swh-model, even if it's mostly used for testing other packages (like swh-journal).

Jan 26 2021, 4:41 PM · Journal
swh-public-ci added a comment to D4948: gitlab: Implement keyset-based pagination listing.

Build is green

Jan 26 2021, 4:38 PM