Page MenuHomeSoftware Heritage
Feed Advanced Search

Jun 29 2021

KShivendu added inline comments to D5949: origin_search: Filter for instrinsic_metadata language and license.
Jun 29 2021, 8:07 PM
KShivendu requested review of D5949: origin_search: Filter for instrinsic_metadata language and license.
Jun 29 2021, 8:03 PM

Jun 28 2021

KShivendu closed D5918: origin_search: Add sort_by feature.
Jun 28 2021, 1:16 PM
KShivendu committed rDSEA6b1d563d42e9: origin_search: Add sort_by feature (authored by KShivendu).
origin_search: Add sort_by feature
Jun 28 2021, 1:16 PM
KShivendu updated the diff for D5918: origin_search: Add sort_by feature.

Rebase

Jun 28 2021, 12:56 PM

Jun 26 2021

KShivendu added inline comments to D5918: origin_search: Add sort_by feature.
Jun 26 2021, 8:17 AM
KShivendu updated the diff for D5918: origin_search: Add sort_by feature.
  • origin_search: Polish code related to sort_by
Jun 26 2021, 8:11 AM

Jun 25 2021

KShivendu added inline comments to D5918: origin_search: Add sort_by feature.
Jun 25 2021, 6:27 PM
KShivendu updated the diff for D5918: origin_search: Add sort_by feature.
  • origin_search: Allow sorting with multiple fields
Jun 25 2021, 6:18 PM
KShivendu updated the diff for D5918: origin_search: Add sort_by feature.
  • interface: Maintain SORT_BY_OPTIONS list
Jun 25 2021, 12:02 PM
KShivendu added inline comments to D5918: origin_search: Add sort_by feature.
Jun 25 2021, 11:39 AM
KShivendu updated the diff for D5918: origin_search: Add sort_by feature.
  • test_search: Improve tests for sort_by
Jun 25 2021, 8:10 AM
KShivendu added inline comments to D5918: origin_search: Add sort_by feature.
Jun 25 2021, 8:00 AM
KShivendu requested review of D5918: origin_search: Add sort_by feature.
Jun 25 2021, 7:48 AM

Jun 23 2021

KShivendu closed D5915: elasticsearch.py: Improve readability of painless script.
Jun 23 2021, 6:01 PM
KShivendu committed rDSEA3e153035287b: elasticsearch.py: Improve readability of painless script (authored by KShivendu).
elasticsearch.py: Improve readability of painless script
Jun 23 2021, 6:01 PM
KShivendu updated the summary of D5915: elasticsearch.py: Improve readability of painless script.
Jun 23 2021, 5:15 PM
KShivendu updated the diff for D5915: elasticsearch.py: Improve readability of painless script.
  • Improve commit body
Jun 23 2021, 5:12 PM
KShivendu updated the summary of D5915: elasticsearch.py: Improve readability of painless script.
Jun 23 2021, 5:02 PM
KShivendu requested review of D5915: elasticsearch.py: Improve readability of painless script.
Jun 23 2021, 5:02 PM
KShivendu closed D5883: Setup storage and store last revision/release date.
Jun 23 2021, 4:40 PM
KShivendu committed rDSEA9bedaa95a39e: journal_client: Store last revision/release date (authored by KShivendu).
journal_client: Store last revision/release date
Jun 23 2021, 4:40 PM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.

Limit each line in commit message to 80 chars

Jun 23 2021, 4:31 PM
KShivendu closed D5912: .gitignore: Add .vscode/.
Jun 23 2021, 4:18 PM
KShivendu committed rDTPL4cf219b2d014: .gitignore: Add .vscode/ (authored by KShivendu).
.gitignore: Add .vscode/
Jun 23 2021, 4:18 PM
KShivendu requested review of D5912: .gitignore: Add .vscode/.
Jun 23 2021, 2:10 PM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.

Update commit messsage body

Jun 23 2021, 1:53 PM
KShivendu added a comment to D5883: Setup storage and store last revision/release date.

Can you also please also take care of updating it at the same time?

Jun 23 2021, 1:37 PM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.
  • rename the type parameter to date_type
  • add .vscode to .gitignore
Jun 23 2021, 1:24 PM
KShivendu added a comment to D5883: Setup storage and store last revision/release date.

Is it okay if I add .vscode in .gitignore. It often gets included by mistake. swh-indexer, swh-storage and swh-web already have it in their .gitignore files.

Jun 23 2021, 6:36 AM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.
  • Improve code quality
Jun 23 2021, 6:30 AM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.
  • Improve code quality (as suggested by @anlambert)
Jun 23 2021, 6:27 AM

Jun 21 2021

KShivendu added inline comments to D5883: Setup storage and store last revision/release date.
Jun 21 2021, 8:18 AM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.
  • Changes suggested by vlorentz
Jun 21 2021, 8:11 AM
KShivendu added inline comments to D5883: Setup storage and store last revision/release date.
Jun 21 2021, 7:58 AM

Jun 18 2021

KShivendu updated the diff for D5883: Setup storage and store last revision/release date.
  • Throw error in absence of storage config
Jun 18 2021, 5:22 PM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.
  • Add test for fetch_last_revision_release_date in journal_client
  • Add missing arguments and tests related to last_release_date
Jun 18 2021, 5:09 PM
KShivendu created P1073 Cannot add revisions in swh.storage (atleast when using in_memory implementation).
Jun 18 2021, 4:20 PM
KShivendu added inline comments to D5883: Setup storage and store last revision/release date.
Jun 18 2021, 1:29 PM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.
  • Include last revision/release date only when available
Jun 18 2021, 1:23 PM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.
  • merge the fetch_last_*_date methods
  • Use snapshot_get_all_branches instead of snapshot_get_branches
  • Fix diff/commit description/message
  • Use in-memory backend in test_cli.py
Jun 18 2021, 1:06 PM
KShivendu updated the summary of D5883: Setup storage and store last revision/release date.
Jun 18 2021, 1:03 PM
KShivendu retitled D5883: Setup storage and store last revision/release date from Add last_revision_date and last_release_date to Setup storage and store last revision/release date.
Jun 18 2021, 1:02 PM
KShivendu retitled D5883: Setup storage and store last revision/release date from Add last_revision_daate and last_release_date to Add last_revision_date and last_release_date.
Jun 18 2021, 1:02 PM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.

Rebase and only include new commit

Jun 18 2021, 11:02 AM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.
  • Store last_eventful_visit_date
  • Add last_revision_daate and last_release_date
Jun 18 2021, 11:00 AM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.

Squash commits

Jun 18 2021, 10:49 AM
KShivendu updated the diff for D5883: Setup storage and store last revision/release date.
  • Load swh.storage from config
Jun 18 2021, 10:41 AM

Jun 17 2021

KShivendu closed D5878: Store last_eventful_visit_date.
Jun 17 2021, 7:47 PM
KShivendu committed rDSEA35570b4284f6: Store last_eventful_visit_date (authored by KShivendu).
Store last_eventful_visit_date
Jun 17 2021, 7:47 PM
KShivendu requested review of D5883: Setup storage and store last revision/release date.
Jun 17 2021, 1:47 PM
KShivendu updated the diff for D5878: Store last_eventful_visit_date.
  • Reset index at the end of permutation loops
Jun 17 2021, 11:04 AM
KShivendu added inline comments to D5878: Store last_eventful_visit_date.
Jun 17 2021, 10:17 AM
KShivendu added inline comments to D5878: Store last_eventful_visit_date.
Jun 17 2021, 10:15 AM
KShivendu updated the diff for D5878: Store last_eventful_visit_date.

Fix scope of variables used in permutation test

Jun 17 2021, 9:11 AM

Jun 16 2021

KShivendu updated the diff for D5878: Store last_eventful_visit_date.
  • Add test for last_eventful_visit_date with permutations
  • Use type "keyword" for "snapshot_id"
Jun 16 2021, 7:30 PM
KShivendu added inline comments to D5878: Store last_eventful_visit_date.
Jun 16 2021, 10:31 AM
KShivendu requested review of D5878: Store last_eventful_visit_date.
Jun 16 2021, 10:24 AM

Jun 15 2021

KShivendu closed D5824: journal_client: Store visit count and last visit date.
Jun 15 2021, 12:16 PM
KShivendu committed rDSEA8b2c87f4e1b4: Store nb_visits and last_visit_date (authored by KShivendu).
Store nb_visits and last_visit_date
Jun 15 2021, 12:16 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Fix origin_search() documentation and squash commits

Jun 15 2021, 10:41 AM

Jun 14 2021

KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Match origin_search signatures

Jun 14 2021, 6:53 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Re-adjust position of "noqa" for painless script (after applying dedent)

Jun 14 2021, 6:42 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Fix mypy issues

Jun 14 2021, 6:29 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Use gte filter instead of equality

Jun 14 2021, 6:18 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Pull from origin and rebase branch

Jun 14 2021, 5:48 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.
  • Use gte filter instead of equality
Jun 14 2021, 5:41 PM

Jun 11 2021

KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Update docstring to fix sphinx warnings

Jun 11 2021, 7:28 AM

Jun 10 2021

KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.
  • Add field type in es
Jun 10 2021, 8:01 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

An attempt to fix error

Jun 10 2021, 7:20 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Handle difference in iso formats of datetime and elasticsearch(painless) using .replace

Jun 10 2021, 2:31 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Fixes for failing tests

