IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
429: feat: repo locking with fs2 r=koivunej a=niklaslong
supersedes #426 and resolves#243.
This implements repo locking with fs2. The only concern for this crate is that it is poorly maintained but the functionality we need seems stable enough for now.
Certain tests are currently failing, notably because multiple nodes are being created with the same repo (dag tests for instance). Not sure what the solution to this will be...
Update: running tests with `--test-threads=1` passes all unit tests. The integration tests fail (I think because multiple nodes are being spun up with the same repo).
Update 2: all green, making sure test nodes use a different temp dir for the repo fixed the tests.
Co-authored-by: Niklas Long <niklas@equilibrium.co>
430: doc: update README r=koivunej a=niklaslong
What follows is just a suggestion. This updates the README with a _running the tests_ section, fixes the TOC, moves the _contributing_ section to where it's more obvious and links to the http crate tutorial.
Co-authored-by: Niklas Long <niklas@equilibrium.co>
This was after concerns were raised about potential time-of-check to
time-of-use (TOCTOU) issues. The check isn't
actually necessary as `OpenOptions::create` set to `true` will create
only if the file doesn't already exist.
428: Update to go-ipfs 0.7.0 (used in interop tests) r=koivunej a=niklaslong
We were using `0.6.0`, this upgrades to `0.7.0`.
I also removed the `--bits` option as `0.7` uses `ed25519` by default.
Co-authored-by: Niklas Long <niklas@equilibrium.co>
427: Further reduction of ipfs-http compilation times, take two r=aphelionz a=koivunej
This PR supercedes #422 as bors couldn't handle the "PR is from removed repository" case, so this is made from a branch which has only the same commit as the previous PR. PR uses the balanced tree approach from warp issue for further compilation time speedups. The commit hash differs because I apparently applied it per githubs instructions on top of different commit than the original seems to be, with different metadata.
Closes#422.
Co-authored-by: Artem Tarasov <artem@devopps.de>
420: docs(http): initial draft of tutorial r=koivunej a=niklaslong
This is a first draft of the tutorial mentioned in #402.
It currently covers:
- installing rust
- configuration of the `IPFS_PATH`
- `-- init`
- `-- daemon`
- `ipfs id` from the go-ipfs CLI
Co-authored-by: Niklas Long <niklas@equilibrium.co>
Copy-and-paste from https://github.com/seanmonstar/warp/issues/619;
Further reduces compilation time (30-40% improvement observed).
Removed "combine_unify" macro since it didn't add any extra benefit.
423: http: configuration refactor r=niklaslong a=niklaslong
This is a wip but opening as a draft to keep track of this follow up to #421. This is also part of #402.
This introduces the `Config` struct to serve as a facade to the configuration module. It's essentially a flattened `CompatibleConfigFile` struct exposing only the fields necessary to running the daemon.
Co-authored-by: Niklas Long <niklas@equilibrium.co>
421: feat(http): create Profile abstraction to allow port choice r=koivunej a=niklaslong
This PR introduces a `Profile` abstraction to allow the customisation of port selection as discussed in #402.
Two profiles are supported:
- `Test` for use with conformance tests (ephemeral port selection)
- `Default` serves on `4004`
Co-authored-by: Niklas Long <niklas@equilibrium.co>