aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* bug: migrate to the DAG entity structure!Michael Muré2021-02-141-2/+2
|
* cache,bug,identity: structural changeMichael Muré2020-10-041-2/+2
| | | | | | - bug doesn't commit identities anymore, only make sure they are commit - cache use an IdentityResolver to load bugs with identities from the cache (deps injection) - IdentityCache now are identity.Interface
* repo: use go-git in more places, fix pushMichael Muré2020-10-041-2/+2
|
* repository: remove tie to Bug, improved and reusable testingMichael Muré2020-06-261-2/+2
| | | | | | | | | - allow the creation of arbitrary Lamport clocks, freeing the way to new entities and removing Bug specific (upper layer) code. - generalize the memory-only and persisted Lamport clocks behind a common interface - rework the tests to provide reusable testing code for a Repo, a Clock, a Config, opening a path to add a new Repo implementation more easily - test previously untested components with those new tests Note: one problem found during this endeavor is that `identity.Version` also need to store one time + Lamport time for each other Entity (Bug, config, PR ...). This could possibly done without breaking change but it would be much easier to wait for https://github.com/MichaelMure/git-bug-migration to happen.
* repo: refactor how test repo are created/cleanedMichael Muré2019-05-271-14/+8
|
* identity: add more test for serialisation and push/pull/merge + fixesMichael Muré2019-03-011-2/+16
|
* WIP identity in gitMichael Muré2019-03-012-197/+3
|
* tests: configure user ident in repos used by testsRafael Ascensão2018-12-101-0/+7
| | | | | | | | | | | | | | | Some git operations require the user to have an identity configured and will exit with failure if none is set (or if git can't guess it). As a direct consequence of this, the test suite may fail depending on the user local configuration. The error itself is justified as regular users *should* configure their identity themselves. However, when building in chrooted environments it's unlikely the git identity will be set making the test suite fail unnecessarily. To prevent such unnecessary failures, let's make a dummy identity for repos created and used by the test suite.
* bug: define a hash-based identifier for an operationMichael Muré2018-09-291-1/+1
|
* merge package operations into bug, they are tightly coupled anywayMichael Muré2018-09-295-561/+26
|
* graphql: add a general test for the handler/resolversMichael Muré2018-09-261-0/+148
|
* cache: add raw edit functions to allow setting up the author, the timestamp ↵Michael Muré2018-09-253-42/+45
| | | | and the metadatas
* bug: add the ability to store arbitrary metadata on an operationMichael Muré2018-09-242-0/+23
|
* repo: split the Repo interface to avoid abstraction leak in RepoCacheMichael Muré2018-09-211-1/+1
|
* bug: add a data validation process to avoid merging incorrect operationsMichael Muré2018-09-152-11/+17
|
* catch a lot of error not being checkedMichael Muré2018-09-131-15/+15
|
* bug: change the OperationPack serialization format for JsonMichael Muré2018-09-121-10/+14
| | | | See https://github.com/MichaelMure/git-bug/issues/5 for the details of this choice
* reorganize package for a more idomatic goMichael Muré2018-09-112-2/+2
|
* bug: refactor the Pull code to have the message formating in the upper layersMichael Muré2018-09-071-9/+9
|
* random bugs: cleanup + generate random OperationPack as wellMichael Muré2018-09-061-1/+1
|
* bug: add a benchmark for reading all bugs in a repoMichael Muré2018-08-191-0/+49
|
* bug: add benchmarcks for bug mergeMichael Muré2018-08-191-15/+44
|
* fix testsMichael Muré2018-08-151-1/+1
|
* cleanup go importsMichael Muré2018-08-131-3/+4
|
* test: make bug_actions_test race resistantMichael Muré2018-08-121-22/+20
|
* fix testMichael Muré2018-08-021-2/+2
|
* add test for push/pull/rebase with a real git repoMichael Muré2018-07-251-0/+337
|
* NewBug can no longer errorMichael Muré2018-07-192-15/+5
|
* bug: replace the uuid based id with the hash of the first commitMichael Muré2018-07-191-3/+13
|
* implement label op+commandMichael Muré2018-07-181-1/+4
|
* all operations now have an author and a timestampMichael Muré2018-07-181-6/+6
|
* fix testsMichael Muré2018-07-171-1/+1
|
* add bug status + open/close commandsMichael Muré2018-07-172-3/+5
|
* comment the failing test for now (code is ok)Michael Muré2018-07-171-26/+24
|
* implement pull/mergeMichael Muré2018-07-171-1/+1
|
* cleaningMichael Muré2018-07-141-1/+1
|
* complete the storage/read process + tests (!)Michael Muré2018-07-142-14/+33
|
* implement AddCommentMichael Muré2018-07-132-3/+5
|
* serialize a Bug to git as a blob+tree+commit+refMichael Muré2018-07-133-3/+42
|
* little bit more testsMichael Muré2018-07-132-0/+97