Giter VIP home page Giter VIP logo

Comments (9)

Finii avatar Finii commented on June 10, 2024 1

Well, I merged #1599, and set this to solved for the time being. We can improve at any time.

from nerd-fonts.

Finii avatar Finii commented on June 10, 2024

Thanks for the suggestion. This sounds useful and not too hard 👍

from nerd-fonts.

Finii avatar Finii commented on June 10, 2024

Do you have an idea how to express a SIL with RFN as SPDX? Just OFL-1.1-RFN or has the reserved name to be put somewhere? 🤔

from nerd-fonts.

Finii avatar Finii commented on June 10, 2024

SO. Needed to finish the release first ;-)

I believe this is a very good idea. We here also 'pack' the Nerd Font release, as Cask, and for that

  • all the archives are fetched (there is a helper script here)
  • calculate all the shas
  • throw away all archives

In principle the shas could be calculated earlier in the release process - when the archives are created we have them and calculating the checksum would be a breeze.

There is other 'metadata' that is strewn around in the repo, which I really hate: the config.cfg and the config.json (:sob:) and the almighty fonts.json. 🤔

Your examples: Thank you for providing the direct insight.
Nice is they all seem to use the tar.xz archives.

from nerd-fonts.

Finii avatar Finii commented on June 10, 2024
  • sha256sum of the release archive

Alpine uses sha512 😬

I believe for

  1. original name for the font
  2. nerd font name of the font
  3. archive name
  4. sha256sum of the release archive
  5. license, as an SPDX License Expression

1, 2, and 3 (implicitely) are already in fonts.json. Here an example entry:

   {
      "unpatchedName": "Bitstream Vera Sans Mono",
      "RFN": true,
      "version": "1.1",    
      "patchedName": "BitstromWera",
      "folderName": "BitstreamVeraSansMono",
      "imagePreviewFont": "BitstromWera Nerd Font",
      "imagePreviewFontSource": "BitstreamVeraSansMono/Regular/VeraMono.ttf",
      "linkPreviewFont": "bitstream-vera",
      "caskName": "bitstream-vera-sans-mono",
      "repoRelease": true,
      "description": "Dotted zero, compact lowercase characters"
    },
  • original name for the font unpatchedName
  • nerd font name of the font patchedName
  • archive name .../releases/download/v{{ site.current_version }}/{{ font.folderName }}.zip (resp .xz)
  • sha256sum of the release archive
  • license, as an SPDX License Expression

from nerd-fonts.

jcgruenhage avatar jcgruenhage commented on June 10, 2024

Thanks for pointing out fonts.json - I wasn't aware of that and didn't look outside of the repo root. I think if the license expression is added there, the only bit missing is the checksum. I'm fine with that being missing though, that is something I can easily generate myself if necessary. If no one else has capacity to add the SPDX expressions, I can probably do that, but only towards the summer. My next three months are packed.

from nerd-fonts.

Finii avatar Finii commented on June 10, 2024

If no one else has capacity to add the SPDX expressions, I can probably do that, but only towards the summer. My next three months are packed.

Well, my time is also overbooked by a factor of 3 ;-D

Whatever, maybe you @jcgruenhage can have a quick look at the PR

and check if it is useful.

For special licenses (which have no identifier in the SPDX table) I added something along these lines:

@@ -834,6 +898,7 @@
     },
     {
       "unpatchedName": "Ubuntu Sans",
+      "licenseId": "LicenseRef-UbuntuFont",
       "RFN": false,
       "version": "1.004",
       "patchedName": "UbuntuSans",

i.e. I added a LicenseRef- tag, but that is not resolved in the font.json file. Well, it's not a well formed SPDX file anyhow ;-)
But maybe that is useful?

from nerd-fonts.

jcgruenhage avatar jcgruenhage commented on June 10, 2024

@Finii thanks!

from nerd-fonts.

Finii avatar Finii commented on June 10, 2024

The next release (i.e. 3.2.1) will come with a checksum file, hope that helps:

image

with content similar to this (here the release contained just 3 fonts to make the test faster)

image

Any comment @jcgruenhage ? Thank you!

from nerd-fonts.

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.