#13 Ensure user can always publish posts

Öppen
öppnade 6 år sedan av matt · 5 kommentarer
matt kommenterad 6 år sedan

Right now the app fails to publish when writeas (the CLI) isn’t installed or available on a user’s $PATH.

Either:

Install the CLI (if it’s missing) during the install process (best solution), or

Prompt the user to install the CLI if it’s not found when trying to publish

Right now the app fails to publish when `writeas` (the CLI) isn't installed or available on a user's `$PATH`. **Either:** Install the CLI (if it's missing) during the install process (**best solution**), or Prompt the user to install the CLI if it's not found when trying to publish
matt ändrade titeln från Prompt user to install CLI when not found till Ensure user can always publish posts 5 år sedan
matt lade till etiketten
high priority
5 år sedan
adrian kommenterad 5 år sedan
Deltagare

For now I think I’ll package the CLI app in the same Debian package as this app, to keep everything in one repository.

Though it would be cleaner to package the CLI seperately (and while you’re at it, your brand fonts) and declare them as dependencies. This would also require setting up your own package repository, which is a common thing for many projects anyways just as a way to distribute updates.

I’ve been going through these tasks faster then I originally thought (given how much I struggled last time) so let me know if you want me to help get you started with that approach.

For now I think I'll package the CLI app in the same Debian package as this app, to keep everything in one repository. Though it would be cleaner to package the CLI seperately (and while you're at it, your brand fonts) and declare them as dependencies. This would also require setting up your own package repository, which is a common thing for many projects anyways just as a way to distribute updates. I've been going through these tasks faster then I originally thought (given how much I struggled last time) so let me know if you want me to help get you started with that approach.
matt kommenterad 5 år sedan
Ägare

Yeah, I’d like it to be set up the right way, and would definitely appreciate your advice on the best way to do it. I have started getting a PPA going for the CLI before here, but wasn’t sure if I was doing it the right way

Yeah, I'd like it to be set up the right way, and would definitely appreciate your advice on the best way to do it. I have started getting a PPA going for the CLI before [here](https://launchpad.net/~writeas), but wasn't sure if I was doing it the right way
adrian kommenterad 5 år sedan
Deltagare

O.K., I just failed to pull the CLI into this same package anyways.

I’ll contribute debian packaging to https://github.com/writeas/writeas-cli, though I haven’t done it for go packages before. So I wouldn’t know if I’m doing that right either.

O.K., I just failed to pull the CLI into this same package anyways. I'll contribute debian packaging to https://github.com/writeas/writeas-cli, though I haven't done it for go packages before. So I wouldn't know if I'm doing that right either.
adrian kommenterad 5 år sedan
Deltagare

I’m not all that experienced with Debian packaging, bascially I just know how to package anything with a Meson or Make build systems.

Packaging Go code is new to me, and ideally the font “Lora” should also be installed alongside writeas-gtk. I have some knowledge of what is involved in packaging fonts, but not a working knowledge of how to do so.

I’ve given a go at packaging your CLI for Debian, and if that fails for you I’ve got some other ideas to try out with you. But you may go further by finding sysadmin who knows these tools better than me.

I'm not all that experienced with Debian packaging, bascially I just know how to package anything with a Meson or Make build systems. Packaging Go code is new to me, and ideally the font "Lora" should also be installed alongside writeas-gtk. I have some knowledge of what is involved in packaging fonts, but not a working knowledge of how to do so. I've given a go at packaging your CLI for Debian, and if that fails for you I've got some other ideas to try out with you. But you may go further by finding sysadmin who knows these tools better than me.
matt kommenterad 5 år sedan
Ägare

Awesome, thanks for trying that out -- I’ll take a look.

It’d be great to get any help you could offer on packaging up Lora, since that’s such a key font for Write.as.

Awesome, thanks for trying that out -- I'll take a look. It'd be great to get any help you could offer on packaging up Lora, since that's such a key font for Write.as.
Logga in för att delta i denna konversation.
Ingen Milsten
Ingen tilldelad
2 Deltagare
Notiser
Förfallodatum

0001-01-01 Försenad

Beroenden

Det här ärendet har för närvarande inga beroenden.

Laddar…
Det finns inget innehåll än.