githaven-fork/templates/repo
KN4CK3R c03e488e14
Add LFS Migration and Mirror (#14726)
* Implemented LFS client.

* Implemented scanning for pointer files.

* Implemented downloading of lfs files.

* Moved model-dependent code into services.

* Removed models dependency. Added TryReadPointerFromBuffer.

* Migrated code from service to module.

* Centralised storage creation.

* Removed dependency from models.

* Moved ContentStore into modules.

* Share structs between server and client.

* Moved method to services.

* Implemented lfs download on clone.

* Implemented LFS sync on clone and mirror update.

* Added form fields.

* Updated templates.

* Fixed condition.

* Use alternate endpoint.

* Added missing methods.

* Fixed typo and make linter happy.

* Detached pointer parser from gogit dependency.

* Fixed TestGetLFSRange test.

* Added context to support cancellation.

* Use ReadFull to probably read more data.

* Removed duplicated code from models.

* Moved scan implementation into pointer_scanner_nogogit.

* Changed method name.

* Added comments.

* Added more/specific log/error messages.

* Embedded lfs.Pointer into models.LFSMetaObject.

* Moved code from models to module.

* Moved code from models to module.

* Moved code from models to module.

* Reduced pointer usage.

* Embedded type.

* Use promoted fields.

* Fixed unexpected eof.

* Added unit tests.

* Implemented migration of local file paths.

* Show an error on invalid LFS endpoints.

* Hide settings if not used.

* Added LFS info to mirror struct.

* Fixed comment.

* Check LFS endpoint.

* Manage LFS settings from mirror page.

* Fixed selector.

* Adjusted selector.

* Added more tests.

* Added local filesystem migration test.

* Fixed typo.

* Reset settings.

* Added special windows path handling.

* Added unit test for HTTPClient.

* Added unit test for BasicTransferAdapter.

* Moved into util package.

* Test if LFS endpoint is allowed.

* Added support for git://

* Just use a static placeholder as the displayed url may be invalid.

* Reverted to original code.

* Added "Advanced Settings".

* Updated wording.

* Added discovery info link.

* Implemented suggestion.

* Fixed missing format parameter.

* Added Pointer.IsValid().

* Always remove model on error.

* Added suggestions.

* Use channel instead of array.

* Update routers/repo/migrate.go

* fmt

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: zeripath <art27@cantab.net>
2021-04-08 18:25:57 -04:00
..
branch Branch page and misc css improvements (#15208) 2021-04-03 10:37:32 +02:00
diff Show diff on rename with diff changes (#15338) 2021-04-08 15:35:36 -04:00
editor enhancement: add signoff option in commit form (#14516) 2021-01-29 16:57:45 +08:00
graph Fix graph pagination (#15225) 2021-04-01 16:01:23 -04:00
issue Prepend AppSubUrl to links for default avatar (#15341) 2021-04-08 15:25:06 +02:00
migrate Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
projects Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
pulls Fix truncated organization names (#14655) 2021-02-12 03:29:07 +02:00
release Implement delete release attachments and update release attachments' name (#14130) 2021-03-23 00:09:51 +08:00
settings Add LFS Migration and Mirror (#14726) 2021-04-08 18:25:57 -04:00
wiki Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
activity.tmpl Fix missleading sentence (#14829) 2021-02-28 07:54:12 +00:00
blame.tmpl Fix whitespace rendering in diff (#13415) 2020-11-04 09:14:07 +02:00
branch_dropdown.tmpl Create tag on ui (#13467) 2021-02-28 19:57:45 +00:00
clone_buttons.tmpl Consolidate clone button templates (#14023) 2020-12-28 13:30:06 -05:00
commit_page.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
commit_status.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
commit_statuses.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
commits_list_small.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
commits_list.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
commits_table.tmpl Fix tooltips and issue dependency styles (#13458) 2020-11-10 20:28:07 +02:00
commits.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
create.tmpl Add helper descriptions on new repo page (#14591) 2021-02-21 17:59:31 +08:00
empty.tmpl Consolidate clone button templates (#14023) 2020-12-28 13:30:06 -05:00
forks.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
graph.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00
header.tmpl Re-enable listing of forks when logged out (#14992) 2021-03-14 14:48:28 +00:00
home.tmpl Ensure that new pull request button works on forked forks owned by owner of the root (#14932) 2021-03-16 02:36:34 +01:00
icon.tmpl Do not display org avatar near icon for internal repos (#13957) 2020-12-13 16:51:15 -05:00
search.tmpl [Feature] add precise search type for Elastic Search (#12869) 2021-01-27 12:00:35 +02:00
shabox_badge.tmpl Fix avatar template error (#13833) 2020-12-03 23:12:59 +00:00
sub_menu.tmpl Move macaron to chi (#14293) 2021-01-26 16:36:53 +01:00
upload.tmpl Fix attachments list in edit comment (#13036) 2020-10-11 00:49:59 +01:00
user_cards.tmpl Direct avatar rendering (#13649) 2020-12-03 19:46:11 +01:00
view_file.tmpl Add Tabular Diff for CSV files (#14661) 2021-03-29 22:44:28 +02:00
view_list.tmpl Show dropdown with all statuses for commit (#13977) 2020-12-20 11:13:12 +08:00
watchers.tmpl Add class to page content to unify top margin (#13766) 2020-11-30 23:00:14 -05:00