-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add script to move files to the framework #145
base: main
Are you sure you want to change the base?
Add script to move files to the framework #145
Commits on May 2, 2024
-
Add script to move files to the framework
Signed-off-by: David Horstmann <david.horstmann@arm.com>
Configuration menu - View commit details
-
Copy full SHA for f4d3fbc - Browse repository at this point
Copy the full SHA f4d3fbcView commit details
Commits on May 8, 2024
-
Add customisable destination base branch
This is useful for building file-moves on top of other not-yet-merged file moves. Signed-off-by: David Horstmann <david.horstmann@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 58bfb92 - Browse repository at this point
Copy the full SHA 58bfb92View commit details -
When there are no dirs to make we try anyway. This is bad and causes an error. Fix this. Signed-off-by: David Horstmann <david.horstmann@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 4c095e2 - Browse repository at this point
Copy the full SHA 4c095e2View commit details
Commits on May 9, 2024
-
Add conflict-resolution for deleted files
To allow branches to be built on other branches, resolve conflicts 'manually' when the 2 branches delete each others' files. Signed-off-by: David Horstmann <david.horstmann@arm.com>
Configuration menu - View commit details
-
Copy full SHA for ddd8c7a - Browse repository at this point
Copy the full SHA ddd8c7aView commit details
Commits on Jun 7, 2024
-
Allow passing the --except flag, which stops a file from being moved (and perform the necessary path manipulation acrobatics to make that work). Created to be able to move tests/include except for tests/include/alt-dummy, like so: --path tests/include:include --except tests/include/alt-dummy Signed-off-by: David Horstmann <david.horstmann@arm.com>
Configuration menu - View commit details
-
Copy full SHA for ffee036 - Browse repository at this point
Copy the full SHA ffee036View commit details
Commits on Jun 11, 2024
-
Add default empty list if no exceptions
This was failing if no exceptions were supplied. Signed-off-by: David Horstmann <david.horstmann@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 6afe50f - Browse repository at this point
Copy the full SHA 6afe50fView commit details
Commits on Jul 17, 2024
-
This causes the script to not perform the operation, but simply print the self._file_map dictionary of files to rename (this is useful for debugging the file-moving logic, especially with combinations of --path and --except options). Signed-off-by: David Horstmann <david.horstmann@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 02e7a14 - Browse repository at this point
Copy the full SHA 02e7a14View commit details -
Deal with no-name-change edge case
When files are moved to the exact same location in the framework repo as they were in Mbed TLS, there is a problem. Since no git change has taken place on the Mbed TLS side, the most recent change to the file is its deletion when a previous set of files were moved to the framework (since all other files are deleted in this kind of move). As a result the moved files are deleted and do not appear in the final branch. Deal with this edge case explicitly by taking files which are not renamed from the file map and checking them out to the state in the temporary branch, before amending the resulting commit. Signed-off-by: David Horstmann <david.horstmann@arm.com>
Configuration menu - View commit details
-
Copy full SHA for b775887 - Browse repository at this point
Copy the full SHA b775887View commit details