Page MenuHomeSoftware Heritage

Easy hackTag
ActivePublic

Members

  • This project does not have any members.

Watchers

  • This project does not have any watchers.

Details

Description

Tasks that have been determined to be great starting points for new contributors

Recent Activity

Oct 4 2019

zack closed T1986: swh.model.identifiers: move validation from parsing_persistent_identifier to PersistentId constructor as Resolved by committing rDMOD375832f51bf5: PID: move validation checks to PersistentId constructor.
Oct 4 2019, 7:11 PM · Easy hack, Data Model

Sep 17 2019

anlambert closed T1959: Bitbucket missing from archive.softwareheritage.org's home page as Resolved by committing rDWAPPS34d55ba84559: misc/coverage: Add Bitbucket as source code provider.
Sep 17 2019, 5:04 PM · Easy hack, Web app

Sep 5 2019

zack triaged T1986: swh.model.identifiers: move validation from parsing_persistent_identifier to PersistentId constructor as Low priority.
Sep 5 2019, 5:39 PM · Easy hack, Data Model

Sep 1 2019

nahimilega updated the task description for T1946: Improve run_a_new_lister.rst file.
Sep 1 2019, 10:07 PM · Easy hack, Development documentation, Lister

Aug 22 2019

vlorentz added a project to T1946: Improve run_a_new_lister.rst file: Easy hack.
Aug 22 2019, 12:30 PM · Easy hack, Development documentation, Lister

Aug 21 2019

rdicosmo added a comment to T1959: Bitbucket missing from archive.softwareheritage.org's home page.

This is now particularly imporant, following the sunset announcement from Bitbucket, here: https://bitbucket.org/blog/sunsetting-mercurial-support-in-bitbucket

Aug 21 2019, 9:28 AM · Easy hack, Web app

Aug 20 2019

vlorentz updated the task description for T1959: Bitbucket missing from archive.softwareheritage.org's home page.
Aug 20 2019, 5:31 PM · Easy hack, Web app
vlorentz added a project to T1959: Bitbucket missing from archive.softwareheritage.org's home page: Easy hack.
Aug 20 2019, 5:30 PM · Easy hack, Web app

Jul 22 2019

twitu closed T1633: skipped_content_missing is not implemented by the in-memory storage as Resolved.
Jul 22 2019, 5:12 PM · Easy hack, Storage manager

Jul 9 2019

twitu added a comment to T1433: Refactor output of indexer storage's `get` methods..

I went through all the tests in test_storage.py. It appears that only content_fossology_license_get needs to be refactored. All other storage methods return a dictionary or a list of dictionaries, where each dictionary has multiple keys.

Jul 9 2019, 5:28 AM · Easy hack, Indexer

Jul 8 2019

vlorentz updated the task description for T1433: Refactor output of indexer storage's `get` methods..
Jul 8 2019, 1:25 PM · Easy hack, Indexer

Jul 7 2019

twitu added a comment to T1433: Refactor output of indexer storage's `get` methods..

I am familiar with the web APIs and I went through the discussion in T782. When you say output a single dictionary, I believe you mean something like this

