ragectl · @ragectl
0 followers · 119 posts · Server hachyderm.io

Things I wished were packaged in are the the and the

#fedora #wezTerm #HelixEditor #awscliv2 #GitHubCLI

Last updated 1 year ago

Heath Stewart · @heaths
168 followers · 357 posts · Server fosstodon.org

Now sports both `lint` and `view` commands, though no auto-fix yet. There's a few scenarios I hadn't considered with how my team uses it I need to rethink how to automatically solve while keeping a generic clean-up possible as well.

#GitHubCLI #golang

Last updated 2 years ago

Heath Stewart · @heaths
168 followers · 352 posts · Server fosstodon.org

Maintaining a already has enough challenges. Keeping its up to date can be difficult. I started on a new extension: `gh ext install heaths/gh-codeowners`

It does only simple linting for now but will have a fix mode for supported error types.

See github.com/heaths/gh-codeowner for more information.

#monorepo #codeowners #GitHubCLI #github

Last updated 2 years ago

Heath Stewart · @heaths
165 followers · 319 posts · Server fosstodon.org

Nothing like writing a extension to work around a bug in the CLI for which I've had a PR out for over 9 months waiting for one person to review it (other staffers have already), but here we are: github.com/heaths/gh-merge-jso

`gh api --paginate` may return invalid JSON, so this extension does what my PR does but within the gh ecosystem.

Just `gh ext install heaths/gh-merge-json` and pipe paginated JSON to it to merge the JSON (mainly nested arrays) and get back valid JSON.

#GitHubCLI #github

Last updated 2 years ago

Jouni · @mane
2 followers · 73 posts · Server fosstodon.org

Why use at all if you can't do commits or pushes with it? :blobfoxangrylaugh:

#GitHubCLI

Last updated 2 years ago

Heath Stewart · @heaths
160 followers · 278 posts · Server fosstodon.org

@roguequery if you're interested in making this template...we'll, more template-like so people can just define a few replacement variables...check out github.com/heaths/gh-template. It's a extension to "fork" the template and uses templates for replacement.

Like you, I also got tired of copypasta but also all manual replacements.

#GitHubCLI #golang

Last updated 2 years ago

aegilops :github::microsoft: · @aegilops
90 followers · 301 posts · Server fosstodon.org

@drsensor raise an issue?

github.com/cli/cli

Double-check on a different machine (e.g. a VM) and upgrade to the latest version before you do, just in case, and give as much info as you can about what's going wrong.

#GitHubCLI

Last updated 2 years ago

Heath Stewart · @heaths
153 followers · 262 posts · Server fosstodon.org

@robpomeroy and if people would like an example using , check out my extension: github.com/heaths/gh-projects, specifically the files under internal/cmd.

may seem daunting at first, but you only get what data you asked for and can effectively combine multiple requests in a single fetch.

Note: may not be the most optimized requests, but is geared for infrequent access.

Now if only would fill out all the missing functionally for Projects V2 you find in V1.

#golang #GitHubCLI #graphql #github

Last updated 2 years ago

Heath Stewart · @heaths
112 followers · 159 posts · Server fosstodon.org

Use the to run `gh api --paginate` and tired of having to rely on installing external tools or otherwise munge invalid concatenated JSON from all responses? Consider upvoting github.com/cli/cli/pull/5652 to hopefully finally get this PR merged that fixes the problem.

#GitHubCLI #github #golang

Last updated 2 years ago

Manik Magar · @manikmagar
32 followers · 22 posts · Server fosstodon.org

Only org-level secrets on GitHub can be shared with other repositories in the same org. AFAIK personal profile repositories need to create actions secrets on each repo.

How do I now set actions @jreleaser secrets for a new non-org repo?

`gh secret set -f ~/.jreleaser/config.properties`

🚀 All necessary secrets are created on remote repo!

#github #GitHubCLI

Last updated 2 years ago

Heath Stewart · @heaths
105 followers · 122 posts · Server fosstodon.org

@mmeier If it helps, for setting up one-off projects I made a extension that may help: github.com/heaths/gh-template

gh extension install heaths/gh-template
gh template clone heaths/template-golang

You can also make your own template repos.

#GitHubCLI #golang

Last updated 2 years ago

Heath Stewart · @heaths
105 followers · 122 posts · Server fosstodon.org

Published another new version of my extension github.com/heaths/gh-template to clone and format template repos, now that optionally clones labels*, supports boolean expressions to condition blocks of templates, and allows for different template delimiters.

(*One of several features I've added to the CLI itself. The extension now does it automatically with --labels when you clone.)

#GitHubCLI #golang #github

Last updated 2 years ago

Heath Stewart · @heaths
81 followers · 100 posts · Server fosstodon.org

I released a new version of my extension gh-template which can clone and format a repository template in a single command and re-prompt the user for some parameter types: github.com/heaths/gh-template

#GitHubCLI #golang #github

Last updated 2 years ago

Heath Stewart · @heaths
71 followers · 87 posts · Server fosstodon.org

Updated a couple of my own template repositories to take advantage of the github.com/heaths/gh-template extension:

github.com/heaths/template-gol

github.com/heaths/template-rus

Can use falsy conditional in README to give instructions and have it templated out:

#GitHubCLI #golang #rustlang

Last updated 2 years ago

Heath Stewart · @heaths
71 followers · 87 posts · Server fosstodon.org

Just published the first version of a new extension to format a project template after cloning from a repo template: github.com/heaths/gh-template

It adds some built-in parameters based on the repo and you can pass or prompt for additional parameters.

gh repo create <name> --template <template> --clone
cd <name>
gh template apply

More improvements yet to come, but this marks the MVP. Issues and suggestions welcome!

#GitHubCLI #github #golang

Last updated 2 years ago

Heath Stewart · @heaths
39 followers · 47 posts · Server fosstodon.org

@Parkplusplus @savannah I've contributed a lot to the itself, though I've had several PRs go completely ignored for months after maintainers gave an initial thumbs up but also feedback. Really irritating. Lately I've been focusing more on extensions.

There's a bunch of scripts checked into our repos that utilize the extension, like being able to add issues across language repos.

#GitHubCLI

Last updated 2 years ago

Heath Stewart · @heaths
34 followers · 44 posts · Server fosstodon.org

Now that added the ability to link a project V2 to a repo, I've made an update to my heaths/gh-projects extension: github.com/heaths/gh-projects

Org or user projects (V2) will be automatically linked to a repository if necessary, obviating the need to manually link them. Now you can add issues and set fields with less hassle.

Hopefully they'll be adding new caps soon to clone projects or views. rounding out most of what we need for managing cross-language issues.

#github #GitHubCLI #golang #azuresdk

Last updated 2 years ago