Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
17 changes: 12 additions & 5 deletions .github/scripts/publish-hub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@
# Maintain the Plugin Hub publish branch for this repository.
#
# The Plugin Hub pins a literal commit of this repo and its reviewers diff the
# previous pin against the new one. Development history (tests, README, images,
# docs, CI) makes those reviews noisy, so this script maintains a branch that
# contains only what the Plugin Hub packager consumes for a build=standard
# plugin:
# previous pin against the new one. Development history (tests, images, docs,
# CI) makes those reviews noisy, so this script maintains a branch that
# contains only what the Plugin Hub consumes for a build=standard plugin:
#
# src/main/java src/main/resources lombok.config
# runelite-plugin.properties icon.png LICENSE
#
# plus README.md, which the Hub build itself ignores but runelite.net renders
# as the plugin description: the site fetches
# repos/<owner>/<repo>/readme?ref=<pinned commit> from the GitHub API, so a pin
# without a README shows no description on
# https://runelite.net/plugin-hub/show/flipping-utilities.
#
# See STANDARD_BUILD_PATHS and Plugin#build in runelite/plugin-hub-tooling;
# everything else in this repository is ignored by the Hub build.
#
Expand Down Expand Up @@ -53,14 +58,16 @@ remote="${HUB_REMOTE:-origin}"
plugin_slug="${PLUGIN_SLUG:-flipping-utilities}"
pointer_url="https://raw.githubusercontent.com/runelite/plugin-hub/master/plugins/${plugin_slug}"

# Exactly the inputs the Plugin Hub packager reads for build=standard plugins.
# The inputs the Plugin Hub packager reads for build=standard plugins, plus
# README.md for the website description (see the header comment).
keep_paths=(
src/main/java
src/main/resources
runelite-plugin.properties
icon.png
LICENSE
lombok.config
README.md
)

resolve() { git rev-parse --verify --quiet "$1^{commit}" || true; }
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,5 +117,6 @@ jobs:
echo '```'
echo "repository=https://github.com/${REPOSITORY}.git"
echo "commit=${COMMIT}"
echo 'authors=AntonyGarand'
echo '```'
} >>"$GITHUB_STEP_SUMMARY"
36 changes: 20 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,35 +33,35 @@ The plugin is divided into three tabs: the slots tab, flipping tab and statistic
This tab displays info most relevant to you when actively flipping

<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/flipping.png" width="300" height="546">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/flipping.png" width="300" height="546">
</p>

The item cards are highly customizable, allowing you to pick what information to show in which section.

<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/customize.png" width="300" height="415">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/customize.png" width="300" height="415">
</p>

### The Statistics Tab
This tab records your trading history, down to every single individual offer you made.

<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/stats.png" width="300" height="950">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/stats.png" width="300" height="950">
</p>

The item cards can be expanded
<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/statCard.png">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/statCard.png">
</p>

The trade history for each item can be expanded to see the offers:
<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/offers.png" width="300" height="500">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/offers.png" width="300" height="500">
</p>

And the flips:
<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/flips.png" width="300" height="500">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/flips.png" width="300" height="500">
</p>


Expand All @@ -75,19 +75,19 @@ Go to your offers for an item in the stats tab. If there is a recipe for that it
be present on the offer card. Click it and select the appropriate recipe

<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/recipeCreation.png" width="500" height="450">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/recipeCreation.png" width="500" height="450">
</p>

adjust the inputs and outputs if necessary, then combine

<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/recipeCreationStep.png">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/recipeCreationStep.png">
</p>

view your recipe flips in the "recipes" tab of the stats tab

<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/viewRecipes.png" width="300" height="633">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/viewRecipes.png" width="300" height="633">
</p>

## Additional Features
Expand All @@ -98,15 +98,15 @@ Slot timers help you figure out when you should cancel an offer. They show you h
since the offer was last active.

<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/timer.png">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/timer.png">
</p>

#### Offer editors

The price and quantity help you set up your offers quickly!

<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/editor.png">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/editor.png">
</p>


Expand All @@ -115,15 +115,15 @@ The price and quantity help you set up your offers quickly!
Flip on mobile and have untracked trades? Just pop open your ge history and easily add untracked trades

<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/manual.png">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/manual.png">
</p>

#### Favorites lookup

Quickly lookup your favorited items just by typing "1" in the ge search!

<p align="center">
<img src = "https://github.com/Flipping-Utilities/rl-plugin/blob/master/images/lookup.png">
<img src = "https://raw.githubusercontent.com/Flipping-Utilities/rl-plugin/master/images/lookup.png">
</p>

# Development
Expand Down Expand Up @@ -181,9 +181,13 @@ maintainer approval. After merging a release, publish a pin as described below.
The Hub pins a commit of this repository and reviewers diff the previous pin
against the new one. To keep those reviews limited to the plugin itself, pins
live on the `hub/publish` branch, which contains only the files the Hub
packager builds: `src/main/java`, `src/main/resources`,
`runelite-plugin.properties`, `icon.png` and `LICENSE`. Everything else
(tests, README, images, docs, CI) stays on `master` only.
consumes: `src/main/java`, `src/main/resources`,
`runelite-plugin.properties`, `icon.png`, `LICENSE` and `README.md`. The Hub
build ignores the README, but runelite.net fetches it from the pinned commit
to render the description on
https://runelite.net/plugin-hub/show/flipping-utilities, so a pin without it
shows no description. Everything else (tests, images, docs, CI) stays on
`master` only.

To cut a new pin:

Expand Down
Loading