fontman / fontman-server

Fontman server
GNU General Public License v3.0
3 stars 1 forks source link

Fontman package definition #5

Closed pathumego closed 7 years ago

pathumego commented 7 years ago

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.

pathumego commented 7 years ago

@Malintha @lpsandaruwan thoughts?

lpsandaruwan commented 7 years ago

This is nice. It is better if we can make a standard package format ASAP.

lpsandaruwan commented 7 years ago

Would like to mention this, copied from Fontman old archives.

ar

pathumego commented 7 years ago

@davelab6 any inputs before @lpsandaruwan and I start work on this.

lpsandaruwan commented 7 years ago

@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.

davelab6 commented 7 years ago

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 .

lpsandaruwan commented 7 years ago

@davelab6 Can you please clarify a little bit? :-)

davelab6 commented 7 years ago

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 :)

pathumego commented 7 years ago

@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?

lpsandaruwan commented 7 years ago

@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?

pathumego commented 7 years ago

@lpsandaruwan Lets clarify this tomorrow at our meeting :)

lpsandaruwan commented 7 years ago

So as we discussed today, shall we use bower like config? :-)

pathumego commented 7 years ago

Yep, I opened a repo here to move forward on this https://github.com/fontman/fontmanpkg-spec