| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I4d81243b396783a9dca62f320a32eb8e91168e93
|
|
|
|
| |
Change-Id: If6c3473f3d4bfdf1e61dab3cf82db1d251ed5a15
|
|
|
|
|
| |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: Ie8520484ce2bfad36989cf58a9d81ddccc64f153
|
|
|
|
| |
Change-Id: I483ab43823984c031828e326892cc43b75023eb3
|
|
|
|
|
| |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I08bb10e50b55800a0d20f9ef463537caf42769a6
|
|
|
|
| |
Change-Id: I1fc82b7453287b6dc40dcda84f606bd637cf1ee3
|
|
|
|
|
| |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I425b58e62c158a036dd2793b4e699bdc77f7204b
|
|
|
|
| |
Change-Id: I68408f285a3be41fc6477dc746083a862cd7ee71
|
|
|
|
|
| |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I818dcd940781f5ac2f5c0a171f84ea4a82b238d2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since 8.0.0 the option allow_empty of glob() is false by default [1],
hence set it to true where necessary to allow an empty list of
resources.
Rename repository to jgit_deps to avoid duplicate dependency versions.
See [2].
[1] https://docs.bazel.build/versions/3.2.0/be/functions.html#glob
[2] https://github.com/bazel-contrib/rules_jvm_external/issues/916
Change-Id: I3912abfde56654c5946c88f9bbf6c0204ce72713
|
|
|
|
| |
Change-Id: Id871f3084a8195fdfa2f7eab058515656bd2c9f9
|
|
|
|
| |
Change-Id: Iddc02bb3c2235b491d9b7034f29591b09d042e11
|
|
|
|
|
| |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I3d3f7fc6732b3204970a7be7886361920d8ec60e
|
|
|
|
|
| |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: Ie3159a6610f3a1425c3b812f8284c073ee2b429c
|
|
|
|
| |
Change-Id: I92dea20a60d0b03e295a4215656e2686bfa9a294
|
|
|
|
|
| |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I2b1209fe339ae6e7dd3c4291e21f97602fc2308d
|
|
|
|
| |
Change-Id: Ib33f0dc4138ecec79b5a15e5ac059e09be2a8334
|
|
|
|
|
| |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: Icf59680527f6f008c971b7e9e2a539da4a2d3428
|
|
|
|
| |
Change-Id: I646edcba7809ab91d8e0a933796b4b5c81736232
|
|
|
|
|
| |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I4e4e203c0f6a2463adefd28d3965eaf44bd2e620
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
The custom code used earlier sometimes failed to cleanup files created
by tests. Hence replace it by using TemporaryFolder.
Change-Id: I8c1219b01835a4a6d20498ab04555af024e4e624
|
|/
|
|
|
|
|
| |
Utility to create fake indexes. This simplify unit testing code that
requires an index.
Change-Id: I30f60cbd37ad5b48f4d919be265bfbf9a7fe57c4
|
|
|
|
| |
Change-Id: I1d1f174f739137c24fb586cb2f6d054d4785d716
|
|
|
|
| |
Change-Id: Ib9466bfbc3d7ecf53af88dd6b5bade7ae48c7165
|
|
|
|
|
|
|
|
|
|
|
| |
This code is using deprecated methods in the mock system reader to
invoke a deprecated constructor of PersonIdent. Both classes have now
new methods with the java.time API.
Use java.time methods to get the timestamp and timezone and build the
PersonIdent.
Change-Id: I4271d9d1d3c9128cfcedc680410448498530de88
|
|
|
|
| |
Change-Id: Icf3b29d075e5d91e64cea06dcd75119745bd13e0
|
|
|
|
|
|
|
|
|
|
|
| |
Errorprone recomments to use the more modern java.time API instead of
the java.util.Date family of classes.
This removes all uses of TestRepository#getDate and replace them with
getInstant. The method is marked as deprecated and doesn't have any
other usages.
Change-Id: I84ea63abf781d0d3c7c2724891fd2ef7afc2db1d
|
|
|
|
| |
Change-Id: Ie3108fefbcbb55a4f26273833c9817ce4bd750f1
|
|
|
|
| |
Change-Id: Ifc710a83cda50f1275cbbd5a828f92d95607f298
|
|
|
|
|
| |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I70f154dd1dc8571c5e2057d09d08d4a4d1b7ee37
|
|
|
|
| |
Change-Id: I69f57f933899b9926ab5124b24b90ae75f7a8d09
|
|
|
|
|
| |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I802c3dbcbb05470aad6255cc05402647e704b446
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Abstract methods break subclasses (e.g. DelegateSystemReader in
gerrit). Updating jgit and gerrit is simpler if we do not add them. I
am not sure why some methods are abstract and others dont, but now()
can be a concrete method.
Make now() concrete. Implement it by default based on
getCurrentTime(), so subclasses overriding that method get the same
value.
Change-Id: I697749f8cba698c5388ed13ebdc2b238d6259358
|
|
|
|
|
|
|
|
|
| |
Using this timezone in a later commit, it complains:
Exception java.time.DateTimeException: Zone offset minutes and seconds
must be negative because hours is negative
Change-Id: I5787b51f98109942ac33e0496c5e3761914b2a78
|
|
|
|
|
|
|
|
|
|
|
| |
This abstract method forces subclasses (e.g. DelegateSystemReader in
gerrit) to update their code, but there is no strong reason to make it
abstract (subclasses can override it if needed).
Make the method concrete using the current default implementation
(which is the same in the mock).
Change-Id: Id1df0d71cab1d86879adf48e782f0050d3abcfa9
|
|
|
|
|
|
|
|
|
| |
Update the TestRepository.prunePacked so that it doesn't fail if a pack
to be pruned is already gone. It is especially handy when prunePacked
function is called in `TestRepository.packAndPrune` function after repo
moves on after the GC was performed.
Change-Id: I01b4ddbaddec1fdc24cfbb967e0edfe0de6c4b7c
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* stable-7.0:
Replace custom encoder Constants#encodeASCII by JDK implementation
Replace custom encoder `Constants#encode` by JDK implementation
Add `numberOfPackFilesAfterBitmap` to RepoStatistics
Enhance CommitBuilder#parent to tolerate null parent
Change-Id: I46f961144f2e3c4c57ef0f63a9c8954fee8133e9
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* stable-6.10:
Replace custom encoder Constants#encodeASCII by JDK implementation
Replace custom encoder `Constants#encode` by JDK implementation
Add `numberOfPackFilesAfterBitmap` to RepoStatistics
Enhance CommitBuilder#parent to tolerate null parent
Change-Id: If05b0d474c728b54cab9af2b7416be30b2754d1b
|
| | |
| | |
| | |
| | | |
Change-Id: Ifdeafd040bca8331804c3e7568da0bee5cbd01df
|
| | |
| | |
| | |
| | | |
Change-Id: I3384e7405cadf063e7b0dd25468a8651c45628ac
|
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: Id188a6cdc2db63c961f0b9338e6ae56d58853dff
|
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I3128b2e4bbbed97adde90f7a47e15175e63e97f5
|
| | |
| | |
| | |
| | | |
Change-Id: I64f6d6a0599cbab462dca236c00e6f3314b2a810
|
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: Ie3d08213e00fcfe1fc34a39021dd99f27e0abc1f
|
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: Ia525790e0b4c9011b29768d2b9727cb48b21ba84
|
| | |
| | |
| | |
| | | |
Change-Id: I5b6d5c23d504fac386ae04c42b735152fbbcd7ae
|
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Change-Id: I4efb1066ee4146d0455c39cc07879533b8933e43
|
| | |
| | |
| | |
| | | |
Change-Id: Ie728ef9a7d3c6430a5da30f6a61afd2176015748
|
| | |
| | |
| | |
| | | |
Change-Id: I10f901209be2faa34ebb9355c86c2106bac38ba5
|