Migrate 100s of projects from BitBucket to GitHub or GitHub to BitBucket

mharen's Avatar

mharen

18 Jul, 2019 02:13 PM

Hi there,

I'm working on a project to consolidate heavy use of both BitBucket and GitHub into one or the other. Are there any APIs to help facilitate this within AppVeyor?

E.g. if I manage to move the repo from BitBucket to GitHub, can I tell AppVeyor to update the pull URLs and recreate the webhooks?

  1. 1 Posted by Ilya Finkelshte... on 19 Jul, 2019 01:26 AM

    Ilya Finkelshteyn's Avatar

    Hi Michael,

    There are no API to change project source control management system type. Easiest way top create a new projects, which is possible with API. Here I see 2 potential issues:

    • if new project created for the repository which has the same name, project URL slug will have random adding to avoid duplication. To avoid that you can rename slug for the old project.
    • project build history will remain with older project. You can request move of project histories from us. We will be just needed to know AppVeyor account name and slugs of old and new projects (in pairs). Request should be send from some user with Administrator role in the account.

    Ilya.

  2. 2 Posted by mharen on 19 Jul, 2019 05:26 PM

    mharen's Avatar

    Understood, thank you.

  3. mharen closed this discussion on 19 Jul, 2019 05:26 PM.

  4. Ilya Finkelshteyn re-opened this discussion on 19 Jul, 2019 05:32 PM

  5. 3 Posted by Ilya Finkelshte... on 19 Jul, 2019 05:32 PM

    Ilya Finkelshteyn's Avatar

    Reviewed and realized that I did not added a link to rename slug. Added now.

  6. Ilya Finkelshteyn closed this discussion on 19 Jul, 2019 05:32 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM