Skip to content

feat: rename repos #757

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

Merged
merged 4 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ body:
- type: checkboxes
attributes:
label: 🔍 Is there already an issue for your problem?
description: Please make sure you are not creating an already submitted <a href="https://github.com/spicetify/spicetify-marketplace/issues">Issue</a>. Check closed issues as well, because your issue may have already been fixed.
description: Please make sure you are not creating an already submitted <a href="https://github.com/spicetify/marketplace/issues">Issue</a>. Check closed issues as well, because your issue may have already been fixed.
options:
- label: I have checked older issues, open and closed
required: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/auto_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ jobs:
wait-interval: 10
- name: Download target branch

run: curl -s -o spicetify-marketplace.zip https://codeload.github.com/${{ github.repository }}/zip/refs/heads/dist
run: curl -s -o marketplace.zip https://codeload.github.com/${{ github.repository }}/zip/refs/heads/dist
- name: Publish the release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ needs.check_version.outputs.new_version }}
generate_release_notes: true
files: spicetify-marketplace.zip
files: marketplace.zip
18 changes: 9 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- omit in toc -->
# Contributing to Spicetify-Marketplace
# Contributing to Spicetify's Marketplace

First off, thanks for taking the time to contribute! ❤️

Expand Down Expand Up @@ -30,11 +30,11 @@ All types of contributions are encouraged and valued. See the [Table of Contents

> If you want to ask a question, we assume that you have read the available [Documentation](https://spicetify.app/docs/getting-started/).

Before you ask a question, it is best to search for existing [Issues](https://github.com/spicetify/spicetify-marketplace/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
Before you ask a question, it is best to search for existing [Issues](https://github.com/spicetify/marketplace/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.

If you then still feel the need to ask a question and need clarification, we recommend the following:

- Open an [Issue](https://github.com/spicetify/spicetify-marketplace/issues/new).
- Open an [Issue](https://github.com/spicetify/marketplace/issues/new).
- Provide as much context as you can about what you're running into.
- Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant.

Expand Down Expand Up @@ -69,7 +69,7 @@ A good bug report shouldn't leave others needing to chase you up for more inform

- Make sure that you are using the latest version.
- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](https://spicetify.app/docs/getting-started/). If you are looking for support, you might want to check [this section](#i-have-a-question)).
- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/spicetify/spicetify-marketplace/issues?q=label%3Abug).
- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/spicetify/marketplace/issues?q=label%3Abug).
- Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue.
- Collect information about the bug:
- Stack trace (Traceback)
Expand All @@ -86,7 +86,7 @@ A good bug report shouldn't leave others needing to chase you up for more inform

We use GitHub issues to track bugs and errors. If you run into an issue with the project:

- Open an [Issue](https://github.com/spicetify/spicetify-marketplace/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
- Open an [Issue](https://github.com/spicetify/marketplace/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
- Explain the behavior you would expect and the actual behavior.
- Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case.
- Provide the information you collected in the previous section.
Expand All @@ -102,26 +102,26 @@ Once it's filed:

### Suggesting Enhancements

This section guides you through submitting an enhancement suggestion for Spicetify-Marketplace, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions.
This section guides you through submitting an enhancement suggestion for Marketplace, **including completely new features and minor improvements to existing functionality**. Following these guidelines will help maintainers and the community to understand your suggestion and find related suggestions.

<!-- omit in toc -->
#### Before Submitting an Enhancement

- Make sure that you are using the latest version.
- Read the [documentation](https://spicetify.app/docs/getting-started/) carefully and find out if the functionality is already covered, maybe by an individual configuration.
- Perform a [search](https://github.com/spicetify/spicetify-marketplace/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
- Perform a [search](https://github.com/spicetify/marketplace/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
- Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library.

<!-- omit in toc -->
#### How Do I Submit a Good Enhancement Suggestion?

Enhancement suggestions are tracked as [GitHub issues](https://github.com/spicetify/spicetify-marketplace/issues).
Enhancement suggestions are tracked as [GitHub issues](https://github.com/spicetify/marketplace/issues).

- Use a **clear and descriptive title** for the issue to identify the suggestion.
- Provide a **step-by-step description of the suggested enhancement** in as many details as possible.
- **Describe the current behavior** and **explain which behavior you expected to see instead** and why. At this point you can also tell which alternatives do not work for you.
- You may want to **include screenshots and animated GIFs** which help you demonstrate the steps or point out the part which the suggestion is related to. You can use [this tool](https://www.cockos.com/licecap/) to record GIFs on macOS and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or [this tool](https://github.com/GNOME/byzanz) on Linux. <!-- this should only be included if the project has a GUI -->
- **Explain why this enhancement would be useful** to most Spicetify-Marketplace users. You may also want to point out the other projects that solved it better and which could serve as inspiration.
- **Explain why this enhancement would be useful** to most Marketplace users. You may also want to point out the other projects that solved it better and which could serve as inspiration.

<!-- You might want to create an issue template for enhancement suggestions that can be used as a guide and that defines the structure of the information to be included. If you do so, reference it here in the description. -->

Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
# Spicetify Marketplace

<p>
<a href="https://github.com/spicetify/spicetify-marketplace/releases/latest">
<img src="https://img.shields.io/github/v/release/spicetify/spicetify-marketplace?include_prereleases">
<a href="https://github.com/spicetify/marketplace/releases/latest">
<img src="https://img.shields.io/github/v/release/spicetify/marketplace?include_prereleases">
</a>
<a href="https://github.com/spicetify/spicetify-marketplace/releases">
<img src="https://img.shields.io/github/downloads/spicetify/spicetify-marketplace/total.svg">
<a href="https://github.com/spicetify/marketplace/releases">
<img src="https://img.shields.io/github/downloads/spicetify/marketplace/total.svg">
</a>
<a href="https://github.com/spicetify/spicetify-marketplace/issues?q=is%3Aissue+is%3Aclosed">
<img src="https://img.shields.io/github/issues-closed/spicetify/spicetify-marketplace">
<a href="https://github.com/spicetify/marketplace/issues?q=is%3Aissue+is%3Aclosed">
<img src="https://img.shields.io/github/issues-closed/spicetify/marketplace">
</a>
<a href="https://github.com/spicetify/spicetify-marketplace/commits/main">
<img src="https://img.shields.io/github/commit-activity/m/spicetify/spicetify-marketplace">
<a href="https://github.com/spicetify/marketplace/commits/main">
<img src="https://img.shields.io/github/commit-activity/m/spicetify/marketplace">
</a>
</p>

Customize your Spotify client directly from within [Spicetify](https://github.com/spicetify/spicetify-cli)!
Customize your Spotify client directly from within [Spicetify](https://github.com/spicetify/cli)!

Marketplace allows you to **browse, download, and install** extensions, themes, and CSS snippets with ease. You can also browse custom apps, but will need to do some manual installation to get them working.

Made with [Spicetify Creator](https://github.com/spicetify/spicetify-creator)

Head to the [wiki](https://github.com/spicetify/spicetify-marketplace/wiki) to get started!
Head to the [wiki](https://github.com/spicetify/marketplace/wiki) to get started!

---

## Links
- [Overview](https://github.com/spicetify/spicetify-marketplace/wiki)
- [Installation](https://github.com/spicetify/spicetify-marketplace/wiki/Installation)
- [Publishing to Marketplace](https://github.com/spicetify/spicetify-marketplace/wiki/Publishing-to-Marketplace)
- [Contributions](https://github.com/spicetify/spicetify-marketplace/wiki/Contributions)
- [Development](https://github.com/spicetify/spicetify-marketplace/wiki/Development)
- [Translating/Localizing Marketplace](https://github.com/spicetify/spicetify-marketplace/wiki/Localizing-Marketplace)
- [Overview](https://github.com/spicetify/marketplace/wiki)
- [Installation](https://github.com/spicetify/marketplace/wiki/Installation)
- [Publishing to Marketplace](https://github.com/spicetify/marketplace/wiki/Publishing-to-Marketplace)
- [Contributions](https://github.com/spicetify/marketplace/wiki/Contributions)
- [Development](https://github.com/spicetify/marketplace/wiki/Development)
- [Translating/Localizing Marketplace](https://github.com/spicetify/marketplace/wiki/Localizing-Marketplace)

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "spicetify-marketplace",
"name": "marketplace",
"version": "1.0.2",
"homepage": "https://github.com/spicetify/spicetify-marketplace",
"repository": "github:spicetify/spicetify-marketplace",
"homepage": "https://github.com/spicetify/marketplace",
"repository": "github:spicetify/marketplace",
"bugs": {
"url": "https://github.com/spicetify/spicetify-marketplace/issues"
"url": "https://github.com/spicetify/marketplace/issues"
},
"packageManager": "[email protected]",
"scripts": {
Expand All @@ -17,7 +17,7 @@
"type-check": "tsc --noEmit",
"watch": "spicetify-creator --watch",
"prepare": "husky install",
"update-types": "curl -s -o src/types/spicetify.d.ts https://raw.githubusercontent.com/spicetify/spicetify-cli/master/globals.d.ts"
"update-types": "curl -s -o src/types/spicetify.d.ts https://raw.githubusercontent.com/spicetify/cli/main/globals.d.ts"
},
"engines": {
"yarn": "please-use-pnpm",
Expand Down Expand Up @@ -51,4 +51,4 @@
"semver": "^7.6.0"
},
"private": true
}
}
10 changes: 5 additions & 5 deletions resources/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ if (-not (Get-Command -Name 'spicetify' -ErrorAction 'SilentlyContinue')) {
Write-Host -Object 'Spicetify not found.' -ForegroundColor 'Yellow'
Write-Host -Object 'Installing it for you...' -ForegroundColor 'Cyan'
$Parameters = @{
Uri = 'https://raw.githubusercontent.com/spicetify/spicetify-cli/master/install.ps1'
Uri = 'https://raw.githubusercontent.com/spicetify/cli/main/install.ps1'
UseBasicParsing = $true
}
Invoke-WebRequest @Parameters | Invoke-Expression
Expand All @@ -33,9 +33,9 @@ New-Item -Path $marketAppPath, $marketThemePath -ItemType 'Directory' -Force | O

Write-Host -Object 'Downloading Marketplace...' -ForegroundColor 'Cyan'
$marketArchivePath = "$marketAppPath\marketplace.zip"
$unpackedFolderPath = "$marketAppPath\spicetify-marketplace-dist"
$unpackedFolderPath = "$marketAppPath\marketplace-dist"
$Parameters = @{
Uri = 'https://github.com/spicetify/spicetify-marketplace/releases/latest/download/spicetify-marketplace.zip'
Uri = 'https://github.com/spicetify/marketplace/releases/latest/download/marketplace.zip'
UseBasicParsing = $true
OutFile = $marketArchivePath
}
Expand All @@ -45,13 +45,13 @@ Write-Host -Object 'Unzipping and installing...' -ForegroundColor 'Cyan'
Expand-Archive -Path $marketArchivePath -DestinationPath $marketAppPath -Force
Move-Item -Path "$unpackedFolderPath\*" -Destination $marketAppPath -Force
Remove-Item -Path $marketArchivePath, $unpackedFolderPath -Force
spicetify config custom_apps spicetify-marketplace- -q
spicetify config custom_apps marketplace- -q
spicetify config custom_apps marketplace
spicetify config inject_css 1 replace_colors 1

Write-Host -Object 'Downloading placeholder theme...' -ForegroundColor 'Cyan'
$Parameters = @{
Uri = 'https://raw.githubusercontent.com/spicetify/spicetify-marketplace/main/resources/color.ini'
Uri = 'https://raw.githubusercontent.com/spicetify/marketplace/main/resources/color.ini'
UseBasicParsing = $true
OutFile = "$marketThemePath\color.ini"
}
Expand Down
12 changes: 6 additions & 6 deletions resources/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e


# download uri
releases_uri=https://github.com/spicetify/spicetify-marketplace/releases
releases_uri=https://github.com/spicetify/marketplace/releases
if [ $# -gt 0 ]; then
tag=$1
else
Expand All @@ -20,8 +20,8 @@ tag=${tag#v}

echo "FETCHING Version $tag"

download_uri=$releases_uri/download/v$tag/spicetify-marketplace.zip
default_color_uri="https://raw.githubusercontent.com/spicetify/spicetify-marketplace/main/resources/color.ini"
download_uri=$releases_uri/download/v$tag/marketplace.zip
default_color_uri="https://raw.githubusercontent.com/spicetify/marketplace/main/resources/color.ini"

SPICETIFY_CONFIG_DIR="${SPICETIFY_CONFIG:-$HOME/.config/spicetify}"
INSTALL_DIR="$SPICETIFY_CONFIG_DIR/CustomApps"
Expand All @@ -42,14 +42,14 @@ unzip -q -d "$INSTALL_DIR/marketplace-tmp" -o "$TAR_FILE"

cd "$INSTALL_DIR/marketplace-tmp"
echo "COPYING"
rm -rf "$INSTALL_DIR/spicetify-marketplace/" "$INSTALL_DIR/marketplace/"
mv "$INSTALL_DIR/marketplace-tmp/spicetify-marketplace-dist" "$INSTALL_DIR/marketplace"
rm -rf "$INSTALL_DIR/marketplace/" "$INSTALL_DIR/marketplace/"
mv "$INSTALL_DIR/marketplace-tmp/marketplace-dist" "$INSTALL_DIR/marketplace"

echo "INSTALLING"
cd "$INSTALL_DIR/marketplace"

# Remove old custom app name if exists
spicetify config custom_apps spicetify-marketplace-
spicetify config custom_apps marketplace-

# Color injection fix
spicetify config inject_css 1
Expand Down
Loading
Loading