Commit Graph

10 Commits

Author SHA1 Message Date
Marcus Ramberg
e5504f90de woodpecker-cli: install autocompletion for bash/fish/zsh 2025-09-29 16:30:08 +02:00
emilylange
3d47efdc1b woodpecker-cli: calling woodpecker instead of woodpecker-cli is now deprecated
according to upstream starting with v3.0.0.

Previously the opposite was true, so we simply invert the deprecation
wrapper added in ee4670a821.

Ref: 3d7e60beb0
2025-01-21 18:53:06 +01:00
Yueh-Shun Li
905dc8d978 treewide: specify CGO_ENABLED with env.CGO_ENABLED
Programmatically prefixing "CGO_ENABLED =" and "CGO_ENABLED=0;" with
"env.", but excluding the files
* pkgs/build-support/go/module.nix (buildGoModule implementation)
* pkgs/development/compilers/go/* (the Go compiler)
* pkgs/build-support/docker/tarsum.nix (not using buildGoModule)
2024-12-18 23:19:56 +08:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Bruno BELANYI
3d7e60beb0 woodpecker: use upstream naming for cli executable
The intended executable name is supposed to be `woodpecker`, not
`woodpecker-cli`, as pointed out in [1].

[1]: https://github.com/woodpecker-ci/woodpecker/issues/2112
2024-02-10 18:52:31 +00:00
Bruno BELANYI
feac9edf6a treewide: add meta.mainProgram
Related PR: NixOS#246386
2023-08-04 10:32:10 +00:00
Bruno BELANYI
57cfb2aca0 woodpecker-*: 0.15.11 -> 1.0.0 2023-08-01 11:05:08 +00:00
techknowlogick
493f17de94 woodpecker: 0.15.5 -> 0.15.6 2023-01-02 22:14:10 -05:00
Bruno BELANYI
006298e99e woodpecker-cli: patch out spurious CA certs errors
Closes #184875.
2022-08-05 18:25:05 -04:00
Bruno BELANYI
32aa830e10 woodpecker-{agent,cli,server}: init at 0.15.3 (#178441)
* woodpecker-{agent,cli,server}: init at 0.15.3

* woodpecker-*: tweak packaging

* Use 'callPackage' to import 'common.nix'.
* Prefix the binaries with 'woodpecker-', removing the need for
  'meta.mainProgram'.
* Remove IFD in 'mkYarnPackage' by committing 'package.json'.
* Simplify the server derivation, by not building it statically.
* Expose 'woodpecker-frontend' as a package for overriding purposes.
* Reduce package size for 'woodpecker-frontend' by just keeping the 'dist'
  folder.
* Have common `ldflags` and `postBuild` values.

* woodpecker-server: expose front-end with 'passthru'

* woodpecker-server: add update script

Co-authored-by: 06kellyjac <dev@j-k.io>
2022-06-24 16:32:29 +02:00