Page MenuHomeSoftware Heritage
Feed Advanced Search

Apr 30 2020

anlambert added inline comments to D3096: browse/revision: Refactor metadata handling and add typing.
Apr 30 2020, 11:38 AM

Apr 29 2020

anlambert added a revision to T2330: Simplify Permalinks box: D3096: browse/revision: Refactor metadata handling and add typing.
Apr 29 2020, 7:39 PM · UX, 2019 UX audit, Web app
anlambert created D3096: browse/revision: Refactor metadata handling and add typing.
Apr 29 2020, 7:39 PM
anlambert updated the diff for D3094: browse/release: Refactor metadata handling and add typing.

Rebase

Apr 29 2020, 7:34 PM
anlambert updated the diff for D3092: browse/directory: Refactor metadata handling and add typing.

Rebase

Apr 29 2020, 7:32 PM
anlambert updated the diff for D3089: browse/content: Refactor metadata handling and add typing.

Rebase

Apr 29 2020, 7:29 PM
anlambert updated the diff for D3088: assets/webapp: Add SWHIDs context related functions.

Update: Rename some variables and improve comments

Apr 29 2020, 7:28 PM
anlambert added inline comments to D3088: assets/webapp: Add SWHIDs context related functions.
Apr 29 2020, 6:01 PM
anlambert added inline comments to D3088: assets/webapp: Add SWHIDs context related functions.
Apr 29 2020, 5:52 PM
anlambert added a revision to T2330: Simplify Permalinks box: D3094: browse/release: Refactor metadata handling and add typing.
Apr 29 2020, 5:29 PM · UX, 2019 UX audit, Web app
anlambert created D3094: browse/release: Refactor metadata handling and add typing.
Apr 29 2020, 5:29 PM
anlambert updated the diff for D3092: browse/directory: Refactor metadata handling and add typing.

Rebase

Apr 29 2020, 5:24 PM
anlambert accepted D3084: Raise an error when serializing a naive datetime..

Looks good to me

Apr 29 2020, 5:22 PM
anlambert accepted D3093: metadata spec: Fix title hierarchy.
Apr 29 2020, 5:19 PM
anlambert updated the diff for D3089: browse/content: Refactor metadata handling and add typing.

Rebase

Apr 29 2020, 5:17 PM
anlambert updated the diff for D3088: assets/webapp: Add SWHIDs context related functions.

Update: Address @vlorentz comments

Apr 29 2020, 5:16 PM
anlambert added a revision to T2330: Simplify Permalinks box: D3092: browse/directory: Refactor metadata handling and add typing.
Apr 29 2020, 4:22 PM · UX, 2019 UX audit, Web app
anlambert created D3092: browse/directory: Refactor metadata handling and add typing.
Apr 29 2020, 4:22 PM
anlambert created D3089: browse/content: Refactor metadata handling and add typing.
Apr 29 2020, 3:20 PM
anlambert added a revision to T2330: Simplify Permalinks box: D3089: browse/content: Refactor metadata handling and add typing.
Apr 29 2020, 3:20 PM · UX, 2019 UX audit, Web app
anlambert updated the diff for D3088: assets/webapp: Add SWHIDs context related functions.

Update: Simplify cypress test

Apr 29 2020, 3:05 PM
anlambert added a revision to T2330: Simplify Permalinks box: D3088: assets/webapp: Add SWHIDs context related functions.
Apr 29 2020, 2:35 PM · UX, 2019 UX audit, Web app
anlambert created D3088: assets/webapp: Add SWHIDs context related functions.
Apr 29 2020, 2:35 PM
anlambert committed rDWAPPS57855a8dc596: browse: Fix origin view titles (authored by anlambert).
browse: Fix origin view titles
Apr 29 2020, 1:40 PM
anlambert closed D3081: browse: Fix origin view titles.
Apr 29 2020, 1:40 PM
anlambert created D3081: browse: Fix origin view titles.
Apr 29 2020, 12:50 PM
anlambert created P655 psycopg2.errors.UndefinedTable: relation "origin_visit_status" does not exist.
Apr 29 2020, 12:17 PM
anlambert committed rDWAPPS16a3ea07e577: tests: Fix execution after swh-storage update (authored by anlambert).
tests: Fix execution after swh-storage update
Apr 29 2020, 12:13 PM
anlambert committed rDWAPPS6cb44aa62f5a: package.json: Upgrade dependencies (authored by anlambert).
package.json: Upgrade dependencies
Apr 29 2020, 12:13 PM
anlambert closed D3079: tests: Fix execution after swh-storage update.
Apr 29 2020, 12:13 PM
anlambert added a comment to D3079: tests: Fix execution after swh-storage update.

