Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[API] add new endpoints for push mirrors management #19841

Merged
merged 46 commits into from
Jul 30, 2022
Merged

Commits on May 31, 2022

  1. add new endpoints for push mirrors management:

    * [x] add a new push mirror to specific repository
    * [x] sync now ( send all the changes to the configured push mirrors )
    * [x] Get list of all push mirrors of a repository
    * [x] get a push mirror by ID
    * [x] delete push mirror by ID
    
    Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
    mohsek committed May 31, 2022
    Configuration menu
    Copy the full SHA
    cf10d77 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into main

    mohsek committed May 31, 2022
    Configuration menu
    Copy the full SHA
    015a57a View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. Merge branch 'main' into main

    mohsek committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    fb9ea68 View commit details
    Browse the repository at this point in the history
  2. remove changes added to some files by mistake

    Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
    mohsek committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    a4b40bd View commit details
    Browse the repository at this point in the history
  3. fix lint errors

    mohsek committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    4a1fb91 View commit details
    Browse the repository at this point in the history
  4. Update .drone.yml

    zeripath committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    5c5eef3 View commit details
    Browse the repository at this point in the history
  5. Remove unnecessary package change

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    a79cd85 View commit details
    Browse the repository at this point in the history
  6. Protect against reading other repo push mirrors

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    99f6a77 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4141460 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0742732 View commit details
    Browse the repository at this point in the history
  9. And Delete too

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    4fa4660 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    97204df View commit details
    Browse the repository at this point in the history
  11. fix lint

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    633095d View commit details
    Browse the repository at this point in the history
  12. Use remote name not id

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    d507d47 View commit details
    Browse the repository at this point in the history
  13. oops swagger

    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    179e935 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2022

  1. rename push-mirror endpoints to push_mirrors

    Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
    mohsek committed Jun 3, 2022
    Configuration menu
    Copy the full SHA
    37ba6cf View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2022

  1. apply the suggested changes

    Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
    mohsek committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    4560d3b View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into main

    mohsek committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    b4e0977 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2022

  1. handle error on failed sync mirror

    Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
    mohsek committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    addd7f1 View commit details
    Browse the repository at this point in the history
  2. fix typo

    Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
    mohsek committed Jun 8, 2022
    Configuration menu
    Copy the full SHA
    4071774 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. apply PR suggestions

    mohsek committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    9206fc5 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2022

  1. Configuration menu
    Copy the full SHA
    6950ff1 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into main

    mohsek committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    3e90998 View commit details
    Browse the repository at this point in the history
  3. fix lint-backend error

    mohsek committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    0d39152 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2022

  1. Merge branch 'main' into main

    mohsek committed Jun 13, 2022
    Configuration menu
    Copy the full SHA
    88f620c View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

  1. code refactoring

    merge DeletePushMirrorsByID & DeletePushMirrorByRepoIDAndName into DeletePushMirrors
    merge GetPushMirrorByID & GetPushMirrorByRepoIDAndName into GetPushMirrors
    
    Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
    mohsek committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    b23979a View commit details
    Browse the repository at this point in the history
  2. fix lint

    Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
    mohsek committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    c775d3c View commit details
    Browse the repository at this point in the history
  3. handle error getMirrorRemoteAddress

    Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
    mohsek committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    614d724 View commit details
    Browse the repository at this point in the history
  4. handle errors on convert.ToPushMirror

    Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
    mohsek committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    85eecf5 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2022

  1. use builder.Cond function to simplify code

    Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
    mohsek committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    aabe5e9 View commit details
    Browse the repository at this point in the history
  2. restore changes done to helper.go

    Signed-off-by: Mohamed Sekour <mohamed.sekour@exfo.com>
    mohsek committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    4a54502 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2022

  1. Merge branch 'main' into main

    mohsek committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    639268a View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2022

  1. Configuration menu
    Copy the full SHA
    2645df8 View commit details
    Browse the repository at this point in the history
  2. apply PR suggestions

    mohsek committed Jul 1, 2022
    Configuration menu
    Copy the full SHA
    61e493e View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2022

  1. apply PR suggestion

    mohsek committed Jul 2, 2022
    Configuration menu
    Copy the full SHA
    da57680 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2022

  1. some minor refactoring

    mohsek committed Jul 3, 2022
    Configuration menu
    Copy the full SHA
    e50174c View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into main

    mohsek committed Jul 3, 2022
    Configuration menu
    Copy the full SHA
    d59a235 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2022

  1. Configuration menu
    Copy the full SHA
    5cff07e View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2022

  1. Configuration menu
    Copy the full SHA
    0884346 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2022

  1. Configuration menu
    Copy the full SHA
    1886253 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2022

  1. Merge branch 'main' into main

    mohsek committed Jul 26, 2022
    Configuration menu
    Copy the full SHA
    cadcfb7 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Merge branch 'main' into main

    lunny committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    c535692 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8578582 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

  1. Merge branch 'main' into main

    mohsek committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    1309dec View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2022

  1. fix wrong count calculation

    mohsek committed Jul 30, 2022
    Configuration menu
    Copy the full SHA
    d9ddbcf View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into main

    6543 committed Jul 30, 2022
    Configuration menu
    Copy the full SHA
    d1f2993 View commit details
    Browse the repository at this point in the history