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
Signed-off-by: Ikey Doherty <[email protected]>
6f356fb105d8b3cf0cf3cfc091c4e774fd82e4b1 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
644eaca453885c848c4bfc166c91b7c0a9babad0 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
eb4801fca2ee7b2107fe49a539c5c6a505e430c5 authored over 7 years ago
This method now allows us to easily communicate back and forth with less
boiler plate, whilst lo...
Signed-off-by: Ikey Doherty <[email protected]>
ea5d7f8ead533efaf84c3c62b8dc4107a949634a authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
0d2e79812f311f6996f27e6b968f254d7bcaddf7 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
bd0e992fa9de4dde32d4240106f469003a7d57fc authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
1c1f59a51e2a4bd1329428d48599985c8ebcea63 authored over 7 years ago
To avoid spaghetti code we'll keep main in the same package, as it doesn't
really need to do any...
This api.go entry point is the main manager wrapper functions that ferryd
will expose through ha...
Signed-off-by: Ikey Doherty <[email protected]>
55770f7b3db358c3fa585418201073157c023de7 authored over 7 years ago
Unsurprisingly the RepositoryManager will be used for the maintainence
of repositories. Specific...
Signed-off-by: Ikey Doherty <[email protected]>
a0a85c86d22c16466526cdeac6874ba5c9b573ac authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
cc94dfb63640fac059bb2415c5d2e34f7fc4f9b4 authored over 7 years ago
These methods form the very core part of ferryd, by allowing the storage
of eopkgs into a shared...
This is needed so that we can access it again from the serialised object
in the pool.
Signed-of...
2813e29edbe83c6c4e390efe2909d58a55786704 authored over 7 years ago
The basic premise of the Pool is refcounting IDs, in effect its like a
disk-backed hashmap. Once...
Much of the database interaction is going to require back and forth with
serialisation, and will...
Signed-off-by: Ikey Doherty <[email protected]>
562682656cd223837e691277e1c3417e14163902 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
fa26b29672050684901a5f99745e5e0b83671cdc authored over 7 years ago
To help organisation within the repository, and indeed to help with the
time it takes to list a ...
Signed-off-by: Ikey Doherty <[email protected]>
38861cdae99af81a14d24525e875a4f65d7b706a authored over 7 years ago
Instead of having lots of intertwined code for managing specifics of the
startup/teardown routin...
The Context provides a minimal form of environment to ferryd, by sharing
the root directory and ...
Signed-off-by: Ikey Doherty <[email protected]>
0508430735e2c802f190c1f083a0a6d521ba367f authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
97b5fa121d9fcb58f056b15992f53d1803d38190 authored over 7 years ago
The daemon will effectively be a large wrapper around the Slip Manager,
providing socket operati...
Signed-off-by: Ikey Doherty <[email protected]>
3f942c2048e0c491afb42de7e6b4e7f585ac165b authored over 7 years ago
This is a very early assertion that our database is actually working,
and will lead to less comp...
We'll follow a file namespacing approach to ferryd to make it easier
to manage, i.e. repos.go, p...
In the ferryd architecture, packages are ferried to the Slip, which is
responsible for incoming ...
Signed-off-by: Ikey Doherty <[email protected]>
82d35b593678f46fac5f0af44b5f0c320e7bfd0f authored over 7 years ago
The new command will emit the local CLI version as well as the daemon
version, if it's running. ...
Signed-off-by: Ikey Doherty <[email protected]>
f2a08a62d64129f2c798e97f84d74ae7af7a353f authored over 7 years ago
Ideally we want to know whether we had an issue binding vs an issue
with actually serving on the...
Signed-off-by: Ikey Doherty <[email protected]>
9732b6401c68143c30add8229a2e2526162d91f3 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
c7a8fa09b10f69c8656309ea1bc75a7c8b394e8f authored over 7 years ago
This will ensure to keep consistency between both consumer and daemon
if we have to change any A...
Signed-off-by: Ikey Doherty <[email protected]>
fd289e58cb8c4be87b1ae0e9f30c66e22077f631 authored over 7 years ago
The GetVersion method has been fixed to use JSON decoding from the
local UNIX socket, which is a...
Signed-off-by: Ikey Doherty <[email protected]>
1e2320bd88d519086ea1f79776ae2c8a2ba0656e authored over 7 years ago
This will just help set up the project structure for now until we
have some working bits in plac...
We now create a very basic API on the socket for a GetVersion request,
which will in time help u...
We'll be using this for simple API endpoint matching the daemon with
a high performance RESTful ...
Signed-off-by: Ikey Doherty <[email protected]>
4428f48e3b543f86da6f8798f73a3831d675161f authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
eda12d42324982cc45bc180769f1fb1b23db384b authored over 7 years ago
The main client library will simply be called "ferry", with the daemon and
CLI components approp...
Signed-off-by: Ikey Doherty <[email protected]>
7154c2c12f04b5700800ff8ec518f9628718324c authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
60771e6a2db0f6cd02f743c205e5d3bba44f0985 authored over 7 years ago
We'll be using logrus for all daemon logging, eventually putting these
to logfiles, instead of s...
As we reuse keep-alive cached connections for queries to the daemon, we
also need an idiomatic c...
This ensures that we can reuse connections efficiently, and that our
timeout values aren't too l...
Signed-off-by: Ikey Doherty <[email protected]>
ff215c338ee831ef4c3adedbdbe95cd2b94a73a8 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
fb657e208294381dd2a2aa341ff9493874402e95 authored over 7 years ago
This ensures that only the user that started the daemon can interact
with the socket, which is c...
Signed-off-by: Ikey Doherty <[email protected]>
47da8759a4b9fb6e427eae91605fbac7c3047693 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
335eb1a0eeaae41f3582ee345ca7ebc6e680bec6 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
3f3c4fd28e29e2c75c25e298d0188f7f7fd3a137 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
3ac0ea74df552c58ccd702e88ba90ced0cc3bd8d authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
4a5c814bdcf71d47155621816bdddf2f586a4fad authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
351fa73a6936b0def50e12b3a47e1a5388db7665 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
d88d4b7cca44e080e6d7f82451ebb1ba3cdda11c authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
53ac6a5ae033bdd344a10838ca451fecdf8ca921 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
d79d0a39f58c20afa79f89e20b516e50e6800e39 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
a7351ff8782f0ebb82bdbabdb7d7784b8c16c50f authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
5d26c1da381d4c019ca7974733e68ecc1031424a authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
e01c9c3e82f1fb3d08e89ba766cf8c08b7661368 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
a8e0c0824397bc502d4288aa39429d368d9668a8 authored over 7 years agoSigned-off-by: Ikey Doherty <[email protected]>
319c3b93945ed77a31bd3ee545bf9dbfd761185e authored almost 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
4e579173474bc527830d37623b4a804de80616a0 authored almost 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
d7636fc8501641ba0e0779f1f50bc7b4eb6ba3fd authored almost 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
17adf80657630da7c943c48c63b1a196fe1d0cf4 authored almost 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
9b8dfe5bce2c1e7e9bbba01b25912e6d462f4cc5 authored almost 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
16699e3894d59a77def804cb096acaa8c888094c authored almost 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
abeaf745931e15304691d457bbe9cc890f4440ec authored about 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
13fc2dd11760a8d93f8357462dbc15a6b35c2dc5 authored about 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
b7f8b2745f25101d8247dbbc4144fd87227a8736 authored about 8 years ago
This mapping will help us to identify commonality in packages, and
allow removing them all from ...
The Sources bucket will contain a mapping of source name to package
ID, i.e. the basename of the...
Signed-off-by: Ikey Doherty <[email protected]>
044948f1eb1a32e7ded2eb9936abc8f6e80a26c9 authored about 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
195508a99886316e31dc28b0e82bcf2d5cc46000 authored about 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
50325ded5bfbfa8c327bb74e53ecc7f0d52ab25b authored about 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
449936615a03d88e3edb6109ef445f3509dbd66e authored about 8 years ago
We want to ensure that our pathing doesn't become corrupted by the
name of the repository itself...
Signed-off-by: Ikey Doherty <[email protected]>
f2b01941b389734192a4ffae32e9673ee4d8ef99 authored about 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
62e4b6c6c6263dd5024eb179d5b5d05da61c8ff9 authored about 8 years ago
This package mapping will be of ID->source, and allow additions/removals
from the repository in ...
This routine will try to delete the 2 directories above the original
package file, if they are e...
Signed-off-by: Ikey Doherty <[email protected]>
3f225f4d35ff8f2ef2c34a7df3517f682628c116 authored about 8 years ago
After any given package is removed from a repository, we then ask the
pool to unref the asset. S...
According to recent benchmarks, gob is a faster format now than using
JSON. It also packs better...
Once we've moved the ref'd asset into place, we simply hard link the
source path into the target...
This function will be used after ref'ing a pool asset to insert a package
into a repository tree...
Signed-off-by: Ikey Doherty <[email protected]>
3ea5fcd84cbef27733234c4a531d73ed08ea7b13 authored about 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
34605a90c9c1b5fef4a376dfa449a2c4478f6bd1 authored about 8 years ago
Even if the file is still open, it doesn't matter, the old file descriptor
is still valid. At th...
Signed-off-by: Ikey Doherty <[email protected]>
8fb3f7b66a5347b0d6321e56c9c9e4fb4a92ebcb authored about 8 years agoSigned-off-by: Ikey Doherty <[email protected]>
664c984bf1ce7d2481e02d28fb9b897edf275155 authored about 8 years ago
The Add comment will allow us to flesh out the real internals of storing
eopkgs into the reposit...
Signed-off-by: Ikey Doherty <[email protected]>
798f6b06a45f67485c156c93217d0ea83ad842ae authored about 8 years ago