oh with pytest?

Apr 29 2020, 12:08 PM
anlambert added a comment to D3079: tests: Fix execution after swh-storage update.

Hmm you're right, it's using now() in addition to a supplied datetime now.

I'll try to make a diff to forbid naive datetimes, like we should always have

Apr 29 2020, 12:06 PM
anlambert added a comment to D3079: tests: Fix execution after swh-storage update.

Do you know what update, specifically?

And why did it work so far?

Apr 29 2020, 12:02 PM
anlambert updated the diff for D3079: tests: Fix execution after swh-storage update.

Fix typo in commit message

Apr 29 2020, 11:51 AM
anlambert created D3079: tests: Fix execution after swh-storage update.
Apr 29 2020, 11:50 AM

Apr 28 2020

anlambert accepted D3073: Refactor the sphinx-dev build environment to get rid of the link-stamp step.
Apr 28 2020, 5:49 PM
anlambert requested changes to D3073: Refactor the sphinx-dev build environment to get rid of the link-stamp step.

Django version must be pinned to < 3

Apr 28 2020, 5:41 PM
anlambert added a comment to D3073: Refactor the sphinx-dev build environment to get rid of the link-stamp step.

There is also a dependency in requirements.txt to update: swh.storage[schemata,listener] => swh.storage[schemata]

Apr 28 2020, 5:26 PM
anlambert added a comment to D3073: Refactor the sphinx-dev build environment to get rid of the link-stamp step.

Could we manage to launch tox -r -e sphinx-dev when calling make ?

Apr 28 2020, 5:23 PM
anlambert requested changes to D3073: Refactor the sphinx-dev build environment to get rid of the link-stamp step.

The main drawback of this solution is we loose the possibility of rebuilding
the doc (in tox) while editing a package's documentation without rebuilding
the tox env (i.e. using tox -r). But IMHO this usage has never been
adpoted by anyone, so it's much simpler that way.

Apr 28 2020, 4:57 PM
anlambert accepted D3075: Enable Jenkins for swh-objstorage-replayer..
Apr 28 2020, 4:46 PM
anlambert accepted D3071: Initial version of the swh.objstorage.replayer package.

Looks good, there is still the doc index.rst to update with component name though.

Apr 28 2020, 12:28 PM
anlambert added inline comments to D3071: Initial version of the swh.objstorage.replayer package.
Apr 28 2020, 12:04 PM

Apr 27 2020

anlambert requested changes to D3071: Initial version of the swh.objstorage.replayer package.

I added several comments to address regarding a couple of issues I found. I am not really familiar with replayers so another review is needed as I may have missed something.

Apr 27 2020, 6:57 PM
anlambert closed T2380: documentation: nightly buid fails with "RuntimeError: Working outside of request context" as Resolved.

sphinx 3.0.3 has been released yersteday, fixing the observed autodoc issue (see latest swh-docs build log).

Apr 27 2020, 4:56 PM · Documentation
anlambert accepted D3068: SWHID spec: add support for IRI.
Apr 27 2020, 3:27 PM
anlambert committed rDWAPPS7f3329dca27f: browse/directory: Provide path as query parameter for consistency (authored by anlambert).
browse/directory: Provide path as query parameter for consistency
Apr 27 2020, 11:48 AM
anlambert closed D3067: browse/directory: Provide path as query parameter for consistency.
Apr 27 2020, 11:48 AM
anlambert committed rDWAPPS70fa1e196c99: browse: Normalize origin url query parameter name (authored by anlambert).
browse: Normalize origin url query parameter name
Apr 27 2020, 11:48 AM
anlambert closed D3066: browse: Normalize origin url query parameter name.
Apr 27 2020, 11:48 AM
anlambert committed rDWAPPS6da9fade15d9: browse: Turn origin_url to a query parameter in origin context views (authored by anlambert).
browse: Turn origin_url to a query parameter in origin context views
Apr 27 2020, 11:48 AM
anlambert closed D3064: browse: Turn origin_url to a query parameter in origin context views.
Apr 27 2020, 11:48 AM

Apr 24 2020

anlambert added a comment to T2262: Deal with IRIs.

I wrote that little script to check the number of origin IRIs and URIs in the archive

Apr 24 2020, 7:23 PM · Storage manager, Data Model
anlambert created D3067: browse/directory: Provide path as query parameter for consistency.
Apr 24 2020, 6:19 PM
anlambert updated the diff for D3066: browse: Normalize origin url query parameter name.

Rebase

Apr 24 2020, 6:17 PM
anlambert updated the diff for D3064: browse: Turn origin_url to a query parameter in origin context views.

Update: Fix some doc issues (thanks to @ardumont)

Apr 24 2020, 6:16 PM
anlambert added inline comments to D3064: browse: Turn origin_url to a query parameter in origin context views.
Apr 24 2020, 5:43 PM
anlambert added a comment to D3064: browse: Turn origin_url to a query parameter in origin context views.

/me coughs

we probably wants the same url pattern in the /api/1/ btw.

Apr 24 2020, 5:32 PM
anlambert added a comment to D3066: browse: Normalize origin url query parameter name.

looks fine.

i was gonna ask about the name "url" instead of "origin_url" in the main diff.
But i guess, here as we are not necessarily in the origin context, the name origin is not necessarily present in the base url.
So it's probably best to keep that "origin_url" everywhere.

Apr 24 2020, 5:29 PM
anlambert created D3066: browse: Normalize origin url query parameter name.
Apr 24 2020, 5:20 PM
anlambert updated the diff for D3064: browse: Turn origin_url to a query parameter in origin context views.

Update current year in copyright headers

Apr 24 2020, 5:14 PM
anlambert accepted D3065: SWHID: deal with escaping in origin qualifiers.

Looks good to me and I also think only percent encoding ;'; and '%' is better for SWHID readability.

Apr 24 2020, 5:13 PM
anlambert added a comment to D3065: SWHID: deal with escaping in origin qualifiers.

For the record, there is currently no origin with a ';' character in its URL but better anticipate that case indeed.

Apr 24 2020, 5:11 PM
anlambert created D3064: browse: Turn origin_url to a query parameter in origin context views.
Apr 24 2020, 4:22 PM
anlambert committed rDWAPPSb6448adfe411: browse/snapshot_context: Do not lookup null revision in directory view (authored by anlambert).
browse/snapshot_context: Do not lookup null revision in directory view
Apr 24 2020, 12:04 PM
anlambert closed D3059: browse/snapshot_context: Do not lookup null revision in directory view.
Apr 24 2020, 12:04 PM
anlambert updated the diff for D3059: browse/snapshot_context: Do not lookup null revision in directory view.

Update: Use "is not None" syntax

Apr 24 2020, 12:01 PM
anlambert created D3059: browse/snapshot_context: Do not lookup null revision in directory view.
Apr 24 2020, 11:59 AM

Apr 23 2020

anlambert committed rDENV01f235f9c1b8: docker/tests/loader_git: Stop waiting task termination on traceback (authored by anlambert).
docker/tests/loader_git: Stop waiting task termination on traceback
Apr 23 2020, 3:53 PM
anlambert committed rDENV808f1d6e47d4: docker/Dockerfile: Remove no more needed pip instructions (authored by anlambert).
docker/Dockerfile: Remove no more needed pip instructions
Apr 23 2020, 3:53 PM
anlambert committed rDENVfab1a69166fa: docker/services: Add missing waits for swh-scheduler service (authored by anlambert).
docker/services: Add missing waits for swh-scheduler service
Apr 23 2020, 3:53 PM
anlambert closed D3054: docker: fixes and cleanup.
Apr 23 2020, 3:53 PM
anlambert committed rDDEPd1a244c7cdc7: pytest.ini: Avoid loading flask plugin to prevent fixture name clash (authored by anlambert).
pytest.ini: Avoid loading flask plugin to prevent fixture name clash
Apr 23 2020, 3:53 PM
anlambert closed D3051: pytest.ini: Avoid loading flask plugin to prevent fixture name clash.
Apr 23 2020, 3:53 PM
anlambert updated the diff for D3054: docker: fixes and cleanup.

Rebase

Apr 23 2020, 3:52 PM
anlambert added inline comments to D3054: docker: fixes and cleanup.
Apr 23 2020, 3:51 PM
anlambert created D3054: docker: fixes and cleanup.
Apr 23 2020, 3:26 PM
anlambert accepted D3053: Bump message.max.bytes in docker kafka config to match new swh.journal default.

Thanks !

Apr 23 2020, 3:12 PM
anlambert abandoned D3052: pytest.ini: Avoid loading django plugin to prevent fixture name clash.

It was already there, lol

Apr 23 2020, 3:06 PM
anlambert created P653 kafka error in docker.
Apr 23 2020, 3:03 PM
anlambert committed rDWAPPS98d53fedce7d: pytest.ini: Avoid loading flask plugin to prevent fixture name clash (authored by anlambert).
pytest.ini: Avoid loading flask plugin to prevent fixture name clash
Apr 23 2020, 3:01 PM
anlambert closed D3050: pytest.ini: Avoid loading flask plugin to prevent fixture name clash.
Apr 23 2020, 3:01 PM
anlambert added inline comments to D3050: pytest.ini: Avoid loading flask plugin to prevent fixture name clash.
Apr 23 2020, 3:00 PM
anlambert created D3052: pytest.ini: Avoid loading django plugin to prevent fixture name clash.
Apr 23 2020, 2:59 PM
anlambert created D3051: pytest.ini: Avoid loading flask plugin to prevent fixture name clash.
Apr 23 2020, 2:57 PM
anlambert created D3050: pytest.ini: Avoid loading flask plugin to prevent fixture name clash.
Apr 23 2020, 2:53 PM
anlambert committed rDWAPPS6945c4efa49b: browse: Disambiguate URLs related to origin / snapshot context browsing (authored by anlambert).
browse: Disambiguate URLs related to origin / snapshot context browsing
Apr 23 2020, 2:42 PM
anlambert closed T2135: Disambiguate browse URL regexps as Resolved by committing rDWAPPS6945c4efa49b: browse: Disambiguate URLs related to origin / snapshot context browsing.
Apr 23 2020, 2:42 PM · Web app
anlambert closed T2115: Directories named 'directory' cannot be browsed in snapshot context views as Resolved by committing rDWAPPS6945c4efa49b: browse: Disambiguate URLs related to origin / snapshot context browsing.
Apr 23 2020, 2:42 PM · Web app
anlambert closed T2135: Disambiguate browse URL regexps, a subtask of T2342: Add resolving of new SWHIDs contextual information, as Resolved.
Apr 23 2020, 2:42 PM · Web app
anlambert closed T2115: Directories named 'directory' cannot be browsed in snapshot context views, a subtask of T2135: Disambiguate browse URL regexps, as Resolved.
Apr 23 2020, 2:42 PM · Web app
anlambert closed D3046: browse: Disambiguate URLs related to origin / snapshot context.
Apr 23 2020, 2:42 PM
anlambert created P652 pytest-django pytest-flask client fixture issue.
Apr 23 2020, 2:21 PM
anlambert added a comment to D3046: browse: Disambiguate URLs related to origin / snapshot context.

You can do it in another diff, that will be less code to review

Apr 23 2020, 2:18 PM
anlambert added a comment to D3046: browse: Disambiguate URLs related to origin / snapshot context.

Wouldn't this be a good time to also move the URL to a query parameter? (Because of the double-slash issue that can happen on clients)

From my point of view, having the browsed object identifier as URL argument is better for consistency with the rest of the browse URL scheme.

Except those with a path, starting with this diff...

Regarding the double-slash issue, I think we already mitigated it in rDWAPPS56fb869644ad45e0648f4ad45c07619d468019b4

That only fixes trailing slashes, not all double slashes (eg. http:// in the origin url)

Apr 23 2020, 1:10 PM
anlambert updated the summary of D3046: browse: Disambiguate URLs related to origin / snapshot context.
Apr 23 2020, 12:44 PM
anlambert updated the diff for D3046: browse: Disambiguate URLs related to origin / snapshot context.

Update commit message

Apr 23 2020, 12:43 PM
anlambert added a comment to D3046: browse: Disambiguate URLs related to origin / snapshot context.

I agree that restricting the date format is a good idea for consistency. I propose to only support Unix timestamps and ISO dates.

Awesome, i know at least @douardda will be happy to hear it ;)
Maybe make make that happen in a new diff when you have the time (as you wish ;)

Cheers mate ;)

Apr 23 2020, 12:23 PM
anlambert triaged T2375: Restrict date string query parameters to ISO 8601 format as Normal priority.
Apr 23 2020, 12:23 PM · Web app
anlambert added a comment to D3046: browse: Disambiguate URLs related to origin / snapshot context.

for how long do we deprecate? What's our timeframe policy to remove those, if we have any?

Apr 23 2020, 12:11 PM