Commit graph

31 commits

Author SHA1 Message Date
sputn1ck
e4f64ec9cc
Revert "Merge pull request #1028 from starius/downgrade-deps"
This reverts commit b11c959bc8, reversing
changes made to 0a182ee308.
2025-10-31 18:48:26 +01:00
Boris Nagaev
7d58b65a84
go.mod: downgrade deps for litd release
lnd v0.19.3-beta
tapd v0.6.1
go 1.23.12 (except in tools/ where golangci-lint needs Go 1.24)

Remove docs generators as cli-docs depends on Go 1.24.
2025-10-31 10:23:52 -03:00
Boris Nagaev
8feab845c4
make: generate man and markdown files in docs/ 2025-10-07 16:54:38 -03:00
Boris Nagaev
8a357059f0
make: fix green prints
Previous version produces escapped sequnces as text (Debian 12).
2025-09-29 11:24:08 -03:00
Boris Nagaev
f70678f863
make: add target "docker-release"
"make docker-release tag=..." produces the same binaries regardless on
the platform and the installed Go version, because it uses Docker.
2025-09-29 11:24:08 -03:00
Boris Nagaev
b0051382cf
make: set CGO_ENABLED=0
Make loop and loopd binaries static, more portable.
2025-07-24 00:55:10 -03:00
Viktor Tigerström
cdcacfe753
multi: update GetInfoResponse response
Update the output of the `commit_hash` field in the GetInfoResponse.
The `commit_hash` field will contain the most recent commit_hash that
the build was based on. If the build had uncommitted changes, this field
will contain the most recent commit hash, suffixed by "-dirty".

Note that this change also changes the output of `commit` field in the
`--version` command. The `Commit` field will now contain most recent git
commit tag.
2025-05-22 18:01:36 +02:00
Boris Nagaev
56c960444e
Revert "Revert "make mod-check: run in sub-modules, GOPROXY=direct""
This reverts commit 7b0c383f8c.

Access to git.sr.ht/~sbinet/gg was restored, so the check now passes.
2025-04-29 10:29:34 -03:00
Boris Nagaev
7b0c383f8c
Revert "make mod-check: run in sub-modules, GOPROXY=direct"
This reverts commit d7d9e2d249.
2025-04-28 12:56:21 -03:00
Boris Nagaev
d7d9e2d249
make mod-check: run in sub-modules, GOPROXY=direct
GOPROXY=direct is needed to capture the issue with tags force-pushes.
2025-04-24 11:19:59 -03:00
Boris Nagaev
f2715e39eb
ci: fix 'make rpc' check
'git describe' may not work in CI because of Git shallow clones.
We got false negative of this check:
https://github.com/lightninglabs/loop/actions/runs/14556035205/job/40959214856
"fatal: No names found, cannot describe anything."
2025-04-24 11:19:59 -03:00
Andras Banki-Horvath
f72cdde58f
build: use the stripped commit hash for the embedded commit string 2025-04-04 12:47:30 +02:00
Boris Nagaev
3abd2d2235
make: add targets unit-race and unit-postgres-race 2025-03-19 15:00:31 +01:00
Slyghtning
0babeee084
make: cache docker builds 2024-03-07 17:05:22 +01:00
sputn1ck
20db07dccf
fsm: add fsm module
This commit adds a module for a finite state machine. The goal of the
module is to provide a simple, easy to use, and easy to understand
finite state machine. The module is designed to be used in future
loop subsystems. Additionally a state visualizer is provided to
help with understanding the state machine.
2023-09-07 17:41:15 +02:00
sputn1ck
9d7f3bf2fa
build: add postgres unit tests to makefile and CI 2023-06-20 18:59:31 +02:00
sputn1ck
5c07c20d16
tools: add sqlc generation tools 2023-06-20 14:19:31 +02:00
sputn1ck
4ed3197985
make+tools: tidy makefile, add gosimports 2022-05-20 10:16:47 +02:00
sputn1ck
f0bf9302cc
make: dockerize linter 2022-05-20 10:16:42 +02:00
carla
dad103530f
multi: move server proto files to their own directory
Protobuf does not allow naming conflicts for files within the same
process, because all proto messages register themselves in a global
registry.

This is problematic because the server's itests import the client's
looprpc package to make rpc queries to the loopd client, thus importing
duplicate common.proto and server.proto from the client's looprc package
(since they're both in there as well).

This change moves the server's proto files into their own directory so
that they are not imported when we want to use the client's files. We
cannot change the package name for the server, because that would be
a breaking change (the package name is included in URIS). Fortunately,
we have the go_package option which allows us to place generated files
in a different location.
2021-12-13 13:56:40 +02:00
Andras Banki-Horvath
9e227fc1ee
build: adding clean 2021-11-29 16:36:50 +01:00
Oliver Gugger
360e3347be
Travis+make: compile JSON/WASM stubs 2021-08-03 13:19:44 +02:00
Oliver Gugger
86df44362f
make+looprpc: use Docker to compile and format protos 2021-07-13 09:41:28 +02:00
Oliver Gugger
385fed89b5
make: fix commit ldflag 2020-11-06 10:42:57 +01:00
Oliver Gugger
c6b3e21801
make: add rpc command 2020-11-06 10:42:56 +01:00
carla
87b02b7715
multi: add force tick endpoint behind debug server
To itest our autolooper, we need to be able to trigger dispatch on
demand. This functionality is included in a separate rpc server behind
a dev flag. Since it is unlikely that we need to split loop into
multiple rpc servers, this commit simply adds an additional debug server
rather than opting for a full subserver setup.
2020-10-15 13:53:27 +02:00
carla
d5d64fb97a
makefile+travis: add mod check and tidy and check modules in travis 2020-06-01 12:41:36 +02:00
Joost Jager
2ddbe23418
build: mark build as default target 2020-05-14 11:33:37 +02:00
carla
41550a9c4b
makefile+travis: add install and build commands
Build executables are suffixed with 'debug' because we cannot
create a loopd executable in the root repo dir, since there is an
already existing loopd executable. Add build to travis.
2020-04-15 09:19:06 +02:00
Oliver Gugger
1cdb233a00
add lint command to Makefile 2019-10-09 09:03:31 +02:00
Joost Jager
a83824bbb5
build: add travis config 2019-03-07 10:19:27 +01:00