Page MenuHomeSoftware Heritage
Feed Advanced Search

Feb 19 2019

douardda added a comment to T1526: Install a new VPN endpoint at Rocquencourt.

Thanks @olasd for this piece of information.

Feb 19 2019, 12:17 PM · System administration
douardda added inline comments to D1146: cli: add a --runs option to 'swh-scheduler task list' tool.
Feb 19 2019, 9:55 AM

Feb 15 2019

Herald added a reviewer for D1148: config: use already loaded swh config, if any, when instantiating an Indexer: Reviewers.
Feb 15 2019, 5:19 PM
Herald added a reviewer for D1147: Keep the main loaded configuration as swh.scheduler.CONFIG: Reviewers.
Feb 15 2019, 5:11 PM
Herald added a reviewer for D1146: cli: add a --runs option to 'swh-scheduler task list' tool: Reviewers.
Feb 15 2019, 5:11 PM
Herald added a reviewer for D1145: celery_backend: remove debug statements and reduce info level verbosity: Reviewers.
Feb 15 2019, 5:11 PM

Feb 14 2019

douardda accepted D1121: Generate pom.xml files ourselves instead of using xmltodict.unparse..
Feb 14 2019, 2:56 PM
douardda accepted D1134: lister: Update configuration scheme change.
Feb 14 2019, 2:40 PM
douardda committed rDVAU45d95d0ea2fd: Rewrite tests using pytest's fixtures and adapt them to recent refactorings (authored by douardda).
Rewrite tests using pytest's fixtures and adapt them to recent refactorings
Feb 14 2019, 2:39 PM
douardda committed rDVAU8a3aad37c42e: Normalize the configuration of VaultBackend and cooker (authored by douardda).
Normalize the configuration of VaultBackend and cooker
Feb 14 2019, 2:39 PM
douardda committed rDVAUf4ad96907d81: Make it possible to specify the config file via SWH_CONFIG_FILENAME env var (authored by douardda).
Make it possible to specify the config file via SWH_CONFIG_FILENAME env var
Feb 14 2019, 2:39 PM
douardda committed rDVAUf0ad1f01a741: Refactor the VaultBackend to use BaseDb and pool-based db access (authored by douardda).
Refactor the VaultBackend to use BaseDb and pool-based db access
Feb 14 2019, 2:39 PM
douardda committed rDVAU62963319751f: Add a swh.vault.api.wsgi module to instanciate the (singleton) wsgi app object (authored by douardda).
Add a swh.vault.api.wsgi module to instanciate the (singleton) wsgi app object
Feb 14 2019, 2:39 PM
douardda committed rDVAU47ad8a9cc24c: Extract the main cli command in a dedicated cli.py module and make it an… (authored by douardda).
Extract the main cli command in a dedicated cli.py module and make it an…
Feb 14 2019, 2:39 PM
douardda closed D1108: Refactor Vault a bit, mainly pytest, config and BaseDb-based VaultBackend.
Feb 14 2019, 2:39 PM
douardda updated the diff for D1108: Refactor Vault a bit, mainly pytest, config and BaseDb-based VaultBackend.

Fix tests

Feb 14 2019, 2:38 PM
douardda updated the diff for D1108: Refactor Vault a bit, mainly pytest, config and BaseDb-based VaultBackend.

Few additions to the original diff

Feb 14 2019, 2:11 PM
douardda abandoned D1135: Extract the main cli command in a dedicated cli.py module and make it an entrypoint.

stupid arc tool

Feb 14 2019, 2:08 PM
Herald added a reviewer for D1135: Extract the main cli command in a dedicated cli.py module and make it an entrypoint: Reviewers.
Feb 14 2019, 2:06 PM
douardda updated the diff for D1108: Refactor Vault a bit, mainly pytest, config and BaseDb-based VaultBackend.

fix typo reported by ardumont

Feb 14 2019, 12:17 PM
douardda added inline comments to D1108: Refactor Vault a bit, mainly pytest, config and BaseDb-based VaultBackend.
Feb 14 2019, 12:08 PM
douardda requested changes to D1122: Use xmlschema instead of xmltodict for parsing pom.xml..
  • Commit missing stuff.
  • Fix commit again.
  • Fix requirements.txt
  • Add missing tests.
Feb 14 2019, 9:52 AM
douardda requested changes to D1121: Generate pom.xml files ourselves instead of using xmltodict.unparse..

Please give a bit of context in your commit messages (in git). Like these 2 commits are dealing with tests for example. And 'More keys' is not a good commit message. Like 'fix a bug' is not a valid commit message, generally speaking.

Feb 14 2019, 9:48 AM
douardda accepted D1127: rpc-server: Update http check to query with 'Accept' header.
Feb 14 2019, 9:44 AM · Puppet recipes
douardda accepted D1128: api/server: Do not read configuration at each request.
Feb 14 2019, 9:43 AM
douardda accepted D1129: api/server: Do not read configuration at each request.
Feb 14 2019, 9:43 AM
douardda accepted D1130: api/server: Do not read configuration at each request.

A bit 'how you doing' there, but 1/ it's kind of consistent with other similar modules in other swh packages, and 2/ who cares?

Feb 14 2019, 9:42 AM
douardda accepted D1117: scheduler: Update configuration according to latest development.

LGTM, but hey, these are puppets!

Feb 14 2019, 9:39 AM · Puppet recipes
douardda accepted D1131: docs/developer-setup: Update documentation about auto-completion.
Feb 14 2019, 9:32 AM · Development environment, Documentation

Feb 13 2019

douardda committed rDSCHf0a8c43f06f7: listener: make the listener's queue name independent from the hostname (authored by douardda).
listener: make the listener's queue name independent from the hostname
Feb 13 2019, 3:25 PM
douardda committed rDSCHb423c0b0b30e: runner: fix task_run configuration bootstrap (authored by douardda).
runner: fix task_run configuration bootstrap
Feb 13 2019, 3:25 PM
douardda committed rDSCH3d761f162de3: sql: add the swh-lister-bitbucket-* task types (authored by douardda).
sql: add the swh-lister-bitbucket-* task types
Feb 13 2019, 3:25 PM
douardda committed rDSCH7e3f2fc03f76: task: do not send the task-result-exception event in Task.on_failure() (authored by douardda).
task: do not send the task-result-exception event in Task.on_failure()
Feb 13 2019, 3:25 PM

Feb 12 2019

douardda created P358 origin visit histogram.
Feb 12 2019, 4:41 PM
douardda committed rCDFD2ed0c7833c5b: Add the vault services (api and worker) and make them avaible in swh-web (authored by douardda).
Add the vault services (api and worker) and make them avaible in swh-web
Feb 12 2019, 1:30 PM
douardda committed rCDFDbb38cd93622e: Deploy a djangossettings.py for swh-web that allows to set a dumd asmin password (authored by douardda).
Deploy a djangossettings.py for swh-web that allows to set a dumd asmin password
Feb 12 2019, 1:29 PM
douardda committed rCDFD0ac8db330055: Move options and arguments of the swh manage command as COMMAND (authored by douardda).
Move options and arguments of the swh manage command as COMMAND
Feb 12 2019, 1:29 PM
douardda closed D1115: Add the vault services (api and worker) and make them avaible in swh-web.
Feb 12 2019, 1:29 PM
douardda updated the diff for D1115: Add the vault services (api and worker) and make them avaible in swh-web.

Fix indentation in swh-vault/entrypoint.sh

Feb 12 2019, 1:29 PM
Herald added a reviewer for D1115: Add the vault services (api and worker) and make them avaible in swh-web: Reviewers.
Feb 12 2019, 12:25 PM
douardda abandoned D1113: Do not override the DJANGO_SETTINGS_MODULE env var if it's already set.

Actually not needed

Feb 12 2019, 12:11 PM
douardda updated the diff for D1114: Update vault service config for vault 0.0.22.

rebased

Feb 12 2019, 12:11 PM
Herald added a reviewer for D1114: Update vault service config for vault 0.0.22: Reviewers.
Feb 12 2019, 12:03 PM
Herald added a reviewer for D1113: Do not override the DJANGO_SETTINGS_MODULE env var if it's already set: Reviewers.
Feb 12 2019, 12:00 PM
douardda updated the diff for D1108: Refactor Vault a bit, mainly pytest, config and BaseDb-based VaultBackend.

Important rework of the config handling

Feb 12 2019, 11:01 AM
douardda added a comment to D1108: Refactor Vault a bit, mainly pytest, config and BaseDb-based VaultBackend.

I'm (re)working this diff, so wait a bit before spending time reviewing it.

Feb 12 2019, 9:41 AM
douardda committed rCDFD452185dac5ef: Very beginning of a grafana service (authored by douardda).
Very beginning of a grafana service
Feb 12 2019, 9:38 AM
douardda closed D1094: Very beginning of a grafana service.
Feb 12 2019, 9:38 AM
douardda committed rCDFD7000265592f0: Update the lister entrypoint to make latest cli updates (authored by douardda).
Update the lister entrypoint to make latest cli updates
Feb 12 2019, 9:38 AM
douardda closed D1093: Update the lister entrypoint to make latest cli updates.
Feb 12 2019, 9:38 AM
douardda committed rDDOC9e6c2f3a614d: Split the getting-started guide in 3 parts (authored by douardda).
Split the getting-started guide in 3 parts
Feb 12 2019, 9:36 AM
douardda closed D1086: Split the getting-started guide in 3 parts.
Feb 12 2019, 9:36 AM
douardda updated the diff for D1086: Split the getting-started guide in 3 parts.

typos

Feb 12 2019, 9:35 AM
douardda accepted D1077: Add more type checks in metadata dictionary..

Let's keep on, but I really don't like the turn this code takes...

Feb 12 2019, 9:32 AM
douardda accepted D1110: gbp-buildpackage: Open pgdg as a new extra debian repository.

lgtm

Feb 12 2019, 9:23 AM

Feb 11 2019

douardda added inline comments to D1086: Split the getting-started guide in 3 parts.
Feb 11 2019, 5:30 PM
douardda updated the diff for D1086: Split the getting-started guide in 3 parts.

rebased and fixes reported by aardumont and vlorentz

Feb 11 2019, 5:30 PM

Feb 8 2019

douardda updated the diff for D1108: Refactor Vault a bit, mainly pytest, config and BaseDb-based VaultBackend.

Add missing hunks in tox.ini and requirement-test.txt

Feb 8 2019, 5:37 PM
Herald added a reviewer for D1108: Refactor Vault a bit, mainly pytest, config and BaseDb-based VaultBackend: Reviewers.
Feb 8 2019, 5:31 PM
douardda added a comment to D1086: Split the getting-started guide in 3 parts.

I'm a bit puzzled that with so many comments, this diff has been accepted! It should not have been so IMHO.

Feb 8 2019, 2:14 PM
douardda accepted D1079: Add checks in the idx_storage that the same content/rev/orig is not present twice in the new data..
Feb 8 2019, 2:12 PM
douardda accepted D1091: Make the OriginMetadataIndexer call storage.revision_get a single time for all revisions..
Feb 8 2019, 10:42 AM

Feb 7 2019

douardda requested changes to D1079: Add checks in the idx_storage that the same content/rev/orig is not present twice in the new data..
Feb 7 2019, 5:59 PM
douardda accepted D1090: Split OriginIndexer.run into smaller methods..
Feb 7 2019, 5:45 PM
douardda added a comment to D1090: Split OriginIndexer.run into smaller methods..

One drawback of this function extraction is that you now have to keep an intermediate result (the origins list). Couldn't this be avoided using generators?

That's a very small list (I'd be surprised if it ever gets over 10KB). And starting with D1092, we'll download the whole list at once anyway.

Feb 7 2019, 5:45 PM
douardda committed rDLDSVNbf78d8b186fe: Fix the DumpMountAndLoadSvnRepository task (authored by douardda).
Fix the DumpMountAndLoadSvnRepository task
Feb 7 2019, 5:35 PM
douardda closed D1097: Fix the DumpMountAndLoadSvnRepository task.
Feb 7 2019, 5:35 PM
douardda added a comment to D1080: Restructure origin_metadata_indexer_test to make it easier to add more origin metadata idx tests..

(Actually, after thinking more about this, a class with setUp and tearDown looks like better than my decorator solution.)

Feb 7 2019, 4:44 PM
douardda accepted D1092: Make OriginIndexer call storage.origin_get a single time for all origins..
Feb 7 2019, 4:43 PM
Herald added a reviewer for D1097: Fix the DumpMountAndLoadSvnRepository task: Reviewers.
Feb 7 2019, 4:31 PM
douardda added a comment to T1521: Explore Faust as a possible kafka-based replacement for celery.

Also give a look at Dramatiq https://dramatiq.io/

Feb 7 2019, 4:17 PM · Scheduling utilities
douardda created T1521: Explore Faust as a possible kafka-based replacement for celery.
Feb 7 2019, 4:15 PM · Scheduling utilities
douardda added a comment to D1092: Make OriginIndexer call storage.origin_get a single time for all origins..

I see no link between this hunk and the diff's title. Did I miss something?
BTW, I do prefer the version before the diff: easier to read.

Feb 7 2019, 10:24 AM
douardda requested changes to D1080: Restructure origin_metadata_indexer_test to make it easier to add more origin metadata idx tests..

ask rework just for the sake of the fixture question

Feb 7 2019, 10:19 AM
douardda accepted D1040: Provide stats on indexed metadata per origin..

LGTM

Feb 7 2019, 10:17 AM
douardda accepted D1069: docs: Add debian build jobs description documentation.
Feb 7 2019, 10:06 AM · Packagers
douardda requested changes to D1092: Make OriginIndexer call storage.origin_get a single time for all origins..

I see no link between this hunk and the diff's title. Did I miss something?
BTW, I do prefer the version before the diff: easier to read.

Feb 7 2019, 10:04 AM
douardda requested changes to D1091: Make the OriginMetadataIndexer call storage.revision_get a single time for all revisions..

Could you please explain in the commit message why you do this diff? Also the 'assert False' looks really strange. What is its practical purpose?

Feb 7 2019, 10:02 AM
douardda requested changes to D1090: Split OriginIndexer.run into smaller methods..

One drawback of this function extraction is that you now have to keep an intermediate result (the origins list). Couldn't this be avoided using generators?

Feb 7 2019, 9:58 AM
douardda accepted D1089: Remove useless CONTENT_METADATA constant..
Feb 7 2019, 9:48 AM
douardda added a comment to D1080: Restructure origin_metadata_indexer_test to make it easier to add more origin metadata idx tests..

Why not make this decorator a pytest fixture?

Feb 7 2019, 9:47 AM
douardda requested changes to D1079: Add checks in the idx_storage that the same content/rev/orig is not present twice in the new data..

This lacks a unit test: just add a test for the new method. It's nice to also have the test for the revision_metadata_add() call, but there should be a test that ensure the _check_duplicates() behaves ok (once again, with valid and invalid inputs), and ensure the newly added validator works in every modified method. I count 7 of them patched (plus the hunk in in_memory.py). I would expect (functionally) 8 tests.

Feb 7 2019, 9:44 AM
douardda requested changes to D1077: Add more type checks in metadata dictionary..
Feb 7 2019, 9:33 AM
douardda added a comment to D1077: Add more type checks in metadata dictionary..

Also, you add many defensive statements, but none of them are actually tested, unless I'm mistaken. Once again, please add tests for these invalid input resiliency checks.

Feb 7 2019, 9:32 AM
douardda added a comment to D1077: Add more type checks in metadata dictionary..

As always with this kind of diff, I'm quite puzzled: we add a lot of 'if' conditions (on types), but what are the unexpected types that the code may encounter? As is, we just (silently) ignore a bunch of values.

Feb 7 2019, 9:30 AM

Feb 6 2019

Herald added a reviewer for D1094: Very beginning of a grafana service: Reviewers.
Feb 6 2019, 6:26 PM
Herald added a reviewer for D1093: Update the lister entrypoint to make latest cli updates: Reviewers.
Feb 6 2019, 6:25 PM
douardda committed rCDFD7a0178e5c839: Improve a bit the README file (authored by douardda).
Improve a bit the README file
Feb 6 2019, 6:25 PM
douardda closed D1087: Improve a bit the README file.
Feb 6 2019, 6:25 PM
douardda committed rDLS1756e2efbfdb: Fix tests: config change lister_db_url -> lister had not been applied in tests (authored by douardda).
Fix tests: config change lister_db_url -> lister had not been applied in tests
Feb 6 2019, 4:47 PM
douardda committed rDLS0720c8e12e78: Kill (useless) --create-tables and --with-data cli command options (authored by douardda).
Kill (useless) --create-tables and --with-data cli command options
Feb 6 2019, 4:13 PM
douardda committed rDLSc1a3c10c5cc5: Bump dependencies (authored by douardda).
Bump dependencies
Feb 6 2019, 4:13 PM
douardda committed rDLSb8381d8a1b65: Add an entry point for the cli command (authored by douardda).
Add an entry point for the cli command
Feb 6 2019, 4:13 PM
douardda committed rDLS662df8aea1b4: Change the lister_db_url config option into a 'lister' one (authored by douardda).
Change the lister_db_url config option into a 'lister' one
Feb 6 2019, 4:13 PM
douardda committed rDLS4f2580a97c69: Make the --lister option of the cli tool a variadic argument (authored by douardda).
Make the --lister option of the cli tool a variadic argument
Feb 6 2019, 4:13 PM
douardda closed D1083: Improve the cli a bit and normalize the lister_db_url config.
Feb 6 2019, 4:13 PM
douardda retitled D1083: Improve the cli a bit and normalize the lister_db_url config from Improve the cli a bit and make normalize the lister_db_url config to Improve the cli a bit and normalize the lister_db_url config.
Feb 6 2019, 4:10 PM
douardda updated the diff for D1083: Improve the cli a bit and normalize the lister_db_url config.

Kill (useless) --create-tables and --with-data cli command options

Feb 6 2019, 3:38 PM
douardda added inline comments to D1083: Improve the cli a bit and normalize the lister_db_url config.
Feb 6 2019, 3:32 PM
douardda added inline comments to D1083: Improve the cli a bit and normalize the lister_db_url config.
Feb 6 2019, 3:28 PM