-
Notifications
You must be signed in to change notification settings - Fork 60
Digcs 1 migrate bibucket to GitHub #2744
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
Conversation
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, left some comments on the PR :)
| @@ -0,0 +1,794 @@ | |||
| Migrating From Bitbucket to GitHub | |||
|
|
|||
| # Outline | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The title of the page should be more specific in regards to what the guide does.
|
|
||
| # Outline | ||
|
|
||
| ## 1. Introduction |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to number the headers :)
| - A Bitbucket account with the specified project and set of repositories you want to migrate to GitHub | ||
| - A GitHub organization where you have owner permissions or permissions to create a repository | ||
|
|
||
| ## 3. Setting Up the GitHub and Bitbucket Integrations on Port |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All headers should have a capital letter only for the first word. The rest of the sentence will be in lowercase letters. For example: "Promote scorecards". Unless one of them is a well known product such as Lambda, Kubernetes, ArgoCD, etc.
| 2. Click on **+ Blueprint** to create a blueprint | ||
| 3. Click on the **Edit JSON** button to enter JSON mode and paste the blueprint definition below | ||
|
|
||
| ```json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please number the line like so:
And if the code is long put it in a collapsible as well. Same for the rest of the code snippets
| ```json | |
| <details> | |
| <summary><b>Port port-app-config.yml (click to expand)</b></summary> | |
| ```json showLineNumbers | |
| ... | |
| </details> |
|
|
||
| Next, we define a mapping configuration to ingest GitHub repositories, associating them to the `githubService` blueprint in Port. | ||
|
|
||
| 1. From the **Builder Page**, select **Data sources** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add links to the relevant pages like so:
| 1. From the **Builder Page**, select **Data sources** | |
| 1. From the [Builder](https://app.getport.io/settings/data-model) page, select [data sources](https://app.getport.io/settings/data-sources). |
| @@ -0,0 +1,794 @@ | |||
| Migrating From Bitbucket to GitHub | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really see the purpose of this line, Is it suppose to be the header? :)
I suggest using the CONTRIBUTING.md file either with Cursor or ChatGPT to make sure the change is compatible with the docs standards.
You also need to add the guide to the /src/components/guides-section/consts.js so it appears in the guides section.
# Conflicts: # src/components/guides-section/consts.js
| @@ -0,0 +1,821 @@ | |||
| # Migrate repositories from Bitbucket to GitHub using Port self-service actions | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All guides should have this so that the sidebar isn't displayed when reading them
| # Migrate repositories from Bitbucket to GitHub using Port self-service actions | |
| --- | |
| displayed_sidebar: null | |
| --- | |
| # Migrate repositories from Bitbucket to GitHub using Port self-service actions |
|
|
||
| Port ensures all the relevant repository data—like URLs, readmes, codeowner files, etc.—is synced for visibility. The built-in scorecards in the blueprints let you and your team track migration progress at a glance. | ||
|
|
||
| --- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for this divider between headers, please remove
|
|
||
| </details> | ||
|
|
||
| d. Click on **Save** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
|
|
||
| </details> | ||
|
|
||
| d. Click on the **Save & Resync** button at the bottom right corner |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here, fix this "d."
|
|
||
| - It extracts specific repository files (e.g., `README.md`, `CODEOWNERS`, `Jenkinsfile`) and includes them in the blueprint properties. | ||
|
|
||
| --- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
again, remove divider (and all other dividers)
|
|
||
| --- | ||
|
|
||
| ## Scorecards (in the blueprints) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ## Scorecards (in the blueprints) | |
| ## Scorecards |
|
|
||
| - While the Bitbucket scorecard is largely similar to that of GitHub, this scorecard additionally tracks the existence of a GitHub repository counterpart for each Bitbucket repository | ||
|
|
||
| ## What’s Next |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ## What’s Next | |
| ## What’s next? |
| - A Bitbucket account with the specified project and set of repositories you want to migrate to GitHub | ||
| - A GitHub organization where you have owner permissions or permissions to create a repository | ||
|
|
||
| ## Setting up the GitHub and Bitbucket integrations on Port |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ## Setting up the GitHub and Bitbucket integrations on Port | |
| ## Set up the GitHub and Bitbucket integrations |
|
|
||
| --- | ||
|
|
||
| ## Wrapping up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
many of the headers in the page are not aligned to the structure we use in guides. Please see other guides and use the same structure, we wouldn't want each guide to look different
# Conflicts: # src/components/guides-section/consts.js
…ub' into DIGCS-1-migrate-bibucket-to-github
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||||
Description
This PR adds a comprehensive guide for migrating projects from Bitbucket to GitHub. The guide provides step-by-step instructions to help users successfully migrate their repositories while maintaining their project history and structure.
Added docs pages
/guides/all/migrate-project-from-bibucket-to-github)Updated docs pages
Summary
The new guide covers the complete migration process including:
This addresses the need for clear documentation on migrating between Git hosting platforms, making it easier for Port users to transition their projects from Bitbucket to GitHub.