-
Notifications
You must be signed in to change notification settings - Fork 11
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
Feat/docs fork update [ROBO-3587] #35
base: uipath
Are you sure you want to change the base?
Changes from 4 commits
10aee05
e63aa91
8605b25
6e97490
87c8863
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,30 @@ | |
This repo forks the FreeRDP repo, thus allowing us to make changes that fit our needs and augment the codebase with other components. | ||
From time to time there is a need to merge the changes from the original repo into this one. | ||
|
||
### ❗When updating the FreeRDP library from the official repo, please update the following in this file (README.md): | ||
### ❗When updating the FreeRDP library from the official repo, please update the following table in this file (README.md): | ||
|
||
|**Original repository tag/branch used:**| `2.5.0` | | ||
|**Original repository tag/branch used:**| `2.11.2` | | ||
| --- | --- | | ||
|**Original corresponding commit hash:**| `d50aef95520df4216c638495a6049125c00742cb` | | ||
|**Original corresponding commit hash:**| `a38c1be9eee39a9bc22b511fffe96e63fdf8ebe7` | | ||
|
||
#### Updating the fork is done on a dev machine and involves rebasing our changes on top of the new tag/branch from the original repo and **force pushing** the `uipath` branch. | ||
|
||
❗The state before the update must be saved in a support branch, named `robot/support/before_update_to_<NEW BASE GIT TAG>`, where `<NEW BASE GIT TAG>` is the tag from the original repo onto which we'll rebase our changes. | ||
|
||
The tags from the original repo must be fetched from the original repo and pushed to our fork: | ||
```pwsh | ||
git fetch --tags --all | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This git fetch is for the purpose of retrieving tags from the original FreeRDP repo. Nowhere is it specified to add that remote (and if we just clone our repo we won't have it) |
||
git push --tags | ||
``` | ||
|
||
A work branch should be created from `uipath` and used in the validation phase. It's name would be `feat/update_to_<NEW BASE GIT TAG>`. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @daniel-stanciu, can you comment? I feel it's irrelevant if the work branch was created from the |
||
After checking out the branch, the rebase should be performed using the following command: | ||
```pwsh | ||
git rebase --onto <NEW BASE Git Tag> <Our 1st customization Commit's Hash> <The work branch> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @daniel-stanciu, any thoughts on the following?: The That would make this command description more robust to changes to the lines before it. |
||
``` | ||
In this phase we have the opportunity the review the new state, run CI/CD and fix any issues that might arise. | ||
|
||
After the validation phase, the `uipath` branch should point to the work branch's HEAD and be **force pushed** to our fork. | ||
|
||
### Build instructions | ||
* Visual Studio 2022 installed in `C:\Program Files` required. | ||
|
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.
Is this branch naming ok? @mihainradu ?
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 was suggesting more of using the FreeRDP version, and we would have to bump the major at every upgrade, which sounds ok.