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.

org.eclipse.jdt.ui.prefs 2.9KB

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>
8 anni fa
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. eclipse.preferences.version=1
  2. editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
  3. formatter_profile=_JGit Format
  4. formatter_settings_version=12
  5. org.eclipse.jdt.ui.ignorelowercasenames=true
  6. org.eclipse.jdt.ui.importorder=java;javax;org;com;
  7. org.eclipse.jdt.ui.ondemandthreshold=99
  8. org.eclipse.jdt.ui.staticondemandthreshold=99
  9. org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates/>
  10. sp_cleanup.add_default_serial_version_id=true
  11. sp_cleanup.add_generated_serial_version_id=false
  12. sp_cleanup.add_missing_annotations=false
  13. sp_cleanup.add_missing_deprecated_annotations=true
  14. sp_cleanup.add_missing_methods=false
  15. sp_cleanup.add_missing_nls_tags=false
  16. sp_cleanup.add_missing_override_annotations=true
  17. sp_cleanup.add_missing_override_annotations_interface_methods=false
  18. sp_cleanup.add_serial_version_id=false
  19. sp_cleanup.always_use_blocks=true
  20. sp_cleanup.always_use_parentheses_in_expressions=false
  21. sp_cleanup.always_use_this_for_non_static_field_access=false
  22. sp_cleanup.always_use_this_for_non_static_method_access=false
  23. sp_cleanup.convert_to_enhanced_for_loop=false
  24. sp_cleanup.correct_indentation=false
  25. sp_cleanup.format_source_code=true
  26. sp_cleanup.format_source_code_changes_only=true
  27. sp_cleanup.make_local_variable_final=false
  28. sp_cleanup.make_parameters_final=false
  29. sp_cleanup.make_private_fields_final=true
  30. sp_cleanup.make_type_abstract_if_missing_method=false
  31. sp_cleanup.make_variable_declarations_final=false
  32. sp_cleanup.never_use_blocks=false
  33. sp_cleanup.never_use_parentheses_in_expressions=true
  34. sp_cleanup.on_save_use_additional_actions=true
  35. sp_cleanup.organize_imports=false
  36. sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
  37. sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
  38. sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
  39. sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
  40. sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
  41. sp_cleanup.remove_private_constructors=true
  42. sp_cleanup.remove_trailing_whitespaces=true
  43. sp_cleanup.remove_trailing_whitespaces_all=true
  44. sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
  45. sp_cleanup.remove_unnecessary_casts=false
  46. sp_cleanup.remove_unnecessary_nls_tags=false
  47. sp_cleanup.remove_unused_imports=false
  48. sp_cleanup.remove_unused_local_variables=false
  49. sp_cleanup.remove_unused_private_fields=true
  50. sp_cleanup.remove_unused_private_members=false
  51. sp_cleanup.remove_unused_private_methods=true
  52. sp_cleanup.remove_unused_private_types=true
  53. sp_cleanup.sort_members=false
  54. sp_cleanup.sort_members_all=false
  55. sp_cleanup.use_blocks=false
  56. sp_cleanup.use_blocks_only_for_return_and_throw=false
  57. sp_cleanup.use_parentheses_in_expressions=false
  58. sp_cleanup.use_this_for_non_static_field_access=false
  59. sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
  60. sp_cleanup.use_this_for_non_static_method_access=false
  61. sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true