Page MenuHomeSoftware Heritage
Feed Advanced Search

Apr 8 2022

anlambert added a comment to D7534: api/server: Fix streaming responses implementation.

That's true for the pypi code (hence tests here) but what about production (oldstable)? [1]

An acceptable answer i guess is "it's not used in production" (it's possible ;).

[1]

$ rmadison python3-werkzeug
python3-werkzeug | 0.9.6+dfsg-1+deb8u1    | oldoldoldstable | all
python3-werkzeug | 0.11.15+dfsg1-1+deb9u1 | oldoldstable    | all
python3-werkzeug | 0.14.1+dfsg1-4+deb10u1 | oldstable       | all
python3-werkzeug | 1.0.1+dfsg1-2          | stable          | all
python3-werkzeug | 2.0.2+dfsg1-1          | testing         | all
python3-werkzeug | 2.0.2+dfsg1-1          | unstable        | all
Apr 8 2022, 2:29 PM
anlambert updated the summary of D7534: api/server: Fix streaming responses implementation.
Apr 8 2022, 1:55 PM
anlambert committed rDWAPPSe04e60663057: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Apr 8 2022, 1:46 PM
anlambert closed D7532: docker/tests: Fix deposit tests with swh-deposit 1.0 release.
Apr 8 2022, 1:34 PM
anlambert committed rDENVa834cd03e2cc: docker/tests: Fix deposit tests with swh-deposit 1.0 release (authored by anlambert).
docker/tests: Fix deposit tests with swh-deposit 1.0 release
Apr 8 2022, 1:34 PM
anlambert closed D7530: misc/coverage: Bump cache timeout from 5 minutes to 1 hour.
Apr 8 2022, 1:30 PM
anlambert committed rDWAPPSd35ba5194f10: misc/coverage: Bump cache timeout from 5 minutes to 1 hour (authored by anlambert).
misc/coverage: Bump cache timeout from 5 minutes to 1 hour
Apr 8 2022, 1:30 PM
anlambert accepted D7535: Fix deposit metadata retrieval in moderation view.
Apr 8 2022, 1:28 PM
anlambert requested review of D7534: api/server: Fix streaming responses implementation.
Apr 8 2022, 12:18 PM
anlambert added a revision to T4119: TestRemoteObjStorage::test_content_iterator is failing since werkzeug 2.1.0 release: D7534: api/server: Fix streaming responses implementation.
Apr 8 2022, 12:15 PM · Object storage
anlambert requested review of D7530: misc/coverage: Bump cache timeout from 5 minutes to 1 hour.
Apr 8 2022, 11:56 AM
anlambert requested review of D7532: docker/tests: Fix deposit tests with swh-deposit 1.0 release.
Apr 8 2022, 11:51 AM
anlambert closed D7521: common/utils: Use cache in origin_visit_types function.
Apr 8 2022, 11:25 AM
anlambert committed rDWAPPSbdee9fe46e31: common/utils: Use cache in origin_visit_types function (authored by anlambert).
common/utils: Use cache in origin_visit_types function
Apr 8 2022, 11:25 AM
anlambert closed D7526: common/utils: Add a django_cache decorator and use it in codebase.
Apr 8 2022, 11:25 AM
anlambert committed rDWAPPSb364c93d81a6: common/utils: Add a django_cache decorator and use it in codebase (authored by anlambert).
common/utils: Add a django_cache decorator and use it in codebase
Apr 8 2022, 11:25 AM

Apr 7 2022

anlambert requested review of D7526: common/utils: Add a django_cache decorator and use it in codebase.
Apr 7 2022, 5:37 PM
anlambert updated the diff for D7521: common/utils: Use cache in origin_visit_types function.

Update: Use django_cache decorator

Apr 7 2022, 5:19 PM
anlambert updated the summary of D7521: common/utils: Use cache in origin_visit_types function.
Apr 7 2022, 5:18 PM
anlambert closed D7442: interface: Add new method origin_visit_get_with_statuses.
Apr 7 2022, 5:07 PM
anlambert committed rDSTO567c8e47ae56: interface: Add new method origin_visit_get_with_statuses (authored by anlambert).
interface: Add new method origin_visit_get_with_statuses
Apr 7 2022, 5:07 PM
anlambert accepted D7525: Increase max_upload_size to fix test_deposit_invalid_tarball[tar.xz] failure on Sid.
Apr 7 2022, 4:57 PM
anlambert updated the diff for D7442: interface: Add new method origin_visit_get_with_statuses.

Address @vlorentz comment

Apr 7 2022, 4:48 PM
anlambert added inline comments to D7442: interface: Add new method origin_visit_get_with_statuses.
Apr 7 2022, 4:25 PM
anlambert created P1334 (An Untitled Masterwork).
Apr 7 2022, 1:45 PM
anlambert updated the diff for D7442: interface: Add new method origin_visit_get_with_statuses.

Rebase

Apr 7 2022, 10:41 AM

Apr 6 2022

anlambert added a comment to rDOBJScc41db7e39b5: requirements-test: Remove pytest pinning to < 7.

Build failure is expected here, see T4119.

Apr 6 2022, 5:59 PM
anlambert committed rDWCLI62864924e092: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDWAPPS120076eea4cb: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDSTO812590c25f43: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDVAUcf69cae2f632: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDSEA96fcfd7b636a: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDSCRUB2ab211eb3a21: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDTSCN88eeeb9dda2a: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDSCHbafe03f47530: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDTPLcce946ad4dd4: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDOPH38e39aa3f895: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDOBJSRPL997d0665da97: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDOBJScc41db7e39b5: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDLDSVN13cce8bde251: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDLDHGbc11012ddda3: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDLDCVSa3de40aa7d72: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDLDBZR4205ae633d7b: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDLSb766b64088f3: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDICP378898801144: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:51 PM
anlambert committed rDCIDX63e912f52b17: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:50 PM
anlambert committed rDDEPa8cda2cb5454: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:50 PM
anlambert committed rDDATASETf282e88a900d: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:50 PM
anlambert closed D7515: requirements-test: Remove pytest pinning to < 7.
Apr 6 2022, 5:50 PM
anlambert committed rDCNTdd8e3f68fcb7: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:50 PM
anlambert committed rDCORE7be2dbf02d06: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:50 PM
anlambert committed rDAUTH7e6f14ee1bed: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:50 PM
anlambert committed rDPROV0af2a35c40d7: requirements-test: Remove pytest pinning to < 7 (authored by anlambert).
requirements-test: Remove pytest pinning to < 7
Apr 6 2022, 5:41 PM
anlambert updated the summary of D7515: requirements-test: Remove pytest pinning to < 7.
Apr 6 2022, 5:10 PM
anlambert updated the summary of D7515: requirements-test: Remove pytest pinning to < 7.
Apr 6 2022, 5:09 PM
anlambert requested review of D7515: requirements-test: Remove pytest pinning to < 7.
Apr 6 2022, 5:09 PM
anlambert added a reverting change for rDAUTH4083f79618e8: requirements-test: Temporarily pin django-stubs to < 1.10.0: rDAUTH51285bfd8baa: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0".
Apr 6 2022, 5:01 PM
anlambert committed rDAUTH51285bfd8baa: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0" (authored by anlambert).
Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0"
Apr 6 2022, 5:01 PM
anlambert closed D7514: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0".
Apr 6 2022, 5:01 PM
anlambert added a reverting change for rDWAPPSea683ca5ff19: requirements-test: Temporarily pin django-stubs to < 1.10.0: rDWAPPScc8ff7183a27: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0".
Apr 6 2022, 5:01 PM
anlambert committed rDWAPPScc8ff7183a27: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0" (authored by anlambert).
Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0"
Apr 6 2022, 5:01 PM
anlambert added a reverting change for D7441: requirements-test: Temporarily pin django-stubs to < 1.10.0: rDWAPPScc8ff7183a27: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0".
Apr 6 2022, 5:01 PM
anlambert updated the diff for D7514: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0".

Update diff to same content as I hard resetted my master branch by mistake.

Apr 6 2022, 5:00 PM
anlambert requested review of D7514: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0".
Apr 6 2022, 4:15 PM
anlambert added a reverting change for D7441: requirements-test: Temporarily pin django-stubs to < 1.10.0: D7514: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0".
Apr 6 2022, 3:55 PM
anlambert added a reverting change for rDWAPPSea683ca5ff19: requirements-test: Temporarily pin django-stubs to < 1.10.0: D7514: Revert "requirements-test: Temporarily pin django-stubs to < 1.10.0".
Apr 6 2022, 3:55 PM
anlambert added a comment to D7502: pre-commit, tox: Bump black from 19.10b0 to 22.3.0.

Are E203, E231 and W503 still needed with the most recent black style?

My attempts at configuring bugbear focused on the (recent-ish, flake8 4.x) extend-ignore and extend-select options, to avoid having to repeat the default settings for them. I guess they interact poorly with the way bugbear hooks into flake8.

Considering that we'll have to poke at that config everywhere anyway the next time we upgrade flake8, we may as well do it that way...

Apr 6 2022, 3:49 PM
anlambert added a comment to T3922: Bump black formatter to 22.1.0 (stable).

Based on the discussion following D7502#196088, I came up with the following script to execute in swh-environment in order to :

  • upgrade black in all swh repos and use flake8-bugbear for the line length warnings
  • reformat Python code with latest black version
  • add .git-blame-ignore-revs file to ignore reformatting commits
  • run flake8 after all these changes to check everything is OK
Apr 6 2022, 3:48 PM · Development environment
anlambert accepted D7493: docker: make yarn run in the local copy of the swh-web source code.

Great, thanks !

Apr 6 2022, 1:50 PM
anlambert committed rDDOC3ee3d1569db1: sysadm/user-management/openvpn: Fix typo detected with codespell (authored by anlambert).
sysadm/user-management/openvpn: Fix typo detected with codespell
Apr 6 2022, 11:14 AM
anlambert accepted D7507: Do not keep more than 6 months of build history for python builds.

Fine with me too.

Apr 6 2022, 10:41 AM

Apr 5 2022

anlambert committed rDWAPPS8126ea65dbb3: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Apr 5 2022, 5:42 PM
anlambert closed D7505: settings/production: Use webpack loader cache when not in debug mode.
Apr 5 2022, 5:42 PM
anlambert committed rDWAPPS6a049244633a: settings/production: Use webpack loader cache when not in debug mode (authored by anlambert).
settings/production: Use webpack loader cache when not in debug mode
Apr 5 2022, 5:42 PM
anlambert added a comment to D7502: pre-commit, tox: Bump black from 19.10b0 to 22.3.0.

Instead of running black swh, I would suggest using pre-commit run -a black to make sure the proper version is used, and all affected files are properly reformatted (we have some python files not in the swh directory).

Apr 5 2022, 5:08 PM
anlambert updated the diff for D7505: settings/production: Use webpack loader cache when not in debug mode.

Rebase

Apr 5 2022, 4:26 PM
anlambert accepted D7469: npm: Include package version id in ExtID manifest.
Apr 5 2022, 3:53 PM
anlambert added inline comments to D7493: docker: make yarn run in the local copy of the swh-web source code.
Apr 5 2022, 3:25 PM
anlambert requested review of D7505: settings/production: Use webpack loader cache when not in debug mode.
Apr 5 2022, 3:22 PM
anlambert requested changes to D7493: docker: make yarn run in the local copy of the swh-web source code.

So I made some tests today to fix the infinite reloading of the webapp in browser when overriding swh-web sources and when the source directory is writable.
Turns out the issue was coming from the use of webpack loader cache as we use production settings for the webapp in docker env.
Unfortunately, it clashes with the use of webpack-dev-server so the infinite reload.
The use of webpack-dev-server in docker was originally working as I forced the use of dev settings in that case but
it was reverted in rDENV6c4f3c5f41fc5a4f1f96b92d006cfcf82e6cffee.
Fortunately, I found a workaround to restore webpack-dev-server use (D7505).

Apr 5 2022, 3:20 PM
anlambert updated the summary of D7502: pre-commit, tox: Bump black from 19.10b0 to 22.3.0.
Apr 5 2022, 1:40 PM
anlambert accepted D6640: Add a button to the deposit admin UI to show deposit metadata.
Apr 5 2022, 12:30 PM
anlambert requested review of D7502: pre-commit, tox: Bump black from 19.10b0 to 22.3.0.
Apr 5 2022, 12:03 PM
anlambert added a revision to T3922: Bump black formatter to 22.1.0 (stable): D7502: pre-commit, tox: Bump black from 19.10b0 to 22.3.0.
Apr 5 2022, 12:01 PM · Development environment
anlambert committed rDAUTH4083f79618e8: requirements-test: Temporarily pin django-stubs to < 1.10.0 (authored by anlambert).
requirements-test: Temporarily pin django-stubs to < 1.10.0
Apr 5 2022, 11:50 AM
anlambert added a comment to D6640: Add a button to the deposit admin UI to show deposit metadata.

@vlorentz, the following patch makes the deposits cypress tests stable.

Apr 5 2022, 11:42 AM
anlambert closed T2801: Wrong <title> on snapshot pages as Invalid.

Any actions required in this task?

Apr 5 2022, 10:44 AM · Web app, Easy hack

Apr 4 2022

anlambert added a comment to T3922: Bump black formatter to 22.1.0 (stable).

Looks like it is time to upgrade black in all swh modules as black 19.10b0 is incompatible with click 8.1.x.

Apr 4 2022, 5:19 PM · Development environment
anlambert accepted D7489: added hyperlinks to URLs in Browse Requests tab.

Granted for landing, thanks !

Apr 4 2022, 5:00 PM
anlambert requested changes to D7489: added hyperlinks to URLs in Browse Requests tab.

One last thing before we can land this:

  • please squash commits into a single one if its is not already done and use the following message:
add_forge_now: Add hyperlinks to forge URLs in Browse Requests tab
Apr 4 2022, 3:57 PM
anlambert accepted D7492: docker: add librdkakfa-dev so confluent-kafka in pip installable on non-x86 platforms.
Apr 4 2022, 3:48 PM
anlambert added inline comments to D7493: docker: make yarn run in the local copy of the swh-web source code.
Apr 4 2022, 3:43 PM
anlambert requested changes to D7489: added hyperlinks to URLs in Browse Requests tab.

Still one change required before I can accept the diff (see inline comment).

Apr 4 2022, 3:11 PM
anlambert requested changes to D7489: added hyperlinks to URLs in Browse Requests tab.

Looks good to me. Please add your name in the CONTRIBUTORS file at the root of the repository and I will accept the diff.

Apr 4 2022, 2:38 PM
anlambert requested changes to D7493: docker: make yarn run in the local copy of the swh-web source code.
Apr 4 2022, 2:16 PM
anlambert requested changes to D7489: added hyperlinks to URLs in Browse Requests tab.

Thanks for your contribution. I have added some inline comments to handle before we can land this.

Apr 4 2022, 1:43 PM

Mar 30 2022

anlambert created P1324 [POC] Use new endpoint of deposit private API for datatables in swh-web.
Mar 30 2022, 6:04 PM
anlambert created P1323 [POC] Deposit private API endpoint for datatables to list deposits.
Mar 30 2022, 6:03 PM
anlambert triaged T4119: TestRemoteObjStorage::test_content_iterator is failing since werkzeug 2.1.0 release as Normal priority.
Mar 30 2022, 3:07 PM · Object storage
anlambert created T4119: TestRemoteObjStorage::test_content_iterator is failing since werkzeug 2.1.0 release.
Mar 30 2022, 3:07 PM · Object storage