- 30 May, 2015 2 commits
- 20 May, 2015 1 commit
-
-
Jeromy authored
-
- 01 May, 2015 1 commit
-
-
Tommi Virtanen authored
-
- 28 Apr, 2015 1 commit
-
-
Tommi Virtanen authored
-
- 27 Apr, 2015 1 commit
-
-
Etienne Laurin authored
-
- 20 Apr, 2015 8 commits
-
-
Juan Batiz-Benet authored
Improved the repo migration errors to provide instructions to the user.
-
Jeromy authored
-
Jeromy authored
-
Tommi Virtanen authored
WARNING: No migration performed! That needs to come in a separate commit, perhaps amended into this one. Migration must move keyspace "/b" from leveldb to the flatfs subdir, while removing the "b" prefix (keys should start with just "/").
-
Tommi Virtanen authored
This allows replacing the datastore without needing to write Close through to every wrapped datastore.
-
Tommi Virtanen authored
FSRepo.Open is dead since fdd1cd8d
-
Tommi Virtanen authored
-
Juan Batiz-Benet authored
We now consider debugerrors harmful: we've run into cases where debugerror.Wrap() hid valuable error information (err == io.EOF?). I've removed them from the main code, but left them in some tests. Go errors are lacking, but unfortunately, this isn't the solution. It is possible that debugerros.New or debugerrors.Errorf should remain still (i.e. only remove debugerrors.Wrap) but we don't use these errors often enough to keep.
-
- 31 Mar, 2015 1 commit
-
-
Ho-Sheng Hsiao authored
- Modified Godeps/Godeps.json by hand - [TEST] Updated welcome docs hash to sharness - [TEST] Updated contact doc - [TEST] disabled breaking test (t0080-repo refs local)
-
- 14 Mar, 2015 10 commits
-
-
Tommi Virtanen authored
There is no way this was safe before. Be careful to unlock on the error paths.
-
Tommi Virtanen authored
-
Tommi Virtanen authored
-
Tommi Virtanen authored
No code attempts to open the same repo multiple times. Error handling is still buggy, but it's starting to get clearer.
-
Tommi Virtanen authored
-
Tommi Virtanen authored
repo.Once now does refcounts on a whole Repo level, returning the same pointer to multiple Openers. This removes the need for the weird model of separate FSRepo instances pointing to the same underlying storage, and the races caused by that.
-
Tommi Virtanen authored
This will replace the elaborate refcounting in fsrepo, to make it easier to maintain.
-
Tommi Virtanen authored
Nobody calls At without immediately calling Open. First step, a mechanical transformation. Cleanups will follow.
-
Tommi Virtanen authored
This is only called from `ipfs` command line tool well before it opens the repo. The behavior change here causes a false positive if the current process has already opened the repo. That's a bit late to ask this question, anyway, and is not expected to have ever triggered.
-
Tommi Virtanen authored
The only caller is `ipfs init`, which at that time does not hold a repository open, and refuses to run on existing repos anyway.
-
- 11 Mar, 2015 6 commits
-
-
Tommi Virtanen authored
-
Tommi Virtanen authored
-
Tommi Virtanen authored
-
Tommi Virtanen authored
-
Tommi Virtanen authored
-
Tommi Virtanen authored
-
- 12 Feb, 2015 1 commit
-
-
Jeromy authored
-
- 03 Feb, 2015 1 commit
-
-
Brian Tiger Chow authored
-
- 24 Jan, 2015 2 commits
-
-
Brian Tiger Chow authored
now, eventlogger works wherever the fsrepo is used
-
Brian Tiger Chow authored
-
- 14 Jan, 2015 5 commits
-
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
-
Brian Tiger Chow authored
"for each desired change, make the change easy (warning: this may be hard), then make the easy change" - Kent Beck https://twitter.com/KentBeck/status/250733358307500032 http://martinfowler.com/articles/preparatory-refactoring-example.html cc @jbenet @whyrusleeping
-
Brian Tiger Chow authored
-