Skip to content
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

Improve catchup script #236

Merged
merged 23 commits into from
Jan 10, 2024
Merged

Improve catchup script #236

merged 23 commits into from
Jan 10, 2024

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    fe83225 View commit details
    Browse the repository at this point in the history
  2. feat(catchup script): create a script that switch to a new working br…

    …anch and update the English branch we need to compare current Ember version and new Ember version
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    468c30e View commit details
    Browse the repository at this point in the history
  3. feat(catchup script): output the list of files that changed between r…

    …ef-upstream and upstream/master and parse it as an array of filenames
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    f47af23 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3839ce8 View commit details
    Browse the repository at this point in the history
  5. feat(catchup script): create a directory to put patch files we want t…

    …o create for each changed file
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    cb0529f View commit details
    Browse the repository at this point in the history
  6. feat(catchup script): prepare a list of warnings to log all manual ac…

    …tions required at the end of the process
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    2fbacb2 View commit details
    Browse the repository at this point in the history
  7. feat(catchup script): create the function that will output the diff f…

    …iles in the script/patches folder
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    f50ebe2 View commit details
    Browse the repository at this point in the history
  8. feat(catchup script): declare an array filesToPost that will be used …

    …to track the files to post in a GitHub issue
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    cfa8d11 View commit details
    Browse the repository at this point in the history
  9. feat(catchup script): create the function that loop on the changed fi…

    …les to create the diff files
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    0e401c3 View commit details
    Browse the repository at this point in the history
  10. feat(catchup script): once a diff file is create, read its content. W…

    …e need to do this because we want to do a replacement in the content
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    cbf9d0f View commit details
    Browse the repository at this point in the history
  11. feat(catchup script): for each file, remove the term release/ from th…

    …e filename and from the content of the diff
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    a88cae1 View commit details
    Browse the repository at this point in the history
  12. feat(catchup script): for each diff file, rewrite the content with th…

    …e updated path, so the file can be patched in our architecture
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    3d25843 View commit details
    Browse the repository at this point in the history
  13. feat(catchup script): try to apply the patch. If the file is new or i…

    …f git apply fails (file translated), then we add to filesToPost to open a GitHub issue later
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    6560ced View commit details
    Browse the repository at this point in the history
  14. feat(catchup script): add a relevant return to the writeDiffFiles fun…

    …ction so we know if there are patch files to commit and push
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    5b3e13a View commit details
    Browse the repository at this point in the history
  15. feat(catchup script): prepare the header to post the GitHub issues. I…

    …t requires to read the secret token.
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    a7b9619 View commit details
    Browse the repository at this point in the history
  16. feat(catchup script): prepare the body of the GitHub issue for a give…

    …n file and diff. There's no diff block if the file is new
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    374da5d View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    05a0c10 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    ac88166 View commit details
    Browse the repository at this point in the history
  19. feat(catchup script): if at least one file could be patched automatic…

    …ally, push the changes on GitHub
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    229b92f View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    c060a2a View commit details
    Browse the repository at this point in the history
  21. feat(catchup script): prepare 3 functions to properly close the proce…

    …ss. One reset ref-upstream then the other will switch back to master or the catchup branch depending on the situation
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    bbeeb8a View commit details
    Browse the repository at this point in the history
  22. feat(catchup script): properly close the process, update ref-upstream…

    … only if we no longer need the current state (all operations to create/edit diff files are ok), and switch back to the best branch
    BlueCutOfficial committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    7125d5c View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    facdee3 View commit details
    Browse the repository at this point in the history