#13 Ensure user can always publish posts

Open
opened 6 jaren geleden by matt · 5 comments
matt commented 6 jaren geleden

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 titel aangepast van Prompt user to install CLI when not found naar Ensure user can always publish posts 5 jaren geleden
matt voegde het
high priority
label 5 jaren geleden toe
adrian commented 5 jaren geleden
Medewerker

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 commented 5 jaren geleden
Eigenaar

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 commented 5 jaren geleden
Medewerker

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 commented 5 jaren geleden
Medewerker

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 commented 5 jaren geleden
Eigenaar

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.
Log in om deel te nemen aan deze discussie.
Geen mijlpaal
Niet toegewezen
2 deelnemers
Notificaties
Vervaldatum

0001-01-01 Over tijd

Afhankelijkheden

Deze kwestie heeft momenteel geen afhankelijkheden.

Laden…
Er is nog geen inhoud.