{"id":1161,"date":"2018-06-12T16:25:56","date_gmt":"2018-06-12T16:25:56","guid":{"rendered":"http:\/\/www.codeastar.com\/?p=1161"},"modified":"2018-06-12T16:25:56","modified_gmt":"2018-06-12T16:25:56","slug":"great-migration-gitlab","status":"publish","type":"post","link":"https:\/\/www.codeastar.com\/great-migration-gitlab\/","title":{"rendered":"The Great Migration to GitLab in Open Source community"},"content":{"rendered":"

GitHub \/ GitLab \/ Bitbucket are homes for developers to share their open source projects to the public for free. We have seen so many great projects there in GitHub. Like the winning data science learning model —\u00a0XGB<\/a>, Python’s micro web framework — Flask<\/a>, Microsoft’s own light and fast learning model — LGB<\/a> and the list goes on. Of course, projects from our previous posts, Python CNN image recognizer<\/a>, eBay Daily Deal Scraper<\/a>, Easy Weather Forecast web app<\/a> and others are stored on GitHub as well. Then what’s going on there?<\/p>\n

Microsoft acquired GitHub<\/a> for USD 7.5 Billion on 4th June, 2018.<\/p>\n

<\/p>\n

The Great Migration begins<\/h3>\n

After the acquisition news had gone public, people just flooded to other GitHub alternatives. And GitLab is one of them. According to GitLab, there were about 21,000 projects<\/a> being imported within a single hour.<\/p>\n

\"projects<\/p>\n

As I mentioned on previous post<\/a>, I am a long time Microsoft’s products user,\u00a0I know that feel bro.\u00a0There is nothing change on GitHub currently, but deep down from our hearts, we believe Microsoft might ruin GitHub eventually (the same thing applies to Oracle and Electronic Arts, when they buy a company). So we should move our projects to other open source platforms. And GitLab is a fast and easy choice.<\/p>\n

Steps for the GitLab Great Migration<\/h3>\n

Moving to GitLab is easy, but before we start, we have to ensure following things:<\/p>\n

    \n
  1. you have both GitHub and GitLab accounts<\/li>\n
  2. both GitHub and GitLab accounts are using the same eMail address<\/li>\n<\/ol>\n

    Once those are ready, we login to GitLab web site and press “New project” button on the upper right side.<\/p>\n

    \"Create<\/p>\n

    From the new project page, select “Import project” tab and click the “GitHub” button from the [import project from] section.<\/p>\n

    \"Import<\/p>\n

    Before we importing projects from GitHub, we need to authorize GitLab to access our GitHub repositories. After the authorization process, the rest is easy. All we need to do is press the import repository button. And the system will do the remaining work for you. You can import your project one by one, or simply press the import all button. (It may take a while if you have many projects to import)<\/p>\n

    \"It<\/p>\n

    After a coffee\/ soda \/ lunch \/ dinner (depending on how many projects you have)\u00a0break, GitLab has migrated our projects from GitHub to our new home. There is only one more step to finish our great migration — set the\u00a0project visibility.<\/p>\n

    Change Project Visibility<\/h3>\n

    GitLab will set our imported projects as private project by default. We can go to project setting to set it back to public project. As of this moment, there is no bulk action to change the project visibility. So we have to set it one by one.\u00a0Luckily, a few clicks can make the job done.<\/p>\n

    First, we select one of our project. Then click the setting icon on the left side of the menu bar and click “General”.<\/p>\n

    \"Project<\/p>\n

    On the General project settings page, go to the [Permissions] section and select “Public” on [Project visibility]. That’s it!. Now people can fork \/ clone our GitLab projects likes the way we do in GitHub.<\/p>\n

    \"Set<\/p>\n

    Final Thoughts<\/h3>\n

    You may know, I am no fan of Microsoft. But according to its stock performance, annual revenue and brand value, Microsoft is an enterprise that makes “good for business<\/a>” decisions. Microsoft may integrate GitHub to its “money maker”, Azure cloud platform, to provide better business solutions. Although Microsoft’s\u00a0acquisition is a sad news for a GitHub user likes me, it is true that GitHub can run way further under Microsoft’s wing and its network.<\/p>\n

     <\/p>\n

    What have we learnt in this post?<\/h3>\n
      \n
    1. How to import projects from GitHub to GitLab<\/li>\n
    2. Set the project visibility on GitLab<\/li>\n
    3. When one door closes, another opens<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"

      GitHub \/ GitLab \/ Bitbucket are homes for developers to share their open source projects to the public for free. We have seen so many great projects there in GitHub. Like the winning data science learning model —\u00a0XGB, Python’s micro web framework — Flask, Microsoft’s own light and fast learning model — LGB and the […]<\/p>\n","protected":false},"author":1,"featured_media":1185,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[2],"tags":[85,86,88,87],"jetpack_publicize_connections":[],"yoast_head":"\nThe Great Migration to GitLab in Open Source community ⋆ Code A Star<\/title>\n<meta name=\"description\" content=\"Microsoft acquired GitHub. I am a long time Microsoft's user,\u00a0I know that feel bro. Let's follow the guide to move our projects from GitHub to GitLab.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.codeastar.com\/great-migration-gitlab\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Great Migration to GitLab in Open Source community ⋆ Code A Star\" \/>\n<meta property=\"og:description\" content=\"Microsoft acquired GitHub. I am a long time Microsoft's user,\u00a0I know that feel bro. Let's follow the guide to move our projects from GitHub to GitLab.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.codeastar.com\/great-migration-gitlab\/\" \/>\n<meta property=\"og:site_name\" content=\"Code A Star\" \/>\n<meta property=\"article:publisher\" content=\"codeastar\" \/>\n<meta property=\"article:author\" content=\"codeastar\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-12T16:25:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.codeastar.com\/wp-content\/uploads\/2018\/06\/gm.png?fit=1256%2C461&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"1256\" \/>\n\t<meta property=\"og:image:height\" content=\"461\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Raven Hon\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@codeastar\" \/>\n<meta name=\"twitter:site\" content=\"@codeastar\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Raven Hon\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.codeastar.com\/great-migration-gitlab\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.codeastar.com\/great-migration-gitlab\/\"},\"author\":{\"name\":\"Raven Hon\",\"@id\":\"https:\/\/www.codeastar.com\/#\/schema\/person\/832d202eb92a3d430097e88c6d0550bd\"},\"headline\":\"The Great Migration to GitLab in Open Source community\",\"datePublished\":\"2018-06-12T16:25:56+00:00\",\"dateModified\":\"2018-06-12T16:25:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.codeastar.com\/great-migration-gitlab\/\"},\"wordCount\":629,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.codeastar.com\/#\/schema\/person\/832d202eb92a3d430097e88c6d0550bd\"},\"keywords\":[\"GitHub\",\"GitLab\",\"Microsoft\",\"Open Source\"],\"articleSection\":[\"We code therefore we are\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.codeastar.com\/great-migration-gitlab\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.codeastar.com\/great-migration-gitlab\/\",\"url\":\"https:\/\/www.codeastar.com\/great-migration-gitlab\/\",\"name\":\"The Great Migration to GitLab in Open Source community ⋆ Code A Star\",\"isPartOf\":{\"@id\":\"https:\/\/www.codeastar.com\/#website\"},\"datePublished\":\"2018-06-12T16:25:56+00:00\",\"dateModified\":\"2018-06-12T16:25:56+00:00\",\"description\":\"Microsoft acquired GitHub. I am a long time Microsoft's user,\u00a0I know that feel bro. Let's follow the guide to move our projects from GitHub to GitLab.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.codeastar.com\/great-migration-gitlab\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.codeastar.com\/great-migration-gitlab\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.codeastar.com\/great-migration-gitlab\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.codeastar.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Great Migration to GitLab in Open Source community\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.codeastar.com\/#website\",\"url\":\"https:\/\/www.codeastar.com\/\",\"name\":\"Code A Star\",\"description\":\"We don't wish upon a star, we code a star\",\"publisher\":{\"@id\":\"https:\/\/www.codeastar.com\/#\/schema\/person\/832d202eb92a3d430097e88c6d0550bd\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.codeastar.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.codeastar.com\/#\/schema\/person\/832d202eb92a3d430097e88c6d0550bd\",\"name\":\"Raven Hon\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.codeastar.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.codeastar.com\/wp-content\/uploads\/2018\/08\/logo70.png?fit=70%2C70&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.codeastar.com\/wp-content\/uploads\/2018\/08\/logo70.png?fit=70%2C70&ssl=1\",\"width\":70,\"height\":70,\"caption\":\"Raven Hon\"},\"logo\":{\"@id\":\"https:\/\/www.codeastar.com\/#\/schema\/person\/image\/\"},\"description\":\"Raven Hon is\u00a0a 20 years+ veteran in information technology industry who has worked on various projects from console, web, game, banking and mobile applications in different sized companies.\",\"sameAs\":[\"https:\/\/www.codeastar.com\",\"codeastar\",\"https:\/\/twitter.com\/codeastar\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Great Migration to GitLab in Open Source community ⋆ Code A Star","description":"Microsoft acquired GitHub. I am a long time Microsoft's user,\u00a0I know that feel bro. Let's follow the guide to move our projects from GitHub to GitLab.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.codeastar.com\/great-migration-gitlab\/","og_locale":"en_US","og_type":"article","og_title":"The Great Migration to GitLab in Open Source community ⋆ Code A Star","og_description":"Microsoft acquired GitHub. I am a long time Microsoft's user,\u00a0I know that feel bro. Let's follow the guide to move our projects from GitHub to GitLab.","og_url":"https:\/\/www.codeastar.com\/great-migration-gitlab\/","og_site_name":"Code A Star","article_publisher":"codeastar","article_author":"codeastar","article_published_time":"2018-06-12T16:25:56+00:00","og_image":[{"width":1256,"height":461,"url":"https:\/\/i0.wp.com\/www.codeastar.com\/wp-content\/uploads\/2018\/06\/gm.png?fit=1256%2C461&ssl=1","type":"image\/png"}],"author":"Raven Hon","twitter_card":"summary_large_image","twitter_creator":"@codeastar","twitter_site":"@codeastar","twitter_misc":{"Written by":"Raven Hon","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.codeastar.com\/great-migration-gitlab\/#article","isPartOf":{"@id":"https:\/\/www.codeastar.com\/great-migration-gitlab\/"},"author":{"name":"Raven Hon","@id":"https:\/\/www.codeastar.com\/#\/schema\/person\/832d202eb92a3d430097e88c6d0550bd"},"headline":"The Great Migration to GitLab in Open Source community","datePublished":"2018-06-12T16:25:56+00:00","dateModified":"2018-06-12T16:25:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.codeastar.com\/great-migration-gitlab\/"},"wordCount":629,"commentCount":0,"publisher":{"@id":"https:\/\/www.codeastar.com\/#\/schema\/person\/832d202eb92a3d430097e88c6d0550bd"},"keywords":["GitHub","GitLab","Microsoft","Open Source"],"articleSection":["We code therefore we are"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.codeastar.com\/great-migration-gitlab\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.codeastar.com\/great-migration-gitlab\/","url":"https:\/\/www.codeastar.com\/great-migration-gitlab\/","name":"The Great Migration to GitLab in Open Source community ⋆ Code A Star","isPartOf":{"@id":"https:\/\/www.codeastar.com\/#website"},"datePublished":"2018-06-12T16:25:56+00:00","dateModified":"2018-06-12T16:25:56+00:00","description":"Microsoft acquired GitHub. I am a long time Microsoft's user,\u00a0I know that feel bro. Let's follow the guide to move our projects from GitHub to GitLab.","breadcrumb":{"@id":"https:\/\/www.codeastar.com\/great-migration-gitlab\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.codeastar.com\/great-migration-gitlab\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.codeastar.com\/great-migration-gitlab\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.codeastar.com\/"},{"@type":"ListItem","position":2,"name":"The Great Migration to GitLab in Open Source community"}]},{"@type":"WebSite","@id":"https:\/\/www.codeastar.com\/#website","url":"https:\/\/www.codeastar.com\/","name":"Code A Star","description":"We don't wish upon a star, we code a star","publisher":{"@id":"https:\/\/www.codeastar.com\/#\/schema\/person\/832d202eb92a3d430097e88c6d0550bd"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.codeastar.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.codeastar.com\/#\/schema\/person\/832d202eb92a3d430097e88c6d0550bd","name":"Raven Hon","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.codeastar.com\/#\/schema\/person\/image\/","url":"https:\/\/i0.wp.com\/www.codeastar.com\/wp-content\/uploads\/2018\/08\/logo70.png?fit=70%2C70&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.codeastar.com\/wp-content\/uploads\/2018\/08\/logo70.png?fit=70%2C70&ssl=1","width":70,"height":70,"caption":"Raven Hon"},"logo":{"@id":"https:\/\/www.codeastar.com\/#\/schema\/person\/image\/"},"description":"Raven Hon is\u00a0a 20 years+ veteran in information technology industry who has worked on various projects from console, web, game, banking and mobile applications in different sized companies.","sameAs":["https:\/\/www.codeastar.com","codeastar","https:\/\/twitter.com\/codeastar"]}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.codeastar.com\/wp-content\/uploads\/2018\/06\/gm.png?fit=1256%2C461&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8PcRO-iJ","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/www.codeastar.com\/wp-json\/wp\/v2\/posts\/1161"}],"collection":[{"href":"https:\/\/www.codeastar.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codeastar.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codeastar.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codeastar.com\/wp-json\/wp\/v2\/comments?post=1161"}],"version-history":[{"count":18,"href":"https:\/\/www.codeastar.com\/wp-json\/wp\/v2\/posts\/1161\/revisions"}],"predecessor-version":[{"id":1186,"href":"https:\/\/www.codeastar.com\/wp-json\/wp\/v2\/posts\/1161\/revisions\/1186"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.codeastar.com\/wp-json\/wp\/v2\/media\/1185"}],"wp:attachment":[{"href":"https:\/\/www.codeastar.com\/wp-json\/wp\/v2\/media?parent=1161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codeastar.com\/wp-json\/wp\/v2\/categories?post=1161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codeastar.com\/wp-json\/wp\/v2\/tags?post=1161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}