Giter Site home page Giter Site logo

update-quarkus's People

Contributors

jthambly avatar web-flow avatar

Watchers

 avatar

update-quarkus's Issues

Implement automatic verification tests

It would be ideal that CI verification is done with downloading and testing upgrades on Quarkus versions, both sequentially and by jumping multiple versions.

It could also be possible that this could be done when creating a GitHub Action #14

Fails when branch/request already exists

If a previous branch/pull request exists and has not been actioned yet it will fail.
Given by default, it checks once a week, if not previously actioned, it will fail weekly.

Error occurring at runtime.

An error occurred when running as the Action:

find . -type f | xargs sha256sum > "../../working-copy/.update/$CURRENT_VERSION.sha256" && \

Action -> Generate checksums of latest base build
/home/runner/work/_temp/7bb8617a-ebaf-4eff-bda5-676229a8ef13.sh: line 7: ../../working-copy/.update/1.12.1.Final.sha256: No such file or directory
find: ‘standard output’: Broken pipe
find: write error
Error: Process completed with exit code 1.

User configuration for project files

Within the Action, there is a user-configurable section that should be migrated to the parent workflow. That is the project files to protect against replacement in the event that it cannot automatically determine which files are safe to delete.

PROJECT_FILES

Verification of what happens when trying to upgrade from a erroneous version

With the following versions, we cannot generate the source to determine which files should be removed.

1.10.0.Final
1.11.0.Final
1.11.1.Final

Although we might not be able to use the above versions for testing, automated testing should also test for instances where it needs to proceed with the backup method of updating project files.

This will not be done as apart of the GitHub Action work, instead it will be associated with issue #13

Upon generating new pom.xml file, duplicates are created

When a new pom.xml is generated, duplicates exist.
This is due to additional extensions been added over the top of existing default ones.

The only way this can be fixed is to look up default entries and remove that from the extension list.

It will not break the build process, but it will warn about it.

Collect SHA256 checksums while testing

It may be useful to collect checksums of project files created during verification upgrades.

This may provide useful functionality down the track, and even perhaps in determining which files to delete when it cannot automatically determine this #13.

It may also be useful as another verification step that upgrades are generating these files as expected.

Verification tests pre-clean

If automatic testing fails, it may leave remnants of branches and pull requests.

It may be ideal to have a pre-clean to ensure that there are no leftover branches and PRs - only for test-related branches.

Create a GitHub Action

As this work matures, it would be ideal to make it a GitHub action so that projects using this do not have to copy a long run of code.

Better removal of files if cannot detect quarkus files

If we are unable to determine pre-existing Quarkus files by means of re-generating the project files and taking checksums, then instead of removing anything that is not explicitly declared as a project file, we could generate a list of most likely Quarkus files.

Integrate functionality of quarkus-pom-action

Using XPath was not an option and hence a separate GitHub Action was created.

Although it may be messy, another way may be required in order to simplify the implementation by integrating this within our action instead.

Update fails under Quarkus 2.0.0

Due to changes in the usage of JUnit the update fails.

Cannot find a dependency matching 'io.quarkus:quarkus-junit5', maybe a typo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.