You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.fbprefs 6.7KB

Store Git on any DHT jgit.storage.dht is a storage provider implementation for JGit that permits storing the Git repository in a distributed hashtable, NoSQL system, or other database. The actual underlying storage system is undefined, and can be plugged in by implementing 7 small interfaces: * Database * RepositoryIndexTable * RepositoryTable * RefTable * ChunkTable * ObjectIndexTable * WriteBuffer The storage provider interface tries to assume very little about the underlying storage system, and requires only three key features: * key -> value lookup (a hashtable is suitable) * atomic updates on single rows * asynchronous operations (Java's ExecutorService is easy to use) Most NoSQL database products offer all 3 of these features in their clients, and so does any decent network based cache system like the open source memcache product. Relying only on key equality for data retrevial makes it simple for the storage engine to distribute across multiple machines. Traditional SQL systems could also be used with a JDBC based spi implementation. Before submitting this change I have implemented six storage systems for the spi layer: * Apache HBase[1] * Apache Cassandra[2] * Google Bigtable[3] * an in-memory implementation for unit testing * a JDBC implementation for SQL * a generic cache provider that can ride on top of memcache All six systems came in with an spi layer around 1000 lines of code to implement the above 7 interfaces. This is a huge reduction in size compared to prior attempts to implement a new JGit storage layer. As this package shows, a complete JGit storage implementation is more than 17,000 lines of fairly complex code. A simple cache is provided in storage.dht.spi.cache. Implementers can use CacheDatabase to wrap any other type of Database and perform fast reads against a network based cache service, such as the open source memcached[4]. An implementation of CacheService must be provided to glue this spi onto the network cache. [1] https://github.com/spearce/jgit_hbase [2] https://github.com/spearce/jgit_cassandra [3] http://labs.google.com/papers/bigtable.html [4] http://memcached.org/ Change-Id: I0aa4072781f5ccc019ca421c036adff2c40c4295 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
13 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. #FindBugs User Preferences
  2. #Mon May 04 16:24:13 PDT 2009
  3. detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true
  4. detectorBadAppletConstructor=BadAppletConstructor|false
  5. detectorBadResultSetAccess=BadResultSetAccess|true
  6. detectorBadSyntaxForRegularExpression=BadSyntaxForRegularExpression|true
  7. detectorBadUseOfReturnValue=BadUseOfReturnValue|true
  8. detectorBadlyOverriddenAdapter=BadlyOverriddenAdapter|true
  9. detectorBooleanReturnNull=BooleanReturnNull|true
  10. detectorCallToUnsupportedMethod=CallToUnsupportedMethod|true
  11. detectorCheckImmutableAnnotation=CheckImmutableAnnotation|true
  12. detectorCheckTypeQualifiers=CheckTypeQualifiers|true
  13. detectorCloneIdiom=CloneIdiom|false
  14. detectorComparatorIdiom=ComparatorIdiom|true
  15. detectorConfusedInheritance=ConfusedInheritance|true
  16. detectorConfusionBetweenInheritedAndOuterMethod=ConfusionBetweenInheritedAndOuterMethod|true
  17. detectorCrossSiteScripting=CrossSiteScripting|true
  18. detectorDoInsideDoPrivileged=DoInsideDoPrivileged|true
  19. detectorDontCatchIllegalMonitorStateException=DontCatchIllegalMonitorStateException|true
  20. detectorDontUseEnum=DontUseEnum|true
  21. detectorDroppedException=DroppedException|true
  22. detectorDumbMethodInvocations=DumbMethodInvocations|true
  23. detectorDumbMethods=DumbMethods|true
  24. detectorDuplicateBranches=DuplicateBranches|true
  25. detectorEmptyZipFileEntry=EmptyZipFileEntry|true
  26. detectorEqualsOperandShouldHaveClassCompatibleWithThis=EqualsOperandShouldHaveClassCompatibleWithThis|true
  27. detectorFinalizerNullsFields=FinalizerNullsFields|true
  28. detectorFindBadCast2=FindBadCast2|true
  29. detectorFindBadForLoop=FindBadForLoop|true
  30. detectorFindCircularDependencies=FindCircularDependencies|false
  31. detectorFindDeadLocalStores=FindDeadLocalStores|true
  32. detectorFindDoubleCheck=FindDoubleCheck|true
  33. detectorFindEmptySynchronizedBlock=FindEmptySynchronizedBlock|true
  34. detectorFindFieldSelfAssignment=FindFieldSelfAssignment|true
  35. detectorFindFinalizeInvocations=FindFinalizeInvocations|true
  36. detectorFindFloatEquality=FindFloatEquality|true
  37. detectorFindHEmismatch=FindHEmismatch|true
  38. detectorFindInconsistentSync2=FindInconsistentSync2|true
  39. detectorFindJSR166LockMonitorenter=FindJSR166LockMonitorenter|true
  40. detectorFindLocalSelfAssignment2=FindLocalSelfAssignment2|true
  41. detectorFindMaskedFields=FindMaskedFields|true
  42. detectorFindMismatchedWaitOrNotify=FindMismatchedWaitOrNotify|true
  43. detectorFindNakedNotify=FindNakedNotify|true
  44. detectorFindNonSerializableStoreIntoSession=FindNonSerializableStoreIntoSession|true
  45. detectorFindNonSerializableValuePassedToWriteObject=FindNonSerializableValuePassedToWriteObject|true
  46. detectorFindNonShortCircuit=FindNonShortCircuit|true
  47. detectorFindNullDeref=FindNullDeref|true
  48. detectorFindNullDerefsInvolvingNonShortCircuitEvaluation=FindNullDerefsInvolvingNonShortCircuitEvaluation|true
  49. detectorFindOpenStream=FindOpenStream|true
  50. detectorFindPuzzlers=FindPuzzlers|true
  51. detectorFindRefComparison=FindRefComparison|true
  52. detectorFindReturnRef=FindReturnRef|true
  53. detectorFindRunInvocations=FindRunInvocations|true
  54. detectorFindSelfComparison=FindSelfComparison|true
  55. detectorFindSelfComparison2=FindSelfComparison2|true
  56. detectorFindSleepWithLockHeld=FindSleepWithLockHeld|true
  57. detectorFindSpinLoop=FindSpinLoop|true
  58. detectorFindSqlInjection=FindSqlInjection|true
  59. detectorFindTwoLockWait=FindTwoLockWait|true
  60. detectorFindUncalledPrivateMethods=FindUncalledPrivateMethods|true
  61. detectorFindUnconditionalWait=FindUnconditionalWait|true
  62. detectorFindUninitializedGet=FindUninitializedGet|true
  63. detectorFindUnrelatedTypesInGenericContainer=FindUnrelatedTypesInGenericContainer|true
  64. detectorFindUnreleasedLock=FindUnreleasedLock|true
  65. detectorFindUnsatisfiedObligation=FindUnsatisfiedObligation|true
  66. detectorFindUnsyncGet=FindUnsyncGet|true
  67. detectorFindUselessControlFlow=FindUselessControlFlow|true
  68. detectorFormatStringChecker=FormatStringChecker|true
  69. detectorHugeSharedStringConstants=HugeSharedStringConstants|true
  70. detectorIDivResultCastToDouble=IDivResultCastToDouble|true
  71. detectorIncompatMask=IncompatMask|true
  72. detectorInconsistentAnnotations=InconsistentAnnotations|true
  73. detectorInefficientMemberAccess=InefficientMemberAccess|false
  74. detectorInefficientToArray=InefficientToArray|true
  75. detectorInfiniteLoop=InfiniteLoop|true
  76. detectorInfiniteRecursiveLoop=InfiniteRecursiveLoop|true
  77. detectorInfiniteRecursiveLoop2=InfiniteRecursiveLoop2|false
  78. detectorInheritanceUnsafeGetResource=InheritanceUnsafeGetResource|true
  79. detectorInitializationChain=InitializationChain|true
  80. detectorInstantiateStaticClass=InstantiateStaticClass|true
  81. detectorInvalidJUnitTest=InvalidJUnitTest|true
  82. detectorIteratorIdioms=IteratorIdioms|true
  83. detectorLazyInit=LazyInit|true
  84. detectorLoadOfKnownNullValue=LoadOfKnownNullValue|true
  85. detectorMethodReturnCheck=MethodReturnCheck|true
  86. detectorMultithreadedInstanceAccess=MultithreadedInstanceAccess|true
  87. detectorMutableLock=MutableLock|true
  88. detectorMutableStaticFields=MutableStaticFields|true
  89. detectorNaming=Naming|true
  90. detectorNumberConstructor=NumberConstructor|true
  91. detectorOverridingEqualsNotSymmetrical=OverridingEqualsNotSymmetrical|true
  92. detectorPreferZeroLengthArrays=PreferZeroLengthArrays|true
  93. detectorPublicSemaphores=PublicSemaphores|false
  94. detectorQuestionableBooleanAssignment=QuestionableBooleanAssignment|true
  95. detectorReadReturnShouldBeChecked=ReadReturnShouldBeChecked|true
  96. detectorRedundantInterfaces=RedundantInterfaces|true
  97. detectorRepeatedConditionals=RepeatedConditionals|true
  98. detectorRuntimeExceptionCapture=RuntimeExceptionCapture|true
  99. detectorSerializableIdiom=SerializableIdiom|true
  100. detectorStartInConstructor=StartInConstructor|true
  101. detectorStaticCalendarDetector=StaticCalendarDetector|true
  102. detectorStringConcatenation=StringConcatenation|true
  103. detectorSuperfluousInstanceOf=SuperfluousInstanceOf|true
  104. detectorSuspiciousThreadInterrupted=SuspiciousThreadInterrupted|true
  105. detectorSwitchFallthrough=SwitchFallthrough|true
  106. detectorSynchronizeAndNullCheckField=SynchronizeAndNullCheckField|true
  107. detectorSynchronizeOnClassLiteralNotGetClass=SynchronizeOnClassLiteralNotGetClass|true
  108. detectorSynchronizingOnContentsOfFieldToProtectField=SynchronizingOnContentsOfFieldToProtectField|true
  109. detectorURLProblems=URLProblems|true
  110. detectorUncallableMethodOfAnonymousClass=UncallableMethodOfAnonymousClass|true
  111. detectorUnnecessaryMath=UnnecessaryMath|true
  112. detectorUnreadFields=UnreadFields|true
  113. detectorUseObjectEquals=UseObjectEquals|false
  114. detectorUselessSubclassMethod=UselessSubclassMethod|false
  115. detectorVarArgsProblems=VarArgsProblems|true
  116. detectorVolatileUsage=VolatileUsage|true
  117. detectorWaitInLoop=WaitInLoop|true
  118. detectorWrongMapIterator=WrongMapIterator|true
  119. detectorXMLFactoryBypass=XMLFactoryBypass|true
  120. detector_threshold=2
  121. effort=default
  122. excludefilter0=findBugs/FindBugsExcludeFilter.xml
  123. filter_settings=Medium|BAD_PRACTICE,CORRECTNESS,MT_CORRECTNESS,PERFORMANCE,STYLE|false
  124. filter_settings_neg=MALICIOUS_CODE,NOISE,I18N,SECURITY,EXPERIMENTAL|
  125. run_at_full_build=true