Skip to content

Commit 950b519

Browse files
committed
fix master to main and upgrade to later quarkus
1 parent 3d1ec4e commit 950b519

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

README.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
:toc-placement!:
44

55

6-
image:https://github.com/starfixdev/starfix/blob/master/images/starfix.png[StarFix Logo,title="StarFix Logo"]
6+
image:https://github.com/starfixdev/starfix/blob/HEAD/images/starfix.png[StarFix Logo,title="StarFix Logo"]
77

88
== Intro
99
Would it not be nice if..
@@ -22,7 +22,7 @@ Start a debugger locally from your web browser?
2222

2323
== Demo
2424

25-
image:https://github.com/starfixdev/starfix/blob/master/images/demo.gif[Starfix Demo]
25+
image:https://github.com/starfixdev/starfix/blob/HEAD/images/demo.gif[Starfix Demo]
2626

2727
[discrete]
2828
# INDEX
@@ -116,20 +116,20 @@ __**P.S: Browser Extensions will soon be published on Browser's App Store to sim
116116
=== As a CLI Tool
117117
- Launch the terminal and type `starfix https://github.com/user_name/repo_name.git` (You can also use ssh)
118118
- The repository will be cloned in the preferred directory and launched in the preferred Editor. See the Demo below:
119-
image:https://github.com/starfixdev/starfix/blob/master/images/cli_demo.gif[StarFix CLI,title="StarFix CLI"]
119+
image:https://github.com/starfixdev/starfix/blob/HEAD/images/cli_demo.gif[StarFix CLI,title="StarFix CLI"]
120120

121121
=== Fully Integrated
122122
- Navigate to the repository (on github.com/user/repo)
123123
- Click on the "Open in IDE" button on the repository page.
124124
- The repository is cloned in the preferred directory.
125125
- The cloned repository is opened in the preferred IDE.
126-
image:https://github.com/starfixdev/starfix/blob/master/images/demo.gif[StarFix Demo]
126+
image:https://github.com/starfixdev/starfix/blob/HEAD/images/demo.gif[StarFix Demo]
127127

128128
=== Configuration Editor
129129
- The first time you launch up StarFix you'll be prompted to choose the preferred Editor and cloning directory.
130130
- To change the configurations you can launch up terminal and type `starfix config`
131131
- You'll then be prompted to choose the preferred Editor and cloning path as shown in Demo below.
132-
image:https://github.com/starfixdev/starfix/blob/master/images/config_demo.gif[StarFix Configurations,title="StarFix Configurations"]
132+
image:https://github.com/starfixdev/starfix/blob/HEAD/images/config_demo.gif[StarFix Configurations,title="StarFix Configurations"]
133133

134134

135135

@@ -196,7 +196,7 @@ As StarFix uses Command Mode in Quarkus refer these links to learn more about it
196196
[qanda]
197197
Why do we call it StarFix ? ::
198198
The following image is good enough to explain ...
199-
image:https://github.com/starfixdev/starfix/blob/master/images/starfix_illustration.png[StarFix Illustration,title="starfix illustration"]
199+
image:https://github.com/starfixdev/starfix/blob/HEAD/images/starfix_illustration.png[StarFix Illustration,title="starfix illustration"]
200200

201201
Why are we using Quarkus? ::
202202
The reason for going with this is that **anything other** than this(like node or python bound) would **require additional setup**. On the other hand **Java or Native** is something that can be **shipped fairly lightweight**. Furthermore we need a **cross-platform** application(Linux, Windows, and MacOS). Thus Quarkus would be the best choice.

cli/pom.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
<maven.compiler.target>11</maven.compiler.target>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1414
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
15-
<quarkus-plugin.version>2.1.0.CR1</quarkus-plugin.version>
16-
<quarkus.platform.artifact-id>quarkus-universe-bom</quarkus.platform.artifact-id>
17-
<quarkus.platform.group-id>io.quarkus</quarkus.platform.group-id>
18-
<quarkus.platform.version>2.1.0.CR1</quarkus.platform.version>
15+
<quarkus-plugin.version>2.6.0.CR1</quarkus-plugin.version>
16+
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
17+
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
18+
<quarkus.platform.version>2.6.0.CR1</quarkus.platform.version>
1919
<surefire-plugin.version>2.22.1</surefire-plugin.version>
2020
</properties>
2121
<dependencyManagement>
@@ -51,7 +51,6 @@
5151
<dependency>
5252
<groupId>com.fasterxml.jackson.dataformat</groupId>
5353
<artifactId>jackson-dataformat-yaml</artifactId>
54-
<version>2.9.2</version>
5554
</dependency>
5655
<dependency>
5756
<groupId>org.zeroturnaround</groupId>

cli/src/main/java/dev/starfix/Starfix.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
///usr/bin/env jbang "$0" "$@" ; exit $?
2-
//DEPS io.quarkus:quarkus-jackson:2.1.0.CR1
3-
//DEPS com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.9.2
4-
//DEPS io.quarkus:quarkus-picocli:2.1.0.CR1
2+
//DEPS io.quarkus.platform:quarkus-bom:2.6.0.CR1@pom
3+
//DEPS io.quarkus:quarkus-jackson
4+
//DEPS com.fasterxml.jackson.dataformat:jackson-dataformat-yaml
5+
//DEPS io.quarkus:quarkus-picocli
56
//DEPS org.zeroturnaround:zt-exec:1.12
67
//FILES application.properties=../../../resources/application.properties
78
//SOURCES YAMLDefaultProvider.java
@@ -374,7 +375,7 @@ public static void processCloneURL(CloneUrl cloneUrl) throws URISyntaxException,
374375
String filePath = "";
375376
String branch = "";
376377
if(isBlob(url))
377-
{ // Example URL : https://github.com/starfixdev/starfix/blob/master/cli/pom.xml
378+
{ // Example URL : https://github.com/starfixdev/starfix/blob/HEAD/cli/pom.xml
378379
// Example URL2: https://github.com/hexsum/Mojo-Webqq/blob/master/script/check_dependencies.pl#L17
379380
cloneUrl.setIsBlob(true);
380381
String temp = url.substring(url.indexOf("blob/")+5);

0 commit comments

Comments
 (0)