Commit graph

7219 commits

Author SHA1 Message Date
Lars Karlitski
6576fe45dc main: move http serving to weldr
Also make sure that /run/weldr exists.
2019-09-26 19:53:06 +02:00
Jacob Kozol
e24bfcf7d0 Add blueprint workspace diff
The list of changes between the committed blueprint and its workspace
are returned when a user requests the diff. Each change includes the
new(added) or the old(removed) package.
2019-09-26 19:52:28 +02:00
Jacob Kozol
e14c48ff61 Fix package name-version for wildcard version
If a package had version "*" and its name-version would be "name-*".
This would match all packages containing "name" in their name. Instead
the name-version is "name-*-*" so it matches any version of the package.
2019-09-26 13:13:03 +02:00
Martin Sehnoutka
0861b80c99 create jobs queue for scheduling new builds 2019-09-25 14:31:15 +02:00
Martin Sehnoutka
7df735e36b minimal travis configuration 2019-09-24 17:50:48 +02:00
msehnout
b700cd7a51
Merge pull request #1 from teg/layout
tree-wide: use a standard project layout
2019-09-24 16:32:57 +02:00
Tom Gundersen
3533597dde weldr: add missing arguments to constructor calls
In the test we don't need to serialize the state, so pass nil to
the costructor.
2019-09-24 01:09:58 +02:00
Tom Gundersen
da887a43fb tree-wide: format the code
$ go fmt ./...

Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-09-24 01:03:27 +02:00
Tom Gundersen
b60f580d92 tree-wide: use a standard project layout
Keep main.go files under cmd/ and internal libraries under internal/.
This will allow us to add more exutables under cmd/ (whereas only one
was possible when main.go was kept in the root).

Signed-off-by: Tom Gundersen <teg@jklm.no>
2019-09-24 00:03:53 +02:00
Lars Karlitski
11af3f0c0b main: save state of weldr server to /var/lib 2019-09-15 18:51:21 +02:00
Lars Karlitski
73655f600e weldr: add support for the blueprint workspace 2019-09-15 14:08:46 +02:00
Lars Karlitski
6089ebe077 .gitignore: ignore osbuild-composer binary 2019-09-14 13:59:08 +02:00
Lars Karlitski
59161eb310 weldr: start testing the API 2019-09-14 13:58:49 +02:00
Lars Karlitski
8cde1b6bd5 weldr: always return original offset and limit values 2019-09-14 13:58:21 +02:00
Lars Karlitski
f0e2e3786f weldr: use source.Id instead of .Name for keys 2019-09-14 13:57:50 +02:00
Lars Karlitski
2ee12e2b51 main: add -v command line flag
Only log accesses when -v is given.
2019-09-14 13:56:55 +02:00
Lars Karlitski
a63a408c06 main: remove stale socket, if it exists 2019-09-14 08:44:52 +02:00
Lars Karlitski
dd3b837d8d weldr: remove Composer interface
No need to have an interface we don't really use yet. This moves
fetching the list of packages out of weldr, which will ease testing.
2019-09-14 07:41:39 +02:00
Lars Karlitski
1adbf1a4a6 osbuild-composer 2019-09-13 18:50:13 +02:00