Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sunset in-repo releases #1360

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Sunset in-repo releases #1360

merged 1 commit into from
Sep 27, 2023

Conversation

Finii
Copy link
Collaborator

@Finii Finii commented Sep 27, 2023

[why]
We struggle with the pack-committing of patched fonts to the repository on release. This makes our repo grow extremely big. It would be better to just use release artifacts for the releases and not commit any patched font back.
There were different approaches discussed, but the problem remains that I personally have no rights to implement anything of that - neither can I force push to the default branch, nor can I create new repos in the organization.

[how]
To make it still possible to add new fonts without a repo size explosion we do not release NEW fonts back to the repository as commits, but old fonts are handled as before.
NEW fonts:

  • have a new property set in the fonts.yaml 'database'
  • are released as release artifact via release workflow (but not committed back)
  • get a readme in the patched_fonts/ directory that points to the release artifact page

The solution is not ideal, but for sure better than not adding any fonts anymore or having the repo grow in size faster and faster.

At some point in time I would like to phase out all in-repo releases, also for OLD fonts.

This scheme has been (manually) used / introduced for Intel One. With this change the .gitignore file is automatically adapted to any new font that is added with the repoRelease flag set to false (which should be the default for any added font from now on).

Requirements / Checklist

What does this Pull Request (PR) do?

How should this be manually tested?

Push to fork repository and let the action run there.

Any background context you can provide?

What are the relevant tickets (if any)?

Screenshots (if appropriate or helpful)

[why]
We struggle with the pack-committing of patched fonts to the repository
on release. This makes our repo grow extremely big. It would be better
to just use release artifacts for the releases and not commit any
patched font back.
There were different approaches discussed, but the problem remains that
I personally have no rights to implement anything of that - neither can
I force push to the default branch, nor can I create new repos in the
organization.

[how]
To make it still possible to add new fonts without a repo size
explosion we do not release NEW fonts back to the repository as commits,
but old fonts are handled as before.
NEW fonts:
 * have a new property set in the fonts.yaml 'database'
 * are released as release artifact via release workflow (but not
   committed back)
 * get a readme in the patched_fonts/ directory that points to the
   release artifact page

The solution is not ideal, but for sure better than not adding any fonts
anymore or having the repo grow in size faster and faster.

At some point in time I would like to phase out all in-repo releases,
also for OLD fonts.

This scheme has been (manually) used / introduced for Intel One.
With this change the .gitignore file is automatically adapted to any new
font that is added with the repoRelease flag set to false (which should
be the default for any added font from now on).

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
@Finii Finii mentioned this pull request Sep 27, 2023
3 tasks
@Finii Finii merged commit 090fbbe into master Sep 27, 2023
1 check passed
@Finii Finii deleted the feature/Sunset-in-repo-releases branch September 27, 2023 09:20
dragonmaus added a commit to dragonmaus/termux-styling that referenced this pull request Mar 24, 2024
Fetch script updated to handle the upstream sunsetting of in-repo releases (ryanoasis/nerd-fonts#1360).

The script will now fetch the tarball and extract the appropriate file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant