taskManeage - Tasks: task #15982, Generating SoftwareHeritage IDs...


You are not allowed to post comments on this tracker with your current authentication level.

task #15982: Generating SoftwareHeritage IDs locally

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Sat 12 Jun 2021 11:15:46 AM UTC
Should Start On:  Fri 11 Jun 2021 11:00:00 PM UTC Should be Finished on:  Fri 11 Jun 2021 11:00:00 PM UTC
Category:  Analysis Priority:  5 - Normal
Status:  Need Info Privacy:  Public
Percent Complete:  0% Assigned to:  None
Open/Closed:  Open Effort:  0.00

Sat 12 Jun 2021 11:15:46 AM UTC, original submission:  

[A question to Morane from Software Heritage is in the end middle]

In the Maneage paper, the actual Software Heritage IDs (SWHIDs) are inserted into the LaTex source of the paper, because we got the SWHIDs from the webpage (literally, copy-pasted them).

This may cause a conflict between the git history of the SWHID in the paper, and the git commit that is also printed in the paper. For example in the final submission of the Maneage paper to Zenodo, the SWHID in Footnote 1, doesn't correspond to the commit hash that is reported in the end of the abstract.

This was happening because the SWHIDs are hard-coded into the LaTeX source and I had no way of knowing them before making the commit!

This problem can be fixed by setting LaTeX macros for the SWHIDs that are reported in the paper, just like the LaTeX macros we define for printing the Git commit in the paper.

Fortunately Software Heritage does have a command-line interface program that can be used to generate the SWHIDs based on the Git history locally and without needing to go the web.

If it doesn't have any dependencies beyond Manaeage's basic/always-installed software, we can add it in the basic installation step of Maneage to always give users this LaTeX macro.

For defining this task, I tried to find how to obtain and install the 'swh' exectuable mentioned in the link above. But I could only find this page that apparently describes the full Software Heritage installation (including the web interface).

Morane, is this the correct page to install that 'swh' command-line program?

I hope it isn't ;-)! If it is we won't be able to do this due to all the complex dependency tree. In this case, are there any plans to make a stand-alone 'swh' command-line program that doesn't use anything except the "basic" dependencies mentioned above (for longevity: because Python 4 will come some day and there is no guarantee that it conforms with Python 3)?

Morane, you can directly answer on GNU Savannah by just registering on its webpage and adding a comment here. You can also answer me privately and I'll put it here.

Mohammad Akhlaghi <makhlaghi>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)
  • -email is unavailable- added by makhlaghi

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.




    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-06-12 makhlaghi Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.9