This workflow uses the GitHub CLI to keep a forked repo in sync with the upstream repo. Add it to your repo as .github/workflows/sync-fork.yaml
.
It runs daily to sync the default branch and can be triggered manually for any branch.
#!/bin/bash | |
: ${1:?"groupId is required"} | |
: ${2:?"artifactId is required"} | |
: ${3:?"version is required"} | |
# eg. ~/monitor.sh org.wildfly.swarm spi 1.0.8.Final | |
GROUP_ID=${1//.//} | |
ARTIFACT_ID=$2 | |
VERSION=$3 |
///usr/bin/env jbang "$0" "$@" ; exit $? | |
import java.io.IOException; | |
import java.net.URI; | |
import java.net.http.HttpClient; | |
import java.net.http.HttpRequest; | |
import java.net.http.HttpResponse; | |
import java.nio.charset.StandardCharsets; | |
import java.util.Base64; |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_size = 4 | |
indent_style = space | |
insert_final_newline = false | |
max_line_length = 128 | |
tab_width = 4 | |
ij_continuation_indent_size = 8 | |
ij_formatter_off_tag = @formatter:off |
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<offline>false</offline> | |
<servers> | |
<server> | |
<id>ossrh</id> | |
<username>gastaldi</username> | |
<password>CHANGE_ME</password> | |
</server> | |
<server> |
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<offline>false</offline> | |
<servers> | |
<server> | |
<id>ossrh</id> | |
<username>gastaldi</username> | |
<password>CHANGE_ME</password> | |
</server> | |
<server> |
(function() { | |
window.OPENSHIFT_CONSTANTS.DISABLE_SERVICE_CATALOG_LANDING_PAGE = true | |
}()); |
#!/bin/bash | |
# Requires jq and yarn | |
for row in $(cat package.json | jq '.dependencies'| jq 'keys[]' -r); do | |
yarn add ${row} -W --exact | |
done | |
for row in $(cat package.json | jq '.devDependencies'| jq 'keys[]' -r); do | |
yarn add ${row} -W --exact -D | |
done |
package org.jboss.forge.addon.database.tools.generate; | |
import java.io.File; | |
import java.util.Arrays; | |
import java.util.Collection; | |
import java.util.List; | |
import org.jboss.forge.addon.database.tools.connections.ConnectionProfile; | |
import org.junit.Rule; | |
import org.junit.Test; |
package io.fabric8.launcher.core.api.projectiles; | |
import javax.annotation.Nullable; | |
import io.fabric8.launcher.booster.catalog.rhoar.RhoarBooster; | |
import io.fabric8.launcher.core.api.Projectile; | |
import org.immutables.value.Value; | |
/** | |
* @author <a href="mailto:[email protected]">George Gastaldi</a> |