Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/getsolus/ferryd

Fast, safe and reliable transit for the delivery of software updates to users.
https://github.com/getsolus/ferryd

Fix readme for testing

Signed-off-by: Ikey Doherty <[email protected]>

9b820617c865fcb942d45cdd70821217112b9117 authored over 7 years ago by Ikey Doherty <[email protected]>
Be more like a server, default to /run/ferryd.sock

Signed-off-by: Ikey Doherty <[email protected]>

e44fd4501bf17bb57028cf982d2e281b818ccac7 authored over 7 years ago by Ikey Doherty <[email protected]>
Make systemd activation work, ensure /var/lib/ferryd is our default

Signed-off-by: Ikey Doherty <[email protected]>

c7f5a926e2897845a9ab0486fcc2f11d801ff0b9 authored over 7 years ago by Ikey Doherty <[email protected]>
ferryd: Ensure we can activate through systemd socket

Signed-off-by: Ikey Doherty <[email protected]>

6a9b88e9d9614ea279ea378df25e7148a3ff0077 authored over 7 years ago by Ikey Doherty <[email protected]>
When systemd is enabled (currently not) tell it when we're ready

Signed-off-by: Ikey Doherty <[email protected]>

2a5ae5a0f1ac8b17e87a353be95820f97ea8cd97 authored over 7 years ago by Ikey Doherty <[email protected]>
vendor: Add go-systemd so we can add sd_notify/socket activation

Signed-off-by: Ikey Doherty <[email protected]>

c80e28dc918292c6982b79494ed9e26b0de0e07a authored over 7 years ago by Ikey Doherty <[email protected]>
cmd: Show the number of jobs tracked

Signed-off-by: Ikey Doherty <[email protected]>

92f7af099855ef1a7193821d940f5722f983a562 authored over 7 years ago by Ikey Doherty <[email protected]>
TODO: Shedloading was tested

Signed-off-by: Ikey Doherty <[email protected]>

70934a630a1f77214ce41d35a1fbcc5b737452d2 authored over 7 years ago by Ikey Doherty <[email protected]>
TODO: Another item bites the dust

Signed-off-by: Ikey Doherty <[email protected]>

057b13c93a1b548fe087fd12523edd5f82d2551b authored over 7 years ago by Ikey Doherty <[email protected]>
core: Add anal mode to control what we let in. Yep. I just said this.

We must be very specific about transit manifest uploads, as this data
comes from the "every day ...

202713f69612e7df4493d6d2054cdc65172ccbcb authored over 7 years ago by Ikey Doherty <[email protected]>
Mark the stats UI stuff as done :)

Signed-off-by: Ikey Doherty <[email protected]>

3266b51d640c63af4dfc4fafb73e790d3cc775d4 authored over 7 years ago by Ikey Doherty <[email protected]>
Limit jobs to 10 per type, but allow showing all with "-a", "--all"

Signed-off-by: Ikey Doherty <[email protected]>

eb434815c58db4486c9fb52466a9218a3f6c931c authored over 7 years ago by Ikey Doherty <[email protected]>
Show most recent jobs first

Signed-off-by: Ikey Doherty <[email protected]>

ba9f4d6db1033e8a7080335bddd1eb02e0a28b03 authored over 7 years ago by Ikey Doherty <[email protected]>
Sort the output in the status CLI command

Signed-off-by: Ikey Doherty <[email protected]>

5cb3bf8fb7e972672531b4d5d1af987482ec3b82 authored over 7 years ago by Ikey Doherty <[email protected]>
jobs: Implement record rotation in the stored jobs buckets

After a lengthy discussion with @DataDrake we reached a compromise on
the best approach to rotat...

33c21ad14d99aa0a1d881394f550113d7e4839c6 authored over 7 years ago by Ikey Doherty <[email protected]>
Ensure we can tell if a job is running or not

Signed-off-by: Ikey Doherty <[email protected]>