{
  sha1: [
    {tool: TOOL, licenses: [licences]},
    {tool: TOOL, licenses: [licences]}
  ],
Jul 7 2019, 4:23 PM · Easy hack, Indexer

Jun 28 2019

twitu closed T1836: Reformat docstrings that exceed 80 columns as Resolved.
Jun 28 2019, 5:25 AM · Development documentation, Easy hack

Jun 27 2019

twitu updated the task description for T1836: Reformat docstrings that exceed 80 columns.
Jun 27 2019, 7:40 PM · Development documentation, Easy hack
twitu updated the task description for T1836: Reformat docstrings that exceed 80 columns.
Jun 27 2019, 4:11 PM · Development documentation, Easy hack
ardumont added a comment to T1836: Reformat docstrings that exceed 80 columns.

I followed swh-docker-dev documentation to host the setup locally. But it only hosts the web portal, I couldn't access locally hosted documentation. How can I see the effect my changes are making?

Jun 27 2019, 9:44 AM · Development documentation, Easy hack
twitu added a comment to T1836: Reformat docstrings that exceed 80 columns.

I followed swh-docker-dev documentation to host the setup locally. But it only hosts the web portal, I couldn't access locally hosted documentation. How can I see the effect my changes are making?

Jun 27 2019, 6:51 AM · Development documentation, Easy hack

Jun 26 2019

twitu updated the task description for T1836: Reformat docstrings that exceed 80 columns.
Jun 26 2019, 7:11 PM · Development documentation, Easy hack
anlambert added a comment to T1836: Reformat docstrings that exceed 80 columns.

From my point of view, it is not a big deal if some docstrings and url declarations exceed the 80 columns limit.

Jun 26 2019, 7:10 PM · Development documentation, Easy hack
twitu added a comment to T1836: Reformat docstrings that exceed 80 columns.

what is the expected formatting for snippets like these

the 80 character mark is -----------------------------------------------------------------|
@browse_route(r'origin/(?P<origin_type>[a-z]+)/url/(?P<origin_url>.+)/visit/(?P<timestamp>.+)/directory/', # noqa
              r'origin/(?P<origin_type>[a-z]+)/url/(?P<origin_url>.+)/visit/(?P<timestamp>.+)/directory/(?P<path>.+)/', # noqa
              r'origin/(?P<origin_type>[a-z]+)/url/(?P<origin_url>.+)/directory/', # noqa
              r'origin/(?P<origin_type>[a-z]+)/url/(?P<origin_url>.+)/directory/(?P<path>.+)/', # noqa
              r'origin/(?P<origin_url>.+)/visit/(?P<timestamp>.+)/directory/', # noqa
              r'origin/(?P<origin_url>.+)/visit/(?P<timestamp>.+)/directory/(?P<path>.+)/', # noqa
              r'origin/(?P<origin_url>.+)/directory/', # noqa
              r'origin/(?P<origin_url>.+)/directory/(?P<path>.+)/', # noqa
              view_name='browse-origin-directory')
def origin_directory_browse(request, origin_url, origin_type=None,
                            timestamp=None, path=None):
    """Django view for browsing the content of a directory associated
    to an origin for a given visit.
Jun 26 2019, 6:51 PM · Development documentation, Easy hack
twitu added a comment to T1836: Reformat docstrings that exceed 80 columns.
"""Django view that produces an HTML display of a content identified
    by its hash value.
Jun 26 2019, 6:37 PM · Development documentation, Easy hack
vlorentz added a project to T1850: Don't try to resolve search queries that don't look like a PID: Easy hack.
Jun 26 2019, 3:56 PM · Easy hack, Web app

Jun 25 2019

vlorentz closed T1613: Add a public API endpoint to get the metadata of an origin as Resolved.
Jun 25 2019, 6:25 PM · Easy hack, Metadata workflow, Web app
twitu closed T1527: Have comments on all columns of all databases as Resolved.
Jun 25 2019, 6:25 PM · Easy hack, Development documentation, Storage manager, Scheduling utilities, Indexer
twitu added a comment to T1613: Add a public API endpoint to get the metadata of an origin.

This task is completed it can be closed.

Jun 25 2019, 6:24 PM · Easy hack, Metadata workflow, Web app

Jun 24 2019

twitu updated the task description for T1527: Have comments on all columns of all databases.
Jun 24 2019, 6:28 PM · Easy hack, Development documentation, Storage manager, Scheduling utilities, Indexer

Jun 21 2019

vlorentz added a comment to T1836: Reformat docstrings that exceed 80 columns.

Though I admit I'm not familiar with any reformatting tool, so it's possible they support it.

Jun 21 2019, 10:12 AM · Development documentation, Easy hack
vlorentz added a comment to T1836: Reformat docstrings that exceed 80 columns.

This should probably be reformatted manually, because our docstrings use special formats (used by sphinx and sphinxcontrib-httpdomain when building the documentation), which these tools are not aware of and may break.

Jun 21 2019, 10:11 AM · Development documentation, Easy hack
twitu added a comment to T1836: Reformat docstrings that exceed 80 columns.

I have checked autopep8 and black, none of these claim to reformat long doc strings properly. This may require custom scripting or editing it by hand. However autopep8 did suggest some other changes when I tried it out. Is there a reason a linter is used instead of a formatter?

Jun 21 2019, 8:54 AM · Development documentation, Easy hack

Jun 20 2019

nahimilega closed T1813: Missing triple back quote after lister-gnu in README of lister as Resolved.
Jun 20 2019, 7:25 PM · Lister, Easy hack
vlorentz added a comment to T1613: Add a public API endpoint to get the metadata of an origin.

Don't use the origin_metadata of swh-storage, it contains a different kind of metadata that we are not interested in for now.

Jun 20 2019, 5:32 PM · Easy hack, Metadata workflow, Web app
twitu added a comment to T1613: Add a public API endpoint to get the metadata of an origin.

I wan to clarify the return value for this api. In swh-storage, table origin_metadata contains the metadata of an origin for a visit, listing etc. The primary key is an auto incremented value. This means that there can be multiple entries for a single origin_id. What is the expected JSON response for this API? I can include origin_id and a list of metadata values, is there anything else to return?

Jun 20 2019, 5:28 PM · Easy hack, Metadata workflow, Web app
vlorentz triaged T1836: Reformat docstrings that exceed 80 columns as Low priority.
Jun 20 2019, 3:01 PM · Development documentation, Easy hack
twitu added a comment to T1613: Add a public API endpoint to get the metadata of an origin.

Ok I'll try to implement and test this by tomorrow.

Jun 20 2019, 2:48 PM · Easy hack, Metadata workflow, Web app
vlorentz added a comment to T1613: Add a public API endpoint to get the metadata of an origin.
In T1613#33881, @twitu wrote:

If this issue is open, I can work on this. I believe I have to add the endpoint in /swh-web/swh/web/api/views/origin.py.

Jun 20 2019, 2:44 PM · Easy hack, Metadata workflow, Web app
twitu added a comment to T1613: Add a public API endpoint to get the metadata of an origin.

This is will also require adding a function to in swh/web/common/service.py that makes the query to swh-storage. The response will then have to be converted to a json response. I would like to take this up and add this api. Please suggest if there is wrong with the changes I am suggesting.

Jun 20 2019, 2:41 PM · Easy hack, Metadata workflow, Web app
twitu added a comment to T1527: Have comments on all columns of all databases.

D1582 has been pushed the task can be closed

Jun 20 2019, 10:26 AM · Easy hack, Development documentation, Storage manager, Scheduling utilities, Indexer

Jun 19 2019

twitu added a comment to T1613: Add a public API endpoint to get the metadata of an origin.

If this issue is open, I can work on this. I believe I have to add the endpoint in /swh-web/swh/web/api/views/origin.py. I will probably have to populate the db with an origin and test the api by making http requests, or is there a better way?

Jun 19 2019, 1:48 PM · Easy hack, Metadata workflow, Web app

Jun 18 2019

ardumont added a subtask for T808: phabricator lister: T1809: Deploy phabricator lister on swh forge.
Jun 18 2019, 2:20 PM · Easy hack, Phabricator forge

Jun 16 2019

NancyChauhan added a comment to T1813: Missing triple back quote after lister-gnu in README of lister .

Okay, @nahimilega Thanks. Will submit the correct patch soon

Jun 16 2019, 12:40 PM · Lister, Easy hack
nahimilega added a comment to T1813: Missing triple back quote after lister-gnu in README of lister .

We need three backquotes after the line

Jun 16 2019, 12:31 PM · Lister, Easy hack
NancyChauhan added a comment to T1813: Missing triple back quote after lister-gnu in README of lister .

@nahimilega I think I can work on this. Do you want the whole text after lister gnu into its own distinct block ( using triple backquote)

Jun 16 2019, 12:24 PM · Lister, Easy hack
nahimilega triaged T1813: Missing triple back quote after lister-gnu in README of lister as Normal priority.
Jun 16 2019, 11:54 AM · Lister, Easy hack

Jun 15 2019

twitu added a comment to T1527: Have comments on all columns of all databases.

All columns commented in swh-scheduler, waiting review.
Some columns for swh-storage required a small discussion to frame appropriate comments.

Jun 15 2019, 5:22 PM · Easy hack, Development documentation, Storage manager, Scheduling utilities, Indexer

Jun 14 2019

ardumont updated the task description for T1527: Have comments on all columns of all databases.
Jun 14 2019, 5:40 PM · Easy hack, Development documentation, Storage manager, Scheduling utilities, Indexer
twitu added a comment to T1527: Have comments on all columns of all databases.

All columns are already commented in swh-indexer

Jun 14 2019, 5:18 PM · Easy hack, Development documentation, Storage manager, Scheduling utilities, Indexer
twitu added a comment to T1527: Have comments on all columns of all databases.

Have added a few comments in D1582

Jun 14 2019, 8:30 AM · Easy hack, Development documentation, Storage manager, Scheduling utilities, Indexer

Jun 13 2019

ardumont added a comment to T1527: Have comments on all columns of all databases.

The latest upgrade is 136.sql while the version in 30-swh-schema.sql is 133. Should I name the next upgrade 137?

Jun 13 2019, 6:59 PM · Easy hack, Development documentation, Storage manager, Scheduling utilities, Indexer
twitu added a comment to T1527: Have comments on all columns of all databases.

there seems to be an inconsistency between sql/upgrades and latest sql version in swh-storage. The latest upgrade is 136.sql while the version in 30-swh-schema.sql is 133. Should I name the next upgrade 137?

Jun 13 2019, 6:54 PM · Easy hack, Development documentation, Storage manager, Scheduling utilities, Indexer
ardumont added a project to T1527: Have comments on all columns of all databases: Easy hack.
Jun 13 2019, 12:33 PM · Easy hack, Development documentation, Storage manager, Scheduling utilities, Indexer