• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->

Guide - Update a Redguides resource straight from Git. (1 Viewer)

Connect your RedGuides resource to Git, and enjoy automatic updates.

gitbridge.gif

When editing your resource, fill out these two options:
1700399761725.png

That's all you need. On every commit, update messages will be posted.

Need more advanced handling?
After a save & refresh, several more options become available:

[git] Update messages
This option determines how commit messages from the Git repo are used in update messages.
  • Use all commit messages (default)
    All commit messages from the Git repository will be included in update messages.
  • Use only prefixed commits
    Only commit messages that start with a specific prefix will be included. We parse for "conventional commits".
  • The message needs advanced handling
    Don't like the emojis? Want footer support? Skip commits without a prefix? Want your own prefixes? Each resource can have a unique config, so anything can be adjusted.

[git] Changelog path and filename
Specify the path and filename of an existing changelog in the repository, e.g., data/resources/CHANGELOG.md. This will skip all commit messages and override the "update messages" option above.

[git] Version tags
  • Yes, latest
    Updates will only be triggered for the latest tag in the Git repository.

[git] Update attachment
  • Yes, update the attachment as well
    Controls adding attachments. Only updates files when checked.
  • Place everything inside a folder, named after your repository
    Keeps your entire release within a folder.
  • Include date in .zip name:
    The .zip file will include the date in its name.
  • Include version in .zip name (requires tagging above)
    The release's .zip file will include the version number in its name. Requires version tags option above.
  • This repo needs advanced handling (Contact Redbot)
    Each repo is unique! We can handle compiling, yaml changelogs, submodules, or whatever else you dream up.

[git] Include only specific folders/files for release
Specify which folders or files should be included in the release.
  • Leave blank to include all files.
  • Specify exact paths for specific files or folders, e.g., lib/library.Lua.
  • For multiple paths, separate them with a comma.
  • Append /* to a folder path (like folder/*) to include all files from that folder in the root of the archive.
  • Append + to a path (like lib/icons.Lua+) to preserve the folder structure in the archive.

Current default commit prefixes:

If you begin your commit message with "feat:", then it will be grouped in updates under "Features⛲".
If you begin your commit message with "fix:", then it will be grouped in updates under "Bug Fixes🐛".
If you begin your commit message with "doc:", then it will be grouped in updates under "Documentation📕".
If you begin your commit message with "perf:", then it will be grouped in updates under "Performance🏎️".
If you begin your commit message with "refactor:", then it will be grouped in updates under "Refactor❤️".
If you begin your commit message with "style:", then it will be grouped in updates under "Styling🦋".
If you begin your commit message with "test:", then it will be grouped in updates under "Testing🧪".
If you begin your commit message with "chore:", it will be skipped and not grouped.
If your commit body contains the word "security", it will be grouped in updates under "Security🔒".
If you begin your commit message with "revert:", it will be skipped and not grouped.
Any other commit messages will be grouped in updates under "〰️Commits".

Having trouble? Private repository? Other issues with the above options? DM Redbot or reply here.
 
Last edited:
If you have a Git repo and a resource, we'll connect them... for a price!

View attachment 41194

Update messages can be parsed from commits, and your work can be automatically compiled (if needed), zipped and uploaded to the resource.

By default we parse for "conventional commits" but we can configure specifically for your repo, including:
  • Tags
  • Versioning
  • Use your existing CHANGELOG and ignore commit messages
  • Non-conventional commit prefixes
  • And more. Don't like the emojis? Want footer support? Skip commits without a prefix? Each resource can have a unique config, so anything can be adjusted. Warning: I may need help 😅
To bridge your resource with Git, smash your mouse here and pay 10 Redcents.

Current default commit prefixes:

YAML:
    { message = "^feat", group = "Features⛲"},
    { message = "^fix", group = "Bug Fixes🐛"},
    { message = "^doc", group = "Documentation📕"},
    { message = "^perf", group = "Performance🏎️"},
    { message = "^refactor", group = "Refactor❤️"},
    { message = "^style", group = "Styling🦋"},
    { message = "^test", group = "Testing🧪"},
    { message = "^chore", skip = true},
    { body = ".*security", group = "Security🔒"},
    { message = "^revert", skip = true},
    { message = ".*", group = "〰️Commits"},

There's a description of their usage here.

If you have 10 redcents and a Git repo, you're ready.
redbot.. stop speaking smart
 
Okay,
So I just do, for example, git push origin 1.0.5
That will give the commit a tag in GitHub. Your bridge will pick that up?
Yup, it's a powershell script that grabs the latest tag on a specific branch:

git describe --tags $(git rev-list --tags --max-count=1)
 
Added commit author and improved styling for commit body. Updates will now be attributed to the resource author rather than RedMan
 
Git repo bridging is now controlled on your resource's edit page. No more shop item to buy. As always, if you need advanced handling let me know!
 
Last edited:
Guide - Update a Redguides resource straight from Git.

Users who are viewing this thread

Back
Top