0ff53a524261077f26c13007794c8035cf3f0444 authored over 7 years ago by Ikey Doherty <[email protected]>
Show all job types in status, prettify output, actually use right sequence

Signed-off-by: Ikey Doherty <[email protected]>

4f573e1a8163647d736f3a125f7876eb3415add6 authored over 7 years ago by Ikey Doherty <[email protected]>
Return FailedJobs + CurrentJobs to ferryctl status

Signed-off-by: Ikey Doherty <[email protected]>

5e9abbe07157a0731886c7c2cab131fe2451341e authored over 7 years ago by Ikey Doherty <[email protected]>
Record all failed and completed jobs in separate buckets

Signed-off-by: Ikey Doherty <[email protected]>

a905fae46dab92acb98547900026ca19e5eec8ad authored over 7 years ago by Ikey Doherty <[email protected]>
jobs: Reset execution timing on unclaim

Signed-off-by: Ikey Doherty <[email protected]>

30d8dcb0d0e7634fd8792370fa7a93c04863c029 authored over 7 years ago by Ikey Doherty <[email protected]>
cmd: Make the output of the table a bit better

Signed-off-by: Ikey Doherty <[email protected]>

8a2ab613ef7b7118cccf6fae7e9f760d2b0ec143 authored over 7 years ago by Ikey Doherty <[email protected]>
cmd: Be less ugly, print jobs out in a table

Signed-off-by: Ikey Doherty <[email protected]>

6e7f4c35d2a18afc609609b4d959747b485e3bcf authored over 7 years ago by Ikey Doherty <[email protected]>
vendor: Restore go-runewidth as dependency for tablewriter

Signed-off-by: Ikey Doherty <[email protected]>

ebc5a48065986e096d48b56771c1152acdd848b0 authored over 7 years ago by Ikey Doherty <[email protected]>
vendor: Restore tablewriter for the status command

Signed-off-by: Ikey Doherty <[email protected]>

164f19d841298ccc57ce0cf01ec538699ee98d50 authored over 7 years ago by Ikey Doherty <[email protected]>
Fix api so we can return active jobs

Signed-off-by: Ikey Doherty <[email protected]>

26ac73c9aafa75bd401e3c5e6c28e1392e98b6f7 authored over 7 years ago by Ikey Doherty <[email protected]>
Add timing functions and output them in status

Signed-off-by: Ikey Doherty <[email protected]>

94eb200201d805d495c511e7a12981c48e8a113c authored over 7 years ago by Ikey Doherty <[email protected]>
libferry: Explicitly set JSON names

Signed-off-by: Ikey Doherty <[email protected]>

e69dd4f569da8cf897ed28c198931de11c3d0142 authored over 7 years ago by Ikey Doherty <[email protected]>
Add timing information to all of the job objects

Signed-off-by: Ikey Doherty <[email protected]>

080e1e3980de9604d9a253e43ed358f8633ac194 authored over 7 years ago by Ikey Doherty <[email protected]>
Stop returning ferryd version in ferryctl version, use status

Signed-off-by: Ikey Doherty <[email protected]>

22015f2d4227d7381a7607a63ff161dc2588a20a authored over 7 years ago by Ikey Doherty <[email protected]>
Return version response in Status request

Signed-off-by: Ikey Doherty <[email protected]>

eab312a1f94f1f411a724e206994af2e90db09c0 authored over 7 years ago by Ikey Doherty <[email protected]>
Add new status command to show uptime, and in future, jobs

We'll need to modify the job store to return jobs and to store any
failed jobs, but this adds th...

391a7d4dc3fe6165083ab460d2957d70573bd939 authored over 7 years ago by Ikey Doherty <[email protected]>
deployment: ring0 A record created, just needs configuring

Signed-off-by: Ikey Doherty <[email protected]>

ed784cd59cd7902ec2dca0346e4d60593fa6481e authored over 7 years ago by Ikey Doherty <[email protected]>
TODO: Mark feature parity with binman as complete

Signed-off-by: Ikey Doherty <[email protected]>

3703f5bf0cfca39982767ebe630d7e2020caedc8 authored over 7 years ago by Ikey Doherty <[email protected]>
Allow removing or copying all of a source set

Signed-off-by: Ikey Doherty <[email protected]>

d790d697bfd50f4b6ae8cca7d3152ce4c1629c63 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Implement "copy source" behaviour

This restores parity with binman, and allows us to copy across a set of
packages with a specific...

a2dcf07dbbfbd94658d4eb06e4b2e9a11fe1da54 authored over 7 years ago by Ikey Doherty <[email protected]>
Add scaffolding for not yet implemented "copy source" command

Signed-off-by: Ikey Doherty <[email protected]>

9e1e8566605e1a6835e1835f0c67245efab1e4b0 authored over 7 years ago by Ikey Doherty <[email protected]>
Add a deployment plan for ferryd

Signed-off-by: Ikey Doherty <[email protected]>

27b3a2b9a06f72dc3ffc3a76ebc7100a6291eca1 authored over 7 years ago by Ikey Doherty <[email protected]>
jobs: Fix invalid comments

Signed-off-by: Ikey Doherty <[email protected]>

6b9e84c6c959f6962a4a0a407a8c7f5e7e29ad37 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Do NOT allow trimming obsoletes during an index op!

Signed-off-by: Ikey Doherty <[email protected]>

36e0861efd81feb89fcee47423cc95a9d6bef623 authored over 7 years ago by Ikey Doherty <[email protected]>
TODO: Mark trim work complete

Signed-off-by: Ikey Doherty <[email protected]>

0f5946d3e1ed82be94f55ad2e68b56d5a6ed8a8c authored over 7 years ago by Ikey Doherty <[email protected]>
Complete "trim packages" job

This will look over every package in the repo, and parse all of the
pool entries within each pac...

793f93b76b1740f1fd984aefc88f8b9457ac5ea3 authored over 7 years ago by Ikey Doherty <[email protected]>
core: undo indent change

Signed-off-by: Ikey Doherty <[email protected]>

a7f0c14f0cf9c8b6a1cf081ede2658eac30520a7 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Implement "trim obsoletes" functionality

This will only look at stored packages that have obsolete names, including
the special "-dbginfo...

10235103312561519d5cc70151f33dafae47c4a6 authored over 7 years ago by Ikey Doherty <[email protected]>
Add scaffolding to support trim obsoletes/packages (not yet implemented)

Signed-off-by: Ikey Doherty <[email protected]>

32367513c33f75ff27e3ff21861cc10c5519b03f authored over 7 years ago by Ikey Doherty <[email protected]>
jobs: Don't set ticker to nil, it breaks ctrl+c on on-going tasks

Signed-off-by: Ikey Doherty <[email protected]>

4e67a76c18a86287aed9a296a4f420d79aa5b983 authored over 7 years ago by Ikey Doherty <[email protected]>
TODO: Mark the job reclaimation work done

Signed-off-by: Ikey Doherty <[email protected]>

1f7c177bf78e1caf7e8a92b2c7e9074d23f9dc9d authored over 7 years ago by Ikey Doherty <[email protected]>
jobs: Make sure all jobs are unclaimed on startup

This is a kind of self repair facility for previous executions to ensure
that any borked jobs fr...

17c6cd6c059d9332655d6438b6b310d660b43091 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Always re-read distribution.xml on re-index

Signed-off-by: Ikey Doherty <[email protected]>

11eca7c0d20dff9ec125a66b4fa9d5140c424a0e authored over 7 years ago by Ikey Doherty <[email protected]>
TODO: Mark asset sync done

Signed-off-by: Ikey Doherty <[email protected]>

c062481c9ad4d69544720fe827aaba3b5369b79c authored over 7 years ago by Ikey Doherty <[email protected]>
core: Sync distribution assets when cloning or pulling

The assets directory is managed by the administrator of the repository,
and is only pulled in du...

2b846e23399733dd92d5a3305c927d9add3dcb5b authored over 7 years ago by Ikey Doherty <[email protected]>
Don't tell @DataDrake and we'll pretend I did this already

Signed-off-by: Ikey Doherty <[email protected]>

aa1c3a5dff3c8fddccc654abf8c400d219126cbf authored over 7 years ago by Ikey Doherty <[email protected]>
TODO: One more to do ..

Signed-off-by: Ikey Doherty <[email protected]>

562f7be2f03ff9caeb4fae1e38db47c952103f9d authored over 7 years ago by Ikey Doherty <[email protected]>
core: Re-index repo after any kind of removals

Signed-off-by: Ikey Doherty <[email protected]>

ce1314794136b580eefe1aed707eca519638f73a authored over 7 years ago by Ikey Doherty <[email protected]>
Add another entry to the TODO because I hate myself

Signed-off-by: Ikey Doherty <[email protected]>

a82663ae9fc67b0f3b08b46e78a015ed2ca26461 authored over 7 years ago by Ikey Doherty <[email protected]>
TODO: Mark delta work done (we won't nuke them on inclusion, thats for trim)

Signed-off-by: Ikey Doherty <[email protected]>

96140a79e572fc9dad9c40c1154c8ea9774e7de2 authored over 7 years ago by Ikey Doherty <[email protected]>
Fully implement "remove source" functionality

Remove source will cause an unref cycle to begin for all pkgIDs found
to correlate to a given "s...

5f691a3e8df72a871f6b698b61557f31b1c58272 authored over 7 years ago by Ikey Doherty <[email protected]>
Add basic scaffolding for (not yet implemented) "remove source" command

Signed-off-by: Ikey Doherty <[email protected]>

4a33b26ef8233448ed1d891dd75e02012c9f7374 authored over 7 years ago by Ikey Doherty <[email protected]>
"delete-repo" -> "remove repo"

Signed-off-by: Ikey Doherty <[email protected]>

6833426de64cdbb518262f3ebd23ff7008d1c047 authored over 7 years ago by Ikey Doherty <[email protected]>
TODO: Mark `pull` command complete

Signed-off-by: Ikey Doherty <[email protected]>

e7e3f35673c468eae56bca8b7663aba79284b905 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Implement the 'pull' operation

When pulling - we simply check for missing or mismatched packages to pull
in. That is to say, if...

3ad609e48335103f2b429bdd77143b40aeae84b1 authored over 7 years ago by Ikey Doherty <[email protected]>
Add scaffolding for not-yet-implemented PullRepo operation

Signed-off-by: Ikey Doherty <[email protected]>

504897045e43702c4b7fb11ace710adcd7286a40 authored over 7 years ago by Ikey Doherty <[email protected]>
TODO: Mark clone operation as complete

Signed-off-by: Ikey Doherty <[email protected]>

6b2e4900e56fd65bbdff84a7394d99fe221df0b5 authored over 7 years ago by Ikey Doherty <[email protected]>
cmd: Allow full-depth clones with "-f" "--full" flags

Signed-off-by: Ikey Doherty <[email protected]>

fbcdec49661e9532b3c51fb93a535c88f1ae77aa authored over 7 years ago by Ikey Doherty <[email protected]>
Learn to count, eejit brains.

Signed-off-by: Ikey Doherty <[email protected]>

9f7df99828ed1b6a7a1f99906cea0f8680b36dc4 authored over 7 years ago by Ikey Doherty <[email protected]>
Support tip-only or full-depth clones. Only copy deltas on full clones

Signed-off-by: Ikey Doherty <[email protected]>

16cff911f0cc707d591cf97544f01bf0fd84c07a authored over 7 years ago by Ikey Doherty <[email protected]>
core: Implement our full clone operation

Signed-off-by: Ikey Doherty <[email protected]>

fcea7cea688ded7ed41545eff1e1232457f2a310 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Add nasty insert lock on the repo

Signed-off-by: Ikey Doherty <[email protected]>

c4e776a77bf25f3caa1e51332c9fc9dbe296df6a authored over 7 years ago by Ikey Doherty <[email protected]>
Add ctl/daemon plumbing for new clone job (not yet implemented)

The clone job will create a new repository (newClone ID), and then ask
the new repository object...

132ab4c9efaadf05c4f814918340bf57a8132163 authored over 7 years ago by Ikey Doherty <[email protected]>
Add rather important item to the TODO ..

Signed-off-by: Ikey Doherty <[email protected]>

34eecb8a3f6745f5fd5b6b2f685a04e801d44895 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Teach repo how to bump-ref an existing package into it

This is in line with the work we've done already for the deltas,
and allows us to clone/dupe an ...

88b3995e6ec3c74df16f7b8addd6ef783a28bb7e authored over 7 years ago by Ikey Doherty <[email protected]>
core: Reuse our RefEntry generic function instead of new RefDelta

Signed-off-by: Ikey Doherty <[email protected]>

1eaf5302de155d504ea80ea1c3d7751388a26d22 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Teach repo + pool how to clone an existing delta

We'll now try to reuse an existing delta package if its available, instead
of attempting the cre...

a184a1deade0374a2b3f1e946356b09a37acfd36 authored over 7 years ago by Ikey Doherty <[email protected]>
Add new (not yet functioning) RefDelta function

This will be used to include a new delta into a repository that was initially
created for anothe...

5d1afc8124ca68c73e247be44d4f9b09a747abcf authored over 7 years ago by Ikey Doherty <[email protected]>
core: Make the pool meta path stuff reusable for stored objects

Signed-off-by: Ikey Doherty <[email protected]>

83660ab4e66faa3cb7187615c5727bf3e7882e5a authored over 7 years ago by Ikey Doherty <[email protected]>
Add new `list pool` command to allow us to examine the pool itself

Signed-off-by: Ikey Doherty <[email protected]>

5d1eef27c00cdbd2a004aa811d7dcb4d8086da6c authored over 7 years ago by Ikey Doherty <[email protected]>
cmd: "list-repos" -> "list repos"

Signed-off-by: Ikey Doherty <[email protected]>

98c56715fcbec92a06ac7e081aaaee32bdc6ec9b authored over 7 years ago by Ikey Doherty <[email protected]>
cmd: Slightly improve list-repos output

Signed-off-by: Ikey Doherty <[email protected]>

1a1955948265b71f1724b2d8a8687318a3b1ac72 authored over 7 years ago by Ikey Doherty <[email protected]>
Add new "list-repos" command to .. well. List repos.

Signed-off-by: Ikey Doherty <[email protected]>

4f0a689ea04b03c239926a009886c32348ce19e7 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Fix yet another sequential hardlock

Signed-off-by: Ikey Doherty <[email protected]>

0e2ddb64a050e88d4556086a48c20b64bbac4cdd authored over 7 years ago by Ikey Doherty <[email protected]>
TODO: Another one bites the dust (finally!)

Signed-off-by: Ikey Doherty <[email protected]>

f2264d2a615ed235794d32018274faa6b4135f36 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Protect repo map from concurrency woes with RWMutex

Signed-off-by: Ikey Doherty <[email protected]>

ab3e581955a519c6b15df85c1593f30f7f3d00b2 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Don't keep storing deleted Repository objects

Signed-off-by: Ikey Doherty <[email protected]>

a3d618ba03fc460e9840eef264b0ad4df3226913 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Remove all traces of the repository from disk when deleted

Signed-off-by: Ikey Doherty <[email protected]>

3e03eb2c2dd2b772d7194d83d28e6a2352c45a64 authored over 7 years ago by Ikey Doherty <[email protected]>
Fix log description for repo deletion ..

Signed-off-by: Ikey Doherty <[email protected]>

2b386d35835fea27a899a5a5212b3c93103da332 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Add untested delete-repo behaviour

Signed-off-by: Ikey Doherty <[email protected]>

613484d3d168a18d5fc68aa016ac8b36adbb7293 authored over 7 years ago by Ikey Doherty <[email protected]>
Stick an honest comment regarding names in the README

Signed-off-by: Ikey Doherty <[email protected]>

77eb0fcc2a87319129c02725645368ec3a9ec50d authored over 7 years ago by Ikey Doherty <[email protected]>
Stick in a blurb. Everyone likes blurbs.

Signed-off-by: Ikey Doherty <[email protected]>

a62902ea56c6625703934d12c04dc7a1bc961c67 authored over 7 years ago by Ikey Doherty <[email protected]>
Actually document wtf-a-ferryd-is

Signed-off-by: Ikey Doherty <[email protected]>

fa2d351923420f3a445ed4a556aeae72cefdecb8 authored over 7 years ago by Ikey Doherty <[email protected]>
core: Stop writing unused sha256sum file, its expensive

Signed-off-by: Ikey Doherty <[email protected]>

d4c4991dfa86ab999917f718757a973833b3a3e6 authored over 7 years ago by Ikey Doherty <[email protected]>
Revert "libdb: Return a new libdb.DatabaseConnection for an opaque Database"

This reverts commit 5c0dd4c86409d4323a80c23b9d359417da8abf24.
This also required some manual pan...

a91cf49b914fcede2df32b16dda03708c730e3e2 authored over 7 years ago by Ikey Doherty <[email protected]>
vendor: Bye bye, Google UUID

Signed-off-by: Ikey Doherty <[email protected]>

575fe4442b9beaf274fb0388d4f5622b30e737fb authored over 7 years ago by Ikey Doherty <[email protected]>
jobs: Switch from UUID to far cheaper big-endian natural sequence

Signed-off-by: Ikey Doherty <[email protected]>

dcf9154fdc3e09383c0e7a303542e71393ee0454 authored over 7 years ago by Ikey Doherty <[email protected]>
libdb: Ensure sort order of inserted keys to preserve job order

We'll simply generate a new sequence by creating a big-endian encoded
byte sequence from the uin...

e8381f1c4bddbca68f40d6a9afdf7ce763dee3fb authored over 7 years ago by Ikey Doherty <[email protected]>
Bit more glue thar ...

Signed-off-by: Ikey Doherty <[email protected]>

f9b6b28cb0f32e71738c232aff3134a78f6e8d84 authored over 7 years ago by Ikey Doherty <[email protected]>
Hook up delete_repo in v1 API

Signed-off-by: Ikey Doherty <[email protected]>

d15750af332275ec0849a8321fd150822faf165b authored over 7 years ago by Ikey Doherty <[email protected]>
Learn to spell.

Signed-off-by: Ikey Doherty <[email protected]>

80991500e7255124f69e0115e1adf6018d92eb22 authored over 7 years ago by Ikey Doherty <[email protected]>
Add skeletons for the DeleteRepo job (not yet functioning)

Signed-off-by: Ikey Doherty <[email protected]>

3a042113663081262024b0b7cb0ad0f6768c25a2 authored over 7 years ago by Ikey Doherty <[email protected]>
libdb: Gimme back my A+ go report card

Signed-off-by: Ikey Doherty <[email protected]>

fa002a84d846976aa3c1377759509c9cf18c9adc authored over 7 years ago by Ikey Doherty <[email protected]>
jobs: Cap sequential work queue to max wait of 5 seconds

Signed-off-by: Ikey Doherty <[email protected]>

6e45c6f0ef450bf0b79eb69d1334f3dfcd0f95f6 authored over 7 years ago by Ikey Doherty <[email protected]>
libdb: Return a new libdb.DatabaseConnection for an opaque Database

This connection is refcounted per issue #5, to ensure we actually free
up resources when we're d...

5c0dd4c86409d4323a80c23b9d359417da8abf24 authored over 7 years ago by Ikey Doherty <[email protected]>