SHA256
- find closed and merged pull requests by branch for checkout and edit - edit and delete inline review comments, seed issue create from a template - prefer the upstream remote in a fork clone - load the create forms concurrently - release create --verify-tag, create download directories and refuse duplicate asset names - man pages for help topics, version from go install builds - teams: send the permission before the units, keep admin teams admin, refuse to rename the owner team - repo readme, long non-ASCII descriptions, -R NAME vs a directory - skip the reviewer team check for hidden private organizations - update dependencies and workflow actions Signed-off-by: bircni <[email protected]>
31 lines
902 B
Nix
31 lines
902 B
Nix
{
|
|
description = "gitea-cli - A command line tool to interact with Gitea";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
|
flake-utils.url = "github:numtide/flake-utils";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, flake-utils, ... }:
|
|
flake-utils.lib.eachDefaultSystem (system:
|
|
let
|
|
pkgs = import nixpkgs { inherit system; };
|
|
in
|
|
{
|
|
devShells.default = pkgs.mkShell {
|
|
name = "gitea-cli-dev-environment";
|
|
buildInputs = with pkgs; [
|
|
# flake.lock may pin a nixpkgs that predates Go 1.27; go.mod's toolchain line then fetches it.
|
|
(pkgs.go_1_27 or pkgs.go)
|
|
gopls
|
|
gnumake
|
|
# Add other dependencies here if needed
|
|
];
|
|
|
|
shellHook = ''
|
|
echo 'Welcome to gt. Check out the Makefile for runnable targets.'
|
|
'';
|
|
};
|
|
}
|
|
);
|
|
} |