Giter VIP home page Giter VIP logo

Comments (5)

proksch avatar proksch commented on August 29, 2024 1

@amottier In our call some weeks ago, Cedric said that he will talk to Stefano to understand the details. I am not sure whether this happened before he left the project... do you have any further insights or would you be so nice to initiate the contact with Stefano to understand what exactly is required from our side?

from fasten.

amottier avatar amottier commented on August 29, 2024

@gousiosg you mention that we are currently computing SHA1 but in the wiki I found a reference to SHA256.

As I'm not very familiar with the overall FASTEN architecture I have trouble locating the code that is actually computes the SHA.
Can you point me to the appropriate direction so I can double check if we are using SHA-1 or SHA-256 and update (if need) the wiki?

Thanks.

from fasten.

proksch avatar proksch commented on August 29, 2024

Adding a small comment just to raise this issue to the top. Should be an easy fix and should be implemented before the next restart of the whole pipeline.

from fasten.

amottier avatar amottier commented on August 29, 2024

Documentation of the Python tool (swh-identify) to generate the SWHID: https://docs.softwareheritage.org/devel/swh-model/persistent-identifiers.html#computing

from fasten.

mir-am avatar mir-am commented on August 29, 2024

@proksch, @amottier
To implement this feature, I have looked into the Metadata DB code. I have two findings:
1- ATM, we do NOT insert checksum for the files table. Therefore, its value is always null. Instead of adding a new column, we can insert SWH-compatible SHA into this field.
2- It seems that we do not have access to contents/source code for files of a package version. Therefore, it may not be possible to implement what Georgios described above.

from fasten.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.