#13 Ensure user can always publish posts

Open
opened 6 years ago by matt · 5 comments
matt commented 6 years ago

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 changed title from Prompt user to install CLI when not found to Ensure user can always publish posts 5 years ago
matt added the
high priority
label 5 years ago
adrian commented 5 years ago
Collaborator

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 years ago
Owner

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 years ago
Collaborator

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 years ago
Collaborator

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 years ago
Owner

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.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

0001-01-01 Overdue

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.