Jun 10 2021, 2:04 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.
  • use compareTo function instead of <. This should fix the painless script
Jun 10 2021, 1:37 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.
  • Improve documentation + tests and fix painless script
Jun 10 2021, 1:08 PM
KShivendu added inline comments to D5824: journal_client: Store visit count and last visit date.
Jun 10 2021, 12:27 PM

Jun 9 2021

KShivendu updated subscribers of D5824: journal_client: Store visit count and last visit date.
Jun 9 2021, 6:29 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.
  • mypy: Fix errors with release >= v0.900 (commit made by @anlambert. I'm including it so that my builds don't fail)
  • Store visit count and last visit date
  • Add tests for last_visit_date
Jun 9 2021, 6:28 PM
KShivendu added a comment to D5824: journal_client: Store visit count and last visit date.

Could you also add a test in test_search.py making sure nb_visit actually does get updated?

Jun 9 2021, 6:25 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Include missing commit

Jun 9 2021, 6:22 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Add tests for last_visit_date

Jun 9 2021, 6:20 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Use noqa instead of multiple """

Jun 9 2021, 11:14 AM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Use """ to overcome line length limits for writing long Painless scripts statements

Jun 9 2021, 7:29 AM

Jun 8 2021

KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Add code to test painless script for merging values atomically

Jun 8 2021, 5:02 PM
KShivendu updated the diff for D5824: journal_client: Store visit count and last visit date.

Use painless script to atomically merge nb_visit and last_visit_date (max values)

Jun 8 2021, 1:52 PM
KShivendu added a comment to D5824: journal_client: Store visit count and last visit date.

There is no guarantee on the order of visits, so you should explicitly prevent nb_visit and last_visit_date from being set to a lower value in origin_update.

Jun 8 2021, 12:54 PM

Jun 7 2021

KShivendu added inline comments to D5824: journal_client: Store visit count and last visit date.
Jun 7 2021, 6:18 PM
KShivendu requested review of D5824: journal_client: Store visit count and last visit date.
Jun 7 2021, 6:14 PM

May 4 2021

KShivendu added a comment to D5326: Add a --version option to all the CLI commands.

Hi @vlorentz, I suspect this diff would have also introduced an issue similar to the one mentioned in T3209. What do you suggest?

May 4 2021, 4:03 PM
KShivendu added a comment to T3304: Kafka throws flush timeout error.

If you face this issue, try restarting the containers using docker-compose down and docker-compose up.

May 4 2021, 4:00 PM · Docker environment, Journal
KShivendu added projects to T3304: Kafka throws flush timeout error: Journal, Core Loader.
May 4 2021, 11:53 AM · Docker environment, Journal
KShivendu created T3304: Kafka throws flush timeout error.
May 4 2021, 11:51 AM · Docker environment, Journal
KShivendu added a comment to T2687: nixguix: Add support for downloads over FTP.

Hey @vlorentz, the sentry link isn't working (or maybe isn't publically accessible).

May 4 2021, 9:23 AM · Nixguix loader, Easy hack

May 3 2021

KShivendu closed D5618: tests/inmemory: Ensure privileged objects are stored properly.
May 3 2021, 12:05 PM
KShivendu committed rDJNL2972c7a694aa: tests/inmemory: Ensure privileged objects are stored properly (authored by KShivendu).
tests/inmemory: Ensure privileged objects are stored properly
May 3 2021, 12:05 PM
KShivendu updated the diff for D5618: tests/inmemory: Ensure privileged objects are stored properly.

Rebase

May 3 2021, 12:01 PM

May 1 2021

KShivendu updated the diff for D5618: tests/inmemory: Ensure privileged objects are stored properly.

Use set instead of sorting

May 1 2021, 7:59 AM

Apr 30 2021

KShivendu added a comment to D5618: tests/inmemory: Ensure privileged objects are stored properly.
assert sorted(expected) == sorted(writer.objects)

These are of type ImmutableDict and hence can't be sorted directly

What is? It works for me.

Apr 30 2021, 11:31 AM
KShivendu updated the diff for D5618: tests/inmemory: Ensure privileged objects are stored properly.
  • Convert ListProxy to List and compare with []
  • Use sorted function and populate writer with TEST_OBJECTS
Apr 30 2021, 11:17 AM

Apr 29 2021

KShivendu added a comment to D5618: tests/inmemory: Ensure privileged objects are stored properly.
assert sorted(expected) == sorted(writer.objects)

These are of type ImmutableDict and hence can't be sorted directly

assert writer.privileged_objects == []

throws an error because writer.privileged_objects is of type ListProxy and can't be directly compared to a list

Apr 29 2021, 2:18 PM
KShivendu updated the diff for D5618: tests/inmemory: Ensure privileged objects are stored properly.

Improve time complexity using sorting

Apr 29 2021, 2:04 PM