Bug 257233 - [New Port] www/writeas-cli: Command line client for Write.as / WriteFreely
Summary: [New Port] www/writeas-cli: Command line client for Write.as / WriteFreely
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias C. Berner
URL: https://write.as/apps/cli
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-17 13:42 UTC by Robert Clausecker
Modified: 2021-07-18 06:51 UTC (History)
2 users (show)

See Also:


Attachments
www/writeas-cli: Command line client for Write.as / WriteFreely (11.06 KB, patch)
2021-07-17 13:42 UTC, Robert Clausecker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2021-07-17 13:42:25 UTC
Created attachment 226515 [details]
www/writeas-cli: Command line client for Write.as / WriteFreely

This adds www/writeas-cli as a new port.  A simple Go-based port.  The patch updates a dependency that doesn't build on FreeBSD in the version requested by the port to the most recent version.

A subdir is used for the distribution files because this port has many dependencies, some of which are shared with an upcoming port (www/writefreely).

Tested with Poudriereon arm64 armv7 FreeBSD 13.0-RELEASE.

Portlint and portclippy like the port.

***
Command line utility for publishing to any WriteFreely instance.
The WriteFreely CLI is compatible with WriteFreely v0.11 or later.

Features

 * Authenticate with any WriteFreely instance
 * Publish drafts
 * Manage multiple WriteFreely accounts on multiple instances
 * A stable, easy back-end for your GUI app or desktop-based workflow
 * Locally keeps track of any posts you make
 * Update and delete posts
 * Fetch any post by ID

WWW: https://write.as/apps/cli
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2021-07-17 16:30:29 UTC
Committed. Thanks.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-07-17 16:30:41 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=75f61e66a4a41727062495b3e55573b63d56e0ef

commit 75f61e66a4a41727062495b3e55573b63d56e0ef
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2021-07-17 13:36:39 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2021-07-17 16:10:14 +0000

    www/writeas-cli: new port -- Command line client for Write.as / WriteFreely

    Command line utility for publishing to any WriteFreely instance.
    The WriteFreely CLI is compatible with WriteFreely v0.11 or later.

    Features

     * Authenticate with any WriteFreely instance
     * Publish drafts
     * Manage multiple WriteFreely accounts on multiple instances
     * A stable, easy back-end for your GUI app or desktop-based workflow
     * Locally keeps track of any posts you make
     * Update and delete posts
     * Fetch any post by ID

    WWW: https://write.as/apps/cli

    PR:             257233

 www/Makefile                             |  1 +
 www/writeas-cli/Makefile (new)           | 60 ++++++++++++++++++++++++++++++++
 www/writeas-cli/distinfo (new)           | 51 +++++++++++++++++++++++++++
 www/writeas-cli/files/patch-go.mod (new) | 19 ++++++++++
 www/writeas-cli/files/patch-go.sum (new) | 11 ++++++
 www/writeas-cli/pkg-descr (new)          | 14 ++++++++
 6 files changed, 156 insertions(+)