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

Improved Deployment to make variables easier to change #89

Merged
merged 29 commits into from
Sep 21, 2023

Conversation

Kroko-fant
Copy link
Contributor

@Kroko-fant Kroko-fant commented Jun 30, 2023

Motivation and Context

Deployment changes in Orion are pretty complex as the plugin depends on external dependencies that often change versions.
To simplify these changes Orion now has all variables in a separate file so its easier to edit changes.

Description

Gradle uses a properties file where variables can be defined. with the new deployment changes the variables got moved out of the build file to properties.

Steps for Testing

Nothing in the plugin logic has changed. Changes were made in the plugins deployment therefor no manual testing is needed.

  1. Install the release as described in the readme
  2. Open an exercise in Orion
  3. ...

Review Progress

Code Review

  • Review 1
  • Review 2

updated dependencies
updated kotlin version
fixed a change in the API of Jetbrains
# Conflicts:
#	build.gradle.kts
Removed unnecessary comment
fixed some spelling/grammar stuff
fixed project StartupActivity to use the new version ProjectActivity
# Conflicts:
#	build.gradle.kts
#	src/main/java/de/tum/www1/orion/settings/OrionSettingsProvider.java
#	src/main/java/de/tum/www1/orion/ui/settings/OrionPluginSettings.kt
#	src/main/resources/META-INF/plugin.xml
# Conflicts:
#	src/main/java/de/tum/www1/orion/settings/OrionSettingsProvider.java
#	src/main/resources/META-INF/plugin.xml
fixed and adapted pipeline
@Kroko-fant Kroko-fant marked this pull request as ready for review August 25, 2023 08:36
@Kroko-fant Kroko-fant changed the title Improved Development to make variables easier to change Improved Deployment to make variables easier to change Sep 7, 2023
Copy link

@lennart-keller lennart-keller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code lgtm. Just one small question

src/main/resources/META-INF/plugin.xml Outdated Show resolved Hide resolved
# Conflicts:
#	build.gradle.kts
Reverted newline
@krusche krusche merged commit 5e43df5 into ls1intum:main Sep 21, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants