Skip to content

Commit

Permalink
[RELEASE] Released version 0.8.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
thevpc committed Aug 31, 2021
1 parent d89d8bd commit 0cc9214
Show file tree
Hide file tree
Showing 52 changed files with 175 additions and 223 deletions.
4 changes: 2 additions & 2 deletions .dir-template/vars.nsh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ latestApiVersion=`nuts -ybB nversion $here/../core/nuts`;
latestImplVersion=`nuts -ybB nversion $here/../core/nuts-runtime`;
latestJarLocation="https://thevpc.net/maven/net/thevpc/nuts/nuts/${latestApiVersion}/nuts-${latestApiVersion}.jar";

stableApiVersion=0.8.1;
stableImplVersion=0.8.1.0;
stableApiVersion=0.8.2;
stableImplVersion=0.8.2.1;
stableJarLocation="https://repo.maven.apache.org/maven2/net/thevpc/nuts/nuts/${stableApiVersion}/nuts-${stableApiVersion}.jar";

jarLocation="${latestJarLocation}";
Expand Down
20 changes: 10 additions & 10 deletions METADATA
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
stableApiVersion=0.8.1
stableImplVersion=0.8.1.0
stableJarLocation=https://repo.maven.apache.org/maven2/net/thevpc/nuts/nuts/0.8.1/nuts-0.8.1.jar
latestApiVersion=0.8.2
latestImplVersion=0.8.2.0
latestJarLocation=https://thevpc.net/maven/net/thevpc/nuts/nuts/0.8.2/nuts-0.8.2.jar
apiVersion=0.8.2
implVersion=0.8.2.0
jarLocation=https://thevpc.net/maven/net/thevpc/nuts/nuts/0.8.2/nuts-0.8.2.jar
buildTime=Wed Aug 25 12:42:54 AM +0000 2021
stableApiVersion=0.8.2
stableImplVersion=0.8.2.1
stableJarLocation=https://repo.maven.apache.org/maven2/net/thevpc/nuts/nuts/0.8.2/nuts-0.8.2.jar
latestApiVersion=
latestImplVersion=
latestJarLocation=https://thevpc.net/maven/net/thevpc/nuts/nuts//nuts-.jar
apiVersion=
implVersion=
jarLocation=https://thevpc.net/maven/net/thevpc/nuts/nuts//nuts-.jar
buildTime=Tue Aug 31 07:11:18 AM +0000 2021
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ Network Updatable Things Services
__ __
/\ \ \ _ __/ /______
/ \/ / / / / __/ ___/
/ /\ / /_/ / /_(__ ) dev version 0.8.2.0 (accessible on thevpc.net)
\_\ \/\__,_/\__/____/ production version 0.8.1.0 (accessible on maven central)
/ /\ / /_/ / /_(__ ) dev version (accessible on thevpc.net)
\_\ \/\__,_/\__/____/ production version 0.8.2.1 (accessible on maven central)
</pre>

website : [https://thevpc.github.io/nuts](https://thevpc.github.io/nuts)
Expand All @@ -28,7 +28,7 @@ nuts --version
It should show a result in the format : nuts-api-version/nuts-impl-version

```
0.8.2/0.8.2.0
/
```

## Installing Nuts (Development, recommended for testing)
Expand Down Expand Up @@ -61,7 +61,7 @@ The very same procedure applies whether you already have an existing version of
First you need to download nuts.jar

```
wget wget https://repo1.maven.org/maven2/net/thevpc/nuts/nuts/0.8.1/nuts-0.8.1.jar -O nuts.jar
wget wget https://repo1.maven.org/maven2/net/thevpc/nuts/nuts/0.8.2/nuts-0.8.2.jar -O nuts.jar
```

If you want a shorter link, use this one!
Expand Down
3 changes: 1 addition & 2 deletions core/nuts-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>net.thevpc.nuts</groupId>
<artifactId>nuts-runtime</artifactId>
<version>0.8.2.0</version><!--published 0.8.0.0-->
<version>0.8.2.1</version>
<packaging>jar</packaging>
<name>net.thevpc.nuts.nuts-runtime</name>
<url>https://github.com/thevpc/nuts</url>
Expand All @@ -15,7 +15,6 @@
<maven.compiler.target>1.8</maven.compiler.target>
<github.global.server>github</github.global.server>
<nuts-runtime>true</nuts-runtime>
<nuts.buildNumber>000080010006</nuts.buildNumber>
<dependencies.org.fusesource.jansi:jansi.os>windows</dependencies.org.fusesource.jansi:jansi.os>
<dependencies.com.github.vatbub:mslinks.os>windows</dependencies.com.github.vatbub:mslinks.os>
<conditional-dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void executeHelper(boolean dry) {
.createTempFolder("exec-path-");
NutsId _id = c.descriptor.getId();
NutsIdType idType = NutsWorkspaceExt.of(ws).resolveNutsIdType(_id, traceSession);
NutsDefinition nutToRun = new DefaultNutsDefinition(
DefaultNutsDefinition nutToRun = new DefaultNutsDefinition(
null,
null,
_id,
Expand All @@ -110,6 +110,19 @@ public void executeHelper(boolean dry) {
DefaultNutsInstallInfo.notInstalled(_id),
idType, null, traceSession
);
NutsDependenciesResolver resolver = new NutsDependenciesResolver(traceSession);
NutsDependencyFilterManager ff = ws.dependency().filter();

resolver
.setDependencyFilter(ff.byScope(NutsDependencyScopePattern.RUN)
// .and(ff.byOptional(getOptional())
// ).and(getDependencyFilter())
);
for (NutsDependency dependency : c.descriptor.getDependencies()) {
resolver.addRootDefinition(dependency);
}
nutToRun.setDependencies(resolver.resolve());

try {
execCommand.ws_execId(nutToRun, cmdName, args, executorOptions, execCommand.getEnv(),
execCommand.getDirectory(), execCommand.isFailFast(), true, traceSession, execSession, executionType,runAs, dry);
Expand Down
1 change: 0 additions & 1 deletion docs/0e3ec128.2c05e175.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/2f1ddf41.11bdc6fa.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/39ddb24d.c49ee201.js

This file was deleted.

Loading

0 comments on commit 0cc9214

Please sign in to comment.