Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Migrate to new username
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewinci committed May 14, 2021
1 parent 7be8f82 commit f74d28b
Show file tree
Hide file tree
Showing 17 changed files with 77 additions and 77 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "Auto Lint"
git commit -m "Fix PR lint" -a
git push https://${{ secrets.GITHUBTOKEN }}@github.com/andrea-vinci/insulator.git
git push https://${{ secrets.GITHUBTOKEN }}@github.com/andrewinci/insulator.git
exit 1
else
echo "Nothing to change"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ jobs:
if: ${{ matrix.artifact.name == 'insulator-mac' }}
run: |
git config --global user.name ${{ github.actor }}
git config --global user.email andrea-vinci@users.noreply.github.com
brew tap andrea-vinci/tap
git config --global user.email andrewinci@users.noreply.github.com
brew tap andrewinci/tap
brew bump-cask-pr --write --commit --no-audit --no-browse --no-fork --version $RELEASE_VERSION --force insulator
cd /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/andrea-vinci/homebrew-tap
git push https://${{ secrets.GITHUBTOKEN }}@github.com/andrea-vinci/homebrew-tap.git
cd /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/andrewinci/homebrew-tap
git push https://${{ secrets.GITHUBTOKEN }}@github.com/andrewinci/homebrew-tap.git
env:
RELEASE_VERSION: ${{ steps.get_version.outputs.version }}
28 changes: 14 additions & 14 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,28 @@
<br/>
<p align="center">

<a href="https://github.com/andrea-vinci/Insulator/releases">
<img src="https://github.com/andrea-vinci/Insulator/workflows/Release/badge.svg"
<a href="https://github.com/andrewinci/Insulator/releases">
<img src="https://github.com/andrewinci/Insulator/workflows/Release/badge.svg"
alt="Release"/>
</a>

<a href="https://github.com/andrea-vinci/Insulator/actions?query=workflow%3ACI">
<img src="https://github.com/andrea-vinci/Insulator/workflows/CI/badge.svg"
<a href="https://github.com/andrewinci/Insulator/actions?query=workflow%3ACI">
<img src="https://github.com/andrewinci/Insulator/workflows/CI/badge.svg"
alt="CI"/>
</a>

<a href="https://codeclimate.com/github/andrea-vinci/Insulator/test_coverage">
<a href="https://codeclimate.com/github/andrewinci/Insulator/test_coverage">
<img src="https://api.codeclimate.com/v1/badges/fd385843d031f1ad99f8/test_coverage"
alt="Coverage"/>
</a>

<a href="https://codeclimate.com/github/andrea-vinci/Insulator/maintainability">
<a href="https://codeclimate.com/github/andrewinci/Insulator/maintainability">
<img src="https://api.codeclimate.com/v1/badges/fd385843d031f1ad99f8/maintainability"
alt="code quality"/>
</a>

<a href="https://snyk.io/test/github/andrea-vinci/Insulator?targetFile=build.gradle">
<img src="https://snyk.io/test/github/andrea-vinci/Insulator/badge.svg?targetFile=build.gradle"
<a href="https://snyk.io/test/github/andrewinci/Insulator?targetFile=build.gradle">
<img src="https://snyk.io/test/github/andrewinci/Insulator/badge.svg?targetFile=build.gradle"
alt="Snyk"/>
</a>

Expand All @@ -44,7 +44,7 @@
</p>

<p align="center">
<a href="https://andrea-vinci.github.io/Insulator/wiki/">Wiki</a> •
<a href="https://andrewinci.github.io/Insulator/wiki/">Wiki</a> •
<a href="#key-features">Key Features</a> •
<a href="#development">Development</a> •
<a href="#credits">Credits</a> •
Expand All @@ -58,13 +58,13 @@

## Installation

Download the binary from the latest release for your OS. Learn more [here](https://andrea-vinci.github.io/Insulator/wiki/Installation/).
Download the binary from the latest release for your OS. Learn more [here](https://andrewinci.github.io/Insulator/wiki/Installation/).

[![Mac release](https://badgen.net/badge/icon/Mac%20Os?label=Download%20Latest%20Release&color=orange)](https://github.com/andrea-vinci/Insulator/releases/latest/download/insulator-mac.zip)
[![Windows release](https://badgen.net/badge/icon/Windows?label=Download%20Latest%20Release&color=orange)](https://github.com/andrea-vinci/Insulator/releases/latest/download/insulator-win.zip)
[![Debian release](https://badgen.net/badge/icon/Debian?label=Download%20Latest%20Release&color=orange)](https://github.com/andrea-vinci/Insulator/releases/latest/download/insulator-debian.zip)
[![Mac release](https://badgen.net/badge/icon/Mac%20Os?label=Download%20Latest%20Release&color=orange)](https://github.com/andrewinci/Insulator/releases/latest/download/insulator-mac.zip)
[![Windows release](https://badgen.net/badge/icon/Windows?label=Download%20Latest%20Release&color=orange)](https://github.com/andrewinci/Insulator/releases/latest/download/insulator-win.zip)
[![Debian release](https://badgen.net/badge/icon/Debian?label=Download%20Latest%20Release&color=orange)](https://github.com/andrewinci/Insulator/releases/latest/download/insulator-debian.zip)

![brew cask install andrea-vinci/tap/insulator](https://badgen.net/badge/icon/brew%20cask%20install%20andrea-vinci%2Ftap%2Finsulator?label=🍻%20Brew&color=orange)
![brew cask install andrewinci/tap/insulator](https://badgen.net/badge/icon/brew%20cask%20install%20andrewinci%2Ftap%2Finsulator?label=🍻%20Brew&color=orange)

## Key Features

Expand Down
2 changes: 1 addition & 1 deletion bootstrap/src/main/kotlin/insulator/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ val localPath: String by lazy {

val localConfigFile = "${localPath}insulator-update.xml"
val updatePath: Path = Path.of(System.getProperty("java.io.tmpdir") ?: "", "update.zip")
const val configPath = "https://github.com/andrea-vinci/Insulator/releases/latest/download/insulator-update.xml"
const val configPath = "https://github.com/andrewinci/Insulator/releases/latest/download/insulator-update.xml"
8 changes: 4 additions & 4 deletions docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
<meta property="og:locale" content="en_US" />
<meta name="description" content="The companion for kafka developers." />
<meta property="og:description" content="The companion for kafka developers." />
<link rel="canonical" href="https://andrea-vinci.github.io/Insulator/" />
<meta property="og:url" content="https://andrea-vinci.github.io/Insulator/" />
<link rel="canonical" href="https://andrewinci.github.io/Insulator/" />
<meta property="og:url" content="https://andrewinci.github.io/Insulator/" />
<meta property="og:site_name" content="Insulator" />
<link type="application/atom+xml" rel="alternate" href="https://andrea-vinci.github.io/Insulator/feed.xml" title="Insulator" />
<link type="application/atom+xml" rel="alternate" href="https://andrewinci.github.io/Insulator/feed.xml" title="Insulator" />
<link rel="stylesheet" href="/Insulator/css/screen.css">


</head>

<body>
<a class="github-fork-ribbon" href="https://github.com/andrea-vinci/Insulator" data-ribbon="Fork me on GitHub"
<a class="github-fork-ribbon" href="https://github.com/andrewinci/Insulator" data-ribbon="Fork me on GitHub"
title="Fork me on GitHub">Fork me on GitHub</a>
<header>
<div class="container">
Expand Down
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: >-
baseurl: "/Insulator" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: andrewinci
github_username: andrea-vinci
github_username: andrewinci


# Build settings
Expand Down
16 changes: 8 additions & 8 deletions docs/_wiki/Home.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,28 @@ nav_order: 1
<br/>
<p align="center">

<a href="https://github.com/andrea-vinci/Insulator/releases">
<img src="https://github.com/andrea-vinci/Insulator/workflows/Release/badge.svg"
<a href="https://github.com/andrewinci/Insulator/releases">
<img src="https://github.com/andrewinci/Insulator/workflows/Release/badge.svg"
alt="Release"/>
</a>

<a href="https://github.com/andrea-vinci/Insulator/actions?query=workflow%3ACI">
<img src="https://github.com/andrea-vinci/Insulator/workflows/CI/badge.svg"
<a href="https://github.com/andrewinci/Insulator/actions?query=workflow%3ACI">
<img src="https://github.com/andrewinci/Insulator/workflows/CI/badge.svg"
alt="CI"/>
</a>

<a href="https://codeclimate.com/github/andrea-vinci/Insulator/test_coverage">
<a href="https://codeclimate.com/github/andrewinci/Insulator/test_coverage">
<img src="https://api.codeclimate.com/v1/badges/fd385843d031f1ad99f8/test_coverage"
alt="Coverage"/>
</a>

<a href="https://codeclimate.com/github/andrea-vinci/Insulator/maintainability">
<a href="https://codeclimate.com/github/andrewinci/Insulator/maintainability">
<img src="https://api.codeclimate.com/v1/badges/fd385843d031f1ad99f8/maintainability"
alt="code quality"/>
</a>

<a href="https://snyk.io/test/github/andrea-vinci/Insulator?targetFile=build.gradle">
<img src="https://snyk.io/test/github/andrea-vinci/Insulator/badge.svg?targetFile=build.gradle"
<a href="https://snyk.io/test/github/andrewinci/Insulator?targetFile=build.gradle">
<img src="https://snyk.io/test/github/andrewinci/Insulator/badge.svg?targetFile=build.gradle"
alt="Snyk"/>
</a>

Expand Down
2 changes: 1 addition & 1 deletion docs/_wiki/Installation/Install on linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Currently the application is packaged and tested only on ubuntu.

Download the archive `insulator-debian.zip` with the button below.

[Latest release](https://github.com/andrea-vinci/Insulator/releases/latest/download/insulator-debian.zip){: .btn }
[Latest release](https://github.com/andrewinci/Insulator/releases/latest/download/insulator-debian.zip){: .btn }

In a terminal, navigate to the folder containing the zip previously downloaded and run the following

Expand Down
4 changes: 2 additions & 2 deletions docs/_wiki/Installation/Install on mac.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ in `System Preferences > Security & Privacy > General`__
If [brew](https://brew.sh) is installed in the system, open a terminal and run

```bash
brew install cask andrea-vinci/tap/Insulator
brew install cask andrewinci/tap/Insulator
```

## Using the DMG from the Github release

Download the archive `insulator-mac.zip` using the button below.

[Latest release](https://github.com/andrea-vinci/Insulator/releases/latest/download/insulator-mac.zip){: .btn }
[Latest release](https://github.com/andrewinci/Insulator/releases/latest/download/insulator-mac.zip){: .btn }

Mount the DMG `Insulator-x.y.z.dmg` and move the file `Insulator` to the `Application` folder.
2 changes: 1 addition & 1 deletion docs/_wiki/Installation/Install on windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ parent: Installation

Download the archive `insulator-win.zip` using the button below.

[Latest release](https://github.com/andrea-vinci/Insulator/releases/latest/download/insulator-win.zip){: .btn }
[Latest release](https://github.com/andrewinci/Insulator/releases/latest/download/insulator-win.zip){: .btn }

Double click on `Insulator-x.y.z.exe` and follow the instruction in the installation wizard.
18 changes: 9 additions & 9 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
<meta property="og:locale" content="en_US" />
<meta name="description" content="The companion for kafka developers." />
<meta property="og:description" content="The companion for kafka developers." />
<link rel="canonical" href="https://andrea-vinci.github.io/Insulator/" />
<meta property="og:url" content="https://andrea-vinci.github.io/Insulator/" />
<link rel="canonical" href="https://andrewinci.github.io/Insulator/" />
<meta property="og:url" content="https://andrewinci.github.io/Insulator/" />
<meta property="og:site_name" content="Insulator" />
<link type="application/atom+xml" rel="alternate" href="https://andrea-vinci.github.io/Insulator/feed.xml" title="Insulator" />
<link type="application/atom+xml" rel="alternate" href="https://andrewinci.github.io/Insulator/feed.xml" title="Insulator" />
<link rel="stylesheet" href="/Insulator/css/screen.css">
</head>

<body>
<a class="github-fork-ribbon left-bottom fixed" href="https://github.com/andrea-vinci/Insulator" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
<a class="github-fork-ribbon left-bottom fixed" href="https://github.com/andrewinci/Insulator" data-ribbon="Fork me on GitHub" title="Fork me on GitHub">Fork me on GitHub</a>
<header>
<div class="container">
<div class="company-name">
Expand All @@ -41,7 +41,7 @@ <h1><a href="/Insulator/">Insulator</a></h1>
<h1 class="editable">The companion for Kafka developers</strong></h1>
<p class="subtext editable">Improve your troubleshooting process of kafka based applications.</p>
<div class="cta button alt">
<a href="https://github.com/andrea-vinci/Insulator/releases/latest/download/insulator-mac.zip">
<a href="https://github.com/andrewinci/Insulator/releases/latest/download/insulator-mac.zip">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
aria-hidden="true" focusable="false" width="1em" height="1em"
style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);"
Expand All @@ -54,7 +54,7 @@ <h1 class="editable">The companion for Kafka developers</strong></h1>
fill="#626262" /></svg>
Mac
</a>
<a href="https://github.com/andrea-vinci/Insulator/releases/latest/download/insulator-win.zip">
<a href="https://github.com/andrewinci/Insulator/releases/latest/download/insulator-win.zip">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
aria-hidden="true" focusable="false" width="1em" height="1em"
style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);"
Expand All @@ -64,7 +64,7 @@ <h1 class="editable">The companion for Kafka developers</strong></h1>
fill="#626262" /></svg>
Windows
</a>
<a href="https://github.com/andrea-vinci/Insulator/releases/latest/download/insulator-debian.zip">
<a href="https://github.com/andrewinci/Insulator/releases/latest/download/insulator-debian.zip">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
aria-hidden="true" focusable="false" width="1em" height="1em"
style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);"
Expand All @@ -75,7 +75,7 @@ <h1 class="editable">The companion for Kafka developers</strong></h1>
Debian
</a>
<div class="code">
<pre><code>🍻 brew install andrea-vinci/tap/insulator 🍻</code></pre>
<pre><code>🍻 brew install andrewinci/tap/insulator 🍻</code></pre>
</div>
</div>

Expand Down Expand Up @@ -130,7 +130,7 @@ <h2>Producer</h2>

<section class="bottom-cta">
<h1 class="editable">Insulator</h1>
<div class="cta button alt"><a href="https://github.com/andrea-vinci/Insulator/releases/latest">Get latest
<div class="cta button alt"><a href="https://github.com/andrewinci/Insulator/releases/latest">Get latest
release</a></div>
</section>
</div>
Expand Down
4 changes: 2 additions & 2 deletions lib/helper/src/main/kotlin/insulator/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ package insulator
const val CONFIG_FILE_NAME = "Insulator.cfg"
const val VERSION_PROPERTY = "app.version"
const val GITHUB_REPO =
"""https://github.com/andrea-vinci/Insulator"""
"""https://github.com/andrewinci/Insulator"""
const val LATEST_RELEASE_API_ENDPOINT =
"""https://api.github.com/repos/andrea-vinci/Insulator/releases/latest"""
"""https://api.github.com/repos/andrewinci/Insulator/releases/latest"""
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class ConsumerTest : StringSpec({
// act
sut.start("testTopic", ConsumeFrom.Beginning, DeserializationFormat.Avro) { lst -> messages.addAll(lst.map { r -> r.value }) }
// assert
eventually(10.seconds) {
eventually(20.seconds) {
messages.size shouldBe 1
}
}
Expand Down
24 changes: 12 additions & 12 deletions lib/kafka/src/test/resources/githubResponseSample.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"url": "https://api.github.com/repos/andrea-vinci/Insulator/releases/31609864",
"assets_url": "https://api.github.com/repos/andrea-vinci/Insulator/releases/31609864/assets",
"upload_url": "https://uploads.github.com/repos/andrea-vinci/Insulator/releases/31609864/assets{?name,label}",
"html_url": "https://github.com/andrea-vinci/Insulator/releases/tag/0.0.9",
"url": "https://api.github.com/repos/andrewinci/Insulator/releases/31609864",
"assets_url": "https://api.github.com/repos/andrewinci/Insulator/releases/31609864/assets",
"upload_url": "https://uploads.github.com/repos/andrewinci/Insulator/releases/31609864/assets{?name,label}",
"html_url": "https://github.com/andrewinci/Insulator/releases/tag/0.0.9",
"id": 31609864,
"node_id": "MDc6UmVsZWFzZTMxNjA5ODY0",
"tag_name": "0.0.9",
Expand Down Expand Up @@ -34,7 +34,7 @@
"published_at": "2020-09-21T15:12:41Z",
"assets": [
{
"url": "https://api.github.com/repos/andrea-vinci/Insulator/releases/assets/26006051",
"url": "https://api.github.com/repos/andrewinci/Insulator/releases/assets/26006051",
"id": 26006051,
"node_id": "MDEyOlJlbGVhc2VBc3NldDI2MDA2MDUx",
"name": "insulator-debian.zip",
Expand Down Expand Up @@ -65,10 +65,10 @@
"download_count": 0,
"created_at": "2020-09-21T14:50:22Z",
"updated_at": "2020-09-21T14:50:24Z",
"browser_download_url": "https://github.com/andrea-vinci/Insulator/releases/download/0.0.9/insulator-debian.zip"
"browser_download_url": "https://github.com/andrewinci/Insulator/releases/download/0.0.9/insulator-debian.zip"
},
{
"url": "https://api.github.com/repos/andrea-vinci/Insulator/releases/assets/26006039",
"url": "https://api.github.com/repos/andrewinci/Insulator/releases/assets/26006039",
"id": 26006039,
"node_id": "MDEyOlJlbGVhc2VBc3NldDI2MDA2MDM5",
"name": "insulator-mac.zip",
Expand Down Expand Up @@ -99,10 +99,10 @@
"download_count": 1,
"created_at": "2020-09-21T14:50:00Z",
"updated_at": "2020-09-21T14:50:03Z",
"browser_download_url": "https://github.com/andrea-vinci/Insulator/releases/download/0.0.9/insulator-mac.zip"
"browser_download_url": "https://github.com/andrewinci/Insulator/releases/download/0.0.9/insulator-mac.zip"
},
{
"url": "https://api.github.com/repos/andrea-vinci/Insulator/releases/assets/26006047",
"url": "https://api.github.com/repos/andrewinci/Insulator/releases/assets/26006047",
"id": 26006047,
"node_id": "MDEyOlJlbGVhc2VBc3NldDI2MDA2MDQ3",
"name": "insulator-win.zip",
Expand Down Expand Up @@ -133,10 +133,10 @@
"download_count": 2,
"created_at": "2020-09-21T14:50:11Z",
"updated_at": "2020-09-21T14:50:13Z",
"browser_download_url": "https://github.com/andrea-vinci/Insulator/releases/download/0.0.9/insulator-win.zip"
"browser_download_url": "https://github.com/andrewinci/Insulator/releases/download/0.0.9/insulator-win.zip"
}
],
"tarball_url": "https://api.github.com/repos/andrea-vinci/Insulator/tarball/0.0.9",
"zipball_url": "https://api.github.com/repos/andrea-vinci/Insulator/zipball/0.0.9",
"tarball_url": "https://api.github.com/repos/andrewinci/Insulator/tarball/0.0.9",
"zipball_url": "https://api.github.com/repos/andrewinci/Insulator/zipball/0.0.9",
"body": ""
}
6 changes: 3 additions & 3 deletions lib/update/src/main/kotlin/insulator/update/VersionChecker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ class VersionChecker(private val customJarPath: String? = null) {
Release(
version = tag,
webUrl = "$GITHUB_REPO/releases/tag/$tag",
macUrl = assetUrls.first { it.contains("mac") },
winUrl = assetUrls.first { it.contains("win") },
debianUrl = assetUrls.first { it.contains("debian") },
macUrl = assetUrls.first { it.contains("-mac") },
winUrl = assetUrls.first { it.contains("-win") },
debianUrl = assetUrls.first { it.contains("-debian") },
)
}
}
Loading

0 comments on commit f74d28b

Please sign in to comment.