1073 Commits
Author SHA1 Message Date
Hamish ColemanandGitHub 03ce1e2b84 Merge pull request #883 from hamishcoleman/release
Only trigger automatic release process on annotated tags - Take two
3.1.0
2021-10-31 20:40:46 +00:00
Hamish Coleman 9f7ea89229 Remove debugging outputs 2021-10-31 20:28:30 +00:00
Hamish Coleman 5055259171 Output correct debug data... 2021-10-31 20:16:06 +00:00
Hamish Coleman 02f341df87 Add a debugging job to show the get tagtype data quicker in the workflow 2021-10-31 20:14:22 +00:00
Hamish Coleman 3c3a848dc2 Re-add much of the debug output 2021-10-31 19:51:22 +00:00
Hamish Coleman 5b5fe587ae Attempt to fix github tags in each job
See https://github.com/actions/checkout/issues/290 for some discussion.
2021-10-31 19:37:11 +00:00
Hamish Coleman f2f49111b7 Add reference to a ticket for this problem 2021-10-31 19:28:42 +00:00
Hamish Coleman 88bd8e566f Fix clone command, removing the half removed old fetch-based command 2021-10-31 19:16:47 +00:00
Hamish Coleman d8fa2ef9da Return the tags check to the releases, use our own clone and remove all the debug output 2021-10-31 19:04:35 +00:00
Hamish Coleman 11512fe1c8 Fix spelling 2021-10-31 19:04:35 +00:00
Hamish Coleman a4f5b18308 Of course, nobody has a standard git repo layout, so need to jump more hoops 2021-10-31 19:04:35 +00:00
Hamish Coleman d9d524a8d8 Add more debug data output 2021-10-31 19:04:35 +00:00
Hamish Coleman e709997b3c Abandon using the github checkout action, it is clearly at fault 2021-10-31 19:04:35 +00:00
Hamish Coleman 23ef8e4bfe Adjust pull command to pull.rebase=false 2021-10-31 19:04:35 +00:00
Hamish Coleman 3e2be20614 Try returning to the 'normal' command, after force pulling the correct repo data 2021-10-31 19:04:35 +00:00
Hamish Coleman 6395aa4fbc Getting closer, it clearly showed the upstream had a different view than this checkout 2021-10-31 19:04:35 +00:00
Hamish Coleman 71021abd97 Try a different way to fetch the right tag data 2021-10-31 19:04:35 +00:00
Hamish Coleman 9b081805f5 Add more tag debugging output 2021-10-31 19:04:35 +00:00
Hamish Coleman 55c063513d Shorten line to address yamllint warning 2021-10-31 19:04:35 +00:00
Hamish Coleman 1adbdc9a00 Avoid exitcode triggering job failure 2021-10-31 19:04:35 +00:00
Hamish Coleman e63b0f3c53 Attempt to work around strage git behaviour in github 2021-10-31 19:04:35 +00:00
Hamish Coleman 3371a50d5a Add more debug data, still trying to work out why github doesnt think tags are tags 2021-10-31 19:04:35 +00:00
Hamish Coleman 0a24c40e25 Tags dont work properly with a thin clone 2021-10-31 19:04:35 +00:00
Hamish Coleman e5b373dd10 With the better release gating, we dont need to check if the job can run (also allows more debug info output) 2021-10-31 19:04:35 +00:00
Hamish Coleman 5538a55090 Add some debug info to the release automation 2021-10-31 19:04:35 +00:00
Hamish Coleman 78889f8d98 Fix - if we want to run git commands, we need a git repo clone 2021-10-31 19:04:35 +00:00
Hamish Coleman 0929185d04 Fix tagtype logic, shell quotes need to be correct for shell vars 2021-10-31 19:04:35 +00:00
Logan oos EvenandGitHub ecff46a043 applied tiny optimization to PACKET's code path (#882) 2021-10-31 22:38:56 +05:45
Hamish ColemanandGitHub 6acca5085b Merge pull request #880 from hamishcoleman/release
Only trigger automatic release process on annotated tags
2021-10-31 13:35:33 +00:00
Hamish Coleman e1845136a3 Fix workflow syntax - of course keys cannot be defined twice 2021-10-31 11:49:04 +00:00
Hamish Coleman 65062ca594 Actions set-output is only scoped within the same job id 2021-10-31 11:47:08 +00:00
Hamish Coleman 71521b81d8 Only trigger release process on annotated tags
Annotated tags are meant for releases while lightweight tags are meant
for private or temporary object labels.

For this reason, we should not trigger the automatic release actions
unless we have an annotated tag.
2021-10-31 11:36:29 +00:00
Logan oos EvenandGitHub 14c881928a updated Building.md 2021-10-31 15:40:23 +05:45
Hamish ColemanandGitHub b9eac35c00 Fix build system errors (#878)
* Attempt cross compiling for apple silicon

* Try the apple expected compiler

* Make config.log viewable to figure out the compiler error

* Attempt to install the missing architecture

* Leave this branch in a working and documented what is missing state

* Try cross-compiling on macos with a specific SDK version

* Every now and again the runner pacakge db gets out of sync with reality - avoid this ever stopping a build, at the expense of making the builds take longer to run

* Add needed macos cross compile linker flag

* Fix package db sync for binaries build as well

* Add a fat binary build

* Add missing dep on the new binaries_macos_universal build

* Copy the macos cross compile artifacts into the right shared binaries bucket

* Use the correct arch-based subdir name for macos binaries
2021-10-28 00:47:41 +05:45
Luca DeriandGitHub 29632e9589 Minor update 2021-10-27 20:46:42 +02:00
Luca DeriandGitHub 9f2eb321de Moved to 3.1 2021-10-27 20:42:25 +02:00
Luca DeriandGitHub bd5c3d91a6 Moved to 3.1 2021-10-27 20:42:03 +02:00
Logan oos EvenandGitHub 9c50e96e7b updated Authentication.md 2021-10-26 03:31:01 +05:45
Hamish ColemanandGitHub 999b3ffbf3 fixed python JSON clients so they don't hang if the daemon does not respond (or is not even running) (#876) 2021-10-25 18:36:47 +05:45
Hamish ColemanandGitHub cea8bf8644 handled all remaining lint warnings (#875)
* Add workaround for 'truthy' warnings in yaml

See https://github.com/adrienverge/yamllint/issues/158
for some more discussion

* Check each yamllint line length warning and clearly markup those which cannot be easily folded into shorter lines
2021-10-25 16:30:34 +05:45
Hamish ColemanandGitHub 6c1ed021b1 expanded YAML linting to cover every yaml file found in this repo (#874) 2021-10-25 16:07:01 +05:45
Hamish ColemanandGitHub c5253ecf2a Automatically upload binaries when tagged (#871)
* Add a workflow to automatically upload packages in to tagged releases

* Mark automatic release as a pre-release as that way its contents are actually visible

* Dont run the release job unless we are acting on a tag

* Minor rename to try and fit description into github graph view
2.9.1
2021-10-25 02:24:41 +05:45
Logan oos EvenandGitHub 1690241b9b updated Scratchpad.md 2021-10-25 02:04:57 +05:45
Hamish ColemanandGitHub 10b3464bd2 Linting for yaml files (#872)
* Add YAML file linting

* Add cmake-linux.yml lint and address its concerns
2021-10-25 01:37:21 +05:45
Hamish ColemanandGitHub e727304681 fixed support for python versions prior to 3.6 ... (#870)
... which do not support a context manager in the socketserver
2021-10-24 17:16:48 +05:45
Logan oos EvenandGitHub 3b187b4ac8 updated JSON API password handling '--management-password <pw>' (#869) 2021-10-24 15:22:36 +05:45
Logan oos EvenandGitHub 7bace3755c updated Federation.md 2021-10-24 13:09:33 +05:45
Logan oos EvenandGitHub c61b62ab1b choose supernode selection strategy at run-time '--select-rtt' (#864) 2021-10-24 12:53:25 +05:45
Hamish ColemanandGitHub 7b7449c813 Minor JSON field name fixes and additions (#865)
* Change JSON supernodes field to match the struct member name

* Add some missing fields to the edge json output.
2021-10-24 04:05:36 +05:45
Hamish ColemanandGitHub 7eb3f2cd7f Rename scripts for better consistancy (#866)
* Address shellcheck concerns with n2n_gateway.sh script

* Rename n2n_gateway.sh to live with all the other scripts (and update docs)

* Rename hack_fakeautoconf to make it clearly a shell script

* Address shellcheck concerns with hack_fakeautoconf.sh

* Rename python scripts to match other n2n tools

* Fix windows compile - when streamlining the use of hack_fakeautoconf.sh, I forgot to update all uses of this script
2021-10-24 03:58:01 +05:45