Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

org.eclipse.pde.api.tools.prefs 4.2KB

Support LFS protocol and a file system based LFS storage Implement LfsProtocolServlet handling the "Git LFS v1 Batch API" protocol [1]. Add a simple file system based LFS content store and the debug-lfs-store command to simplify testing. Introduce a LargeFileRepository interface to enable additional storage implementation while reusing the same protocol implementation. At the client side we have to configure the lfs.url, specify that we use the batch API and we don't use authentication: [lfs] url = http://host:port/lfs batch = true [lfs "http://host:port/lfs"] access = none the git-lfs client appends the "objects/batch" to the lfs.url. Hard code an Authorization header in the FileLfsRepository.getAction because then git-lfs client will skip asking for credentials. It will just forward the Authorization header from the response to the download/upload request. The FileLfsServlet supports file content storage for "Large File Storage" (LFS) server as defined by the Github LFS API [2]. - upload and download of large files is probably network bound hence use an asynchronous servlet for good scalability - simple object storage in file system with 2 level fan-out - use LockFile to protect writing large objects against multiple concurrent uploads of the same object - to prevent corrupt uploads the uploaded file is rejected if its hash doesn't match id given in URL The debug-lfs-store command is used to run the LfsProtocolServlet and, optionally, the FileLfsServlet which makes it easier to setup a local test server. [1] https://github.com/github/git-lfs/blob/master/docs/api/http-v1-batch.md [2] https://github.com/github/git-lfs/tree/master/docs/api Bug: 472961 Change-Id: I7378da5575159d2195138d799704880c5c82d5f3 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
před 8 roky
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. ANNOTATION_ELEMENT_TYPE_ADDED_METHOD_WITHOUT_DEFAULT_VALUE=Error
  2. ANNOTATION_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
  3. ANNOTATION_ELEMENT_TYPE_REMOVED_FIELD=Error
  4. ANNOTATION_ELEMENT_TYPE_REMOVED_METHOD=Error
  5. ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
  6. API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=Error
  7. API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_API_TYPE=Error
  8. API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_TYPE=Error
  9. API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error
  10. CLASS_ELEMENT_TYPE_ADDED_METHOD=Error
  11. CLASS_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
  12. CLASS_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
  13. CLASS_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error
  14. CLASS_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
  15. CLASS_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error
  16. CLASS_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error
  17. CLASS_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
  18. CLASS_ELEMENT_TYPE_REMOVED_CONSTRUCTOR=Error
  19. CLASS_ELEMENT_TYPE_REMOVED_FIELD=Error
  20. CLASS_ELEMENT_TYPE_REMOVED_METHOD=Error
  21. CLASS_ELEMENT_TYPE_REMOVED_SUPERCLASS=Error
  22. CLASS_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
  23. CLASS_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
  24. CONSTRUCTOR_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
  25. CONSTRUCTOR_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
  26. CONSTRUCTOR_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error
  27. CONSTRUCTOR_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
  28. ENUM_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error
  29. ENUM_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
  30. ENUM_ELEMENT_TYPE_REMOVED_ENUM_CONSTANT=Error
  31. ENUM_ELEMENT_TYPE_REMOVED_FIELD=Error
  32. ENUM_ELEMENT_TYPE_REMOVED_METHOD=Error
  33. ENUM_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
  34. FIELD_ELEMENT_TYPE_ADDED_VALUE=Error
  35. FIELD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
  36. FIELD_ELEMENT_TYPE_CHANGED_FINAL_TO_NON_FINAL_STATIC_CONSTANT=Error
  37. FIELD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error
  38. FIELD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error
  39. FIELD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error
  40. FIELD_ELEMENT_TYPE_CHANGED_TYPE=Error
  41. FIELD_ELEMENT_TYPE_CHANGED_VALUE=Error
  42. FIELD_ELEMENT_TYPE_REMOVED_TYPE_ARGUMENT=Error
  43. FIELD_ELEMENT_TYPE_REMOVED_VALUE=Error
  44. ILLEGAL_EXTEND=Warning
  45. ILLEGAL_IMPLEMENT=Warning
  46. ILLEGAL_INSTANTIATE=Warning
  47. ILLEGAL_OVERRIDE=Warning
  48. ILLEGAL_REFERENCE=Warning
  49. INTERFACE_ELEMENT_TYPE_ADDED_FIELD=Error
  50. INTERFACE_ELEMENT_TYPE_ADDED_METHOD=Error
  51. INTERFACE_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
  52. INTERFACE_ELEMENT_TYPE_ADDED_SUPER_INTERFACE_WITH_METHODS=Error
  53. INTERFACE_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
  54. INTERFACE_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error
  55. INTERFACE_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
  56. INTERFACE_ELEMENT_TYPE_REMOVED_FIELD=Error
  57. INTERFACE_ELEMENT_TYPE_REMOVED_METHOD=Error
  58. INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
  59. INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
  60. INVALID_JAVADOC_TAG=Ignore
  61. INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Error
  62. LEAK_EXTEND=Warning
  63. LEAK_FIELD_DECL=Warning
  64. LEAK_IMPLEMENT=Warning
  65. LEAK_METHOD_PARAM=Warning
  66. LEAK_METHOD_RETURN_TYPE=Warning
  67. METHOD_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
  68. METHOD_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
  69. METHOD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
  70. METHOD_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error
  71. METHOD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error
  72. METHOD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error
  73. METHOD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error
  74. METHOD_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error
  75. METHOD_ELEMENT_TYPE_REMOVED_ANNOTATION_DEFAULT_VALUE=Error
  76. METHOD_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
  77. TYPE_PARAMETER_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error
  78. TYPE_PARAMETER_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error
  79. TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_CLASS_BOUND=Error
  80. TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_INTERFACE_BOUND=Error
  81. TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_CLASS_BOUND=Error
  82. TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error
  83. UNUSED_PROBLEM_FILTERS=Warning
  84. automatically_removed_unused_problem_filters=false
  85. eclipse.preferences.version=1
  86. incompatible_api_component_version=Error
  87. incompatible_api_component_version_include_major_without_breaking_change=Disabled
  88. incompatible_api_component_version_include_minor_without_api_change=Disabled
  89. invalid_since_tag_version=Error
  90. malformed_since_tag=Error
  91. missing_since_tag=Error
  92. report_api_breakage_when_major_version_incremented=Disabled
  93. report_resolution_errors_api_component=Warning