Skip to content
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

feat(update): Add Automated Updates #74

Merged
merged 6 commits into from
Jul 12, 2020
Merged

feat(update): Add Automated Updates #74

merged 6 commits into from
Jul 12, 2020

Conversation

iLPdev
Copy link
Owner

@iLPdev iLPdev commented Jul 12, 2020

discMapper will now intermittently compare the local version to the version on main branch. If the local version is outdated, the script will download and install the latest version (after uninstalling the outdated package). The autoupdate will then announce completion of the process, if successful.

Points the autoupdate function to pull from the raw XML source on the main branch.
When discMapper updates, we don't want it to mess with any existing generic_mapper.xml -- although no one should be running both scripts simultaneously in one profile because to do so would certainly bring about eschaton!
The versionless module filename will be inside the release package.
@iLPdev iLPdev added the enhancement New feature or request label Jul 12, 2020
@iLPdev iLPdev self-assigned this Jul 12, 2020
@iLPdev iLPdev merged commit e2c4c33 into develop Jul 12, 2020
@iLPdev iLPdev deleted the feature/autoupdate branch July 12, 2020 02:49
@iLPdev iLPdev restored the feature/autoupdate branch July 12, 2020 05:41
iLPdev added a commit that referenced this pull request Jul 12, 2020
* chore(readme): Update Contributing

* chore(readme): Add speedwalk to Features

* chore(readme): Remove Sublime from Built With

I'm trialing VSC right now... hopefully others will contribute and they're free to use whatever editor they desire.

* chore(readme): Update Versioning to present tense

* chore(readme): Update Install instructions

For the current beta, the script remains an XML module rather than a fully developed .mpackage.

* chore(readme): Update Getting the Source

* chore(readme): Update Project Status

* chore(readme): Update Contributing section

* docs: add iLPdev as a contributor (#71)

* docs: update README.md [skip ci]

* docs: create .all-contributorsrc [skip ci]

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

* Update README.md

* chore(readme): Clean-up All Contributors Code

* chore(readme): Add space after Travis badge

* chore(readme): Add space before Forks badge

* docs(readme): Update Vision and Roadmap

* style(readme): Indent and center

* style(readme): Revert to left-align badges

I've been writing HTML for 25 years and the restriction in GHF MD is baffling. Even GHF MD tables are 100% and HTML tables wont accept blocklevel MD elements within them in GitHub, so.... no dice. I'll have to look up the URLs from the references and center badges via html then?

* chore(issue): Update Bug Report Template

* chore(issue): Update Feature Request Template

* chore: Remove VSC setting.json

this should be .gitignored already. uncertain why it's here... probable artifact from Feature/help-system merge.

* chore: Rename Gitflow PDF

* docs(readme): Add Latest SemVer Release Badge

* docs(readme): Add Mudlet Latest SemVer Badge

@vadi2

* docs(readme): Add metadata badge URLs

* docs(readme): Remove redundant badges

Stars and Forks are displayed by default on top right of main repo page in github

* chore(travis): Update dist to bionic

* chore: Scale logo to 640x300

Closes #5

* Chore: Update logo image sizing

* Chore: Add logo XCF image file

Closes #5

* Create semantic.yml

Require semantic PR titles and at least one semantic commit

* fix: Point `help config` alias to correct script  (#72)

* bugfix: Call correct help in `map config` alias

`map.help.configs` does not exit, and should not exist because `show_help` parses the user-supplied argument in `map help` ... which has the command as singular `map config`. See Mudlet/Mudlet#3970

* Advance to v0.2.1-beta

* feat: Add case insensitivity to exit trigger (#73)

Applies Mudlet/Mudlet@96fd892)

* chore: Update Project Status

* feat(update): Add Automated Updates (#74)

* fix(update): Download from Github `main/src`

Points the autoupdate function to pull from the raw XML source on the main branch.

* fix(update): Disable overwriting generic_mapper

When discMapper updates, we don't want it to mess with any existing generic_mapper.xml -- although no one should be running both scripts simultaneously in one profile because to do so would certainly bring about eschaton!

* fix(update): Designate module path

The versionless module filename will be inside the release package.

* fix(update): Uninstall package before update

* fix(update): Announce successful autoupdates

* fix(update): Set path to local file update

* fix(update): Add version library and update references (#75)

* fix(update): Download from Github `main/src`

Points the autoupdate function to pull from the raw XML source on the main branch.

* fix(update): Disable overwriting generic_mapper

When discMapper updates, we don't want it to mess with any existing generic_mapper.xml -- although no one should be running both scripts simultaneously in one profile because to do so would certainly bring about eschaton!

* fix(update): Designate module path

The versionless module filename will be inside the release package.

* fix(update): Uninstall package before update

* fix(update): Announce successful autoupdates

* fix(update): Set path to local file update

* feat: Advance to v0.4.0-beta

Update the internal script versioning

* chore: Ignore Prettier config

* feat(update): Create version library

Add the version library for comparisons

* feat(update): Update `download_path` help

* feat(update): Verify module to be updated

* Revert "feat: Advance to v0.4.0-beta"

This reverts commit 7ddb5ad.

* feat(update): Set internal version

Local version number for comparison to remote version library.

* docs: Advance version to 0.3.0-beta

* docs: Update history for v0.3.0 release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant