Skip to content
Snippets Groups Projects

Refactor LfsImportService and ImportService

Merged Francisco Javier López requested to merge fj-refactor-lfs-import-code into master
All threads resolved!

What does this MR do?

In https://gitlab.com/gitlab-org/gitlab-ee/issues/10871 we are going to reuse the service that import Lfs Objects, but ImportService has too much logic about it. In this MR we refactor the code to make it more straightforward and reusable.

Does this MR meet the acceptance criteria?

Conformity

Edited by Francisco Javier López

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Bob Van Landuyt
  • added 1 commit

    • 19c7c5ae - Code review comments applied

    Compare with previous version

  • added 1 commit

    • 19c7c5ae - Code review comments applied

    Compare with previous version

  • added 1 commit

    • 54b73772 - Refactored LfsImportService and ImportService

    Compare with previous version

  • added 87 commits

    Compare with previous version

  • added 7 commits

    Compare with previous version

  • Bob Van Landuyt resolved all discussions

    resolved all discussions

  • Bob Van Landuyt
  • Bob Van Landuyt
  • @fjsanpedro Some more suggestions, the main one being https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/27255#note_161611008, let's leave the bigger refactor for https://gitlab.com/gitlab-org/gitlab-ce/issues/60467 but I think we could tear apart the methods somewhat to have a tiny step in that direction, WDYT?

  • added 1 commit

    • 65b22222 - Code review comments applied

    Compare with previous version

  • added 506 commits

    Compare with previous version

  • @reprazent back to you again :wink:

    Edited by Francisco Javier López
  • Bob Van Landuyt resolved all discussions

    resolved all discussions

  • Bob Van Landuyt
  • Bob Van Landuyt
  • Bob Van Landuyt approved this merge request

    approved this merge request

  • Cool @fjsanpedro! Just some suggestions regarding the naming of stuff, though I'm not super convinced about my suggestions either :grimacing:. Naming things is hard! So maybe you can think of something better. Either way, I think it's ready for maintainer eyes :smile:.

    I think this is already a nice step forward for https://gitlab.com/gitlab-org/gitlab-ce/issues/60467 :smile:.

  • mentioned in issue #60467 (moved)

  • @reprazent I will leave the renamings to https://gitlab.com/gitlab-org/gitlab-ce/issues/60467. I don't want to introduce any new bug here. Thanks for your review :wink:.

    @godfat do you mind to take a look?

  • Lin Jen-Shin
  • @fjsanpedro Thanks! Sorry since I am off til Wednesday, so I only took a quick glimpse through it, and had one minor thought, which is not really important either.

    Because of this, and @reprazent should be becoming as a maintainer very soon, I would like to just rely on his judgement.

    @reprazent I see you don't have the maintainer privilege yet, but I can hit the button for you in this case. Let me know if you want me to merge it.

  • @godfat Sorry, I didn't notice you were off. I've reviewed this as a first review, but it still needs a second pair of eyes :smile:.

    @jameslopez would you have a moment to be that second pair of eyes?

  • @reprazent No problems. I was assigned before I was off, but I didn't have time and I decided to take a look on Monday, but then I see this might take some time so I decided to not looking into it too carefully for now :sweat_smile:

  • James Lopez
  • James Lopez
  • James Lopez
  • James Lopez
  • James Lopez
  • Thanks @fjsanpedro - left some suggestions :)

  • added 1 commit

    • 2004c572 - Code review comments applied

    Compare with previous version

  • James Lopez resolved all discussions

    resolved all discussions

  • Merging this, we can tackle the tech debt items in https://gitlab.com/gitlab-org/gitlab-ce/issues/60467

    Thanks @fjsanpedro!

  • merged

  • James Lopez mentioned in commit ee1b6d31

    mentioned in commit ee1b6d31

  • Francisco Javier López changed the description

    changed the description

  • 🤖 GitLab Bot 🤖 added Category:Source Code Management label and removed 1 deleted label

    added Category:Source Code Management label and removed 1 deleted label

  • Please register or sign in to reply
    Loading