Closed pathumego closed 7 years ago
@Malintha @lpsandaruwan thoughts?
This is nice. It is better if we can make a standard package format ASAP.
Would like to mention this, copied from Fontman old archives.
@davelab6 any inputs before @lpsandaruwan and I start work on this.
@pathumego I'm really happy with the structure Abhaya Libre Font has. Additionally, we can add a metadata file, a changelog to it and a specified text file with sample markdown text for Fontman to display. Or else let's add sample text to metadata file itself.
I suggest using an existing popular package format; rpm and deb are obviously classic and have many tools, perhaps Bower or something more github- and web-savvy is sufficient (the older formats have stuff like epochs so you can restart the version numbering if it's getting messy...) and maybe more familiar to the modern php/JS dev audience compared to old school GNU devs
On Dec 30, 2016 3:28 PM, "Lahiru Pathirage" notifications@github.com wrote:
@pathumego https://github.com/pathumego I'm really happy with the structure Abhaya Libre Font https://github.com/mooniak/abhaya-libre-font has. Additionally, we can add a metadata file, a changelog to it and a specified text file with sample markdown text for Fontman to display. Or else let's add sample text to metadata file itself.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fontman/fontman-server/issues/5#issuecomment-269784066, or mute the thread https://github.com/notifications/unsubscribe-auth/AAP9y9qoJImivOxfGpaCC9ScVlt8vWQ1ks5rNSMKgaJpZM4LWbTj .
@davelab6 Can you please clarify a little bit? :-)
Well, if the structure of the Abhaya Libre Font is sufficient, the github ZIP url - https://github.com/mooniak/abhaya-libre-font/archive/master.zip - provides a binary blob of it that you can reliably download and unpack and do what you want with. No further packaging required :)
@lpsandaruwan I think looking into how we can use the api to switch between versions is also important. If we only index repos using semver.org versions we can have canonical urls to pull data to server?
@pathumego Versioning won't be an issue.
I'm not sure whether I've been following the discussion clearly(outer space). :-D
Help me to clear my intentions here. :-) So there is this npm package, you can install it with
npm install fontman-tools
And then you can push a record to Fontman server by doing,
fontman push
like that?
@lpsandaruwan Lets clarify this tomorrow at our meeting :)
So as we discussed today, shall we use bower like config? :-)
Yep, I opened a repo here to move forward on this https://github.com/fontman/fontmanpkg-spec
Since we need to define the package definition for Fontman packages with folder structure, data and files. Basically a standard distribution package font binaries, metadata file structure, fontlog structure and many other things. I suggest making a repo and maintaining a sample package to showcase and test.
fontman/fontmanpkg
? When the api + standard packages we can find people to start work on packages and services for bower, npm and wordpress.