Git Product home page Git Product logo

Comments (5)

mondeja avatar mondeja commented on May 23, 2024 1

Sorry I haven't understood what you was trying to said.

You're right, the distribution folder is not generated before we "upload" to Packagist. I'm not sure how can we upload these assets to Packagist as they just release the tag pushed to Github, just supposing that we need to include the distribution folder in the tag which is... strange IMHO? Not sure. This problem can be checked downloading manually the latest version through this URL.

Unfortunately I don't have time to work on this nor motivation as I haven't used PHP in my whole life. This integration was added by a developer that is no longer part of the Simple Icons maintainers team. If someone want to bring a solution feel free to open a PR.

from simple-icons-font.

bobmagicii avatar bobmagicii commented on May 23, 2024

why have the composer package then? shrug

your readme will need updated because it suggests its one and done with composer. right now it says, install with composer, then see manual setup instructions. manual setup instructions say dl dist and link to css file. which does not exist in composer package. so why have the package if we are to just download the dist anyway. 🙃

from simple-icons-font.

bobmagicii avatar bobmagicii commented on May 23, 2024

alright, i'll hit up my composer buddies for suggestions before i submit an idea with a sledgehammer that could have been a screwdriver.

from simple-icons-font.

bobmagicii avatar bobmagicii commented on May 23, 2024

after discussing with some peeps about what we're used to seeing in our corner of the eco system i got back three main ideas. none of these are demands just what i got back in my polling.

  1. my least fav - just not have the package. right now its a very goofy series of events where you would composer install and then download the release.zip. when you could just... download the release.zip. right now its got 37 downloads according to packagist.org, and at least 4 of them are me, so i don't forsee a swamping of issue tickets of people being like "what the hell" the rest of your life heheh.

  2. amend the readme with more verbose how to for the less js front end toolchain inclined like us backenders. how do we go from cd vendor/simple-icons/simple-icons-font to having a working css and font file in there, etc.

  3. my personal fav because it seems more common in my experience, so naturally the least convenient for you: change build practices such that you compile a dist dir, commit it, tag it, and you are done. no more ever uploading a release.zip, people just download the zip github will make and associate with that tag automatically. then the manual installers and the backend installers have everything they need. obviously i am not equipped to judge how this would mess with the npm normies. but yeah as a backend guy im pretty used to ninja'ing dist dirs from the repo and being done.

from simple-icons-font.

mondeja avatar mondeja commented on May 23, 2024

The solution is much more simpler but I don't have the motivation to do it testing it manually.

Just add a step to the publish workflow (after this step) to build the fonts before tagging the release, including the generated distribution folder (dist/) on the tag. After that, the fonts will be included in the Packagist package.

from simple-icons-font.

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.