Code Monkey home page Code Monkey logo

foundryvtt-module-template's People

Contributors

346184 avatar akrigline avatar alexbrault avatar anthonyronda avatar arcanistzed avatar badideasbureau avatar cs96and avatar cswendrowski avatar toon324 avatar varriount avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

foundryvtt-module-template's Issues

bad syntax in actions file

The URL rewriting on lines 98-100 of https://github.com/League-of-Foundry-Developers/FoundryVTT-Module-Template/blob/master/.github/workflows/main.yml#L98-L100 say:

URL: ${{ $env.project_url }}
MANIFEST: ${{ $env.latest_manifest_url }}
DOWNLOAD: ${{ $env.release_module_url }}

which is not correct and results in a failure to execute the action. removing the $ before env works:

URL: ${{ env.project_url }}
MANIFEST: ${{ env.latest_manifest_url }}
DOWNLOAD: ${{ env.release_module_url }}

FEATURE: Autoversion the download URL

Currently, the CI/CD will automatically load the version from the manifest.json for creating the release and zip files, but users often forget to update the download URL, causing releases to break.

The Github Actions workflow should be updated to automatically update that URL to prevent this issue

GitHub 'standard practice' can lead to issues in Foundry

The League's template instructions show how to create a release. GitHub offers 'common practice' instructions to create release tags, which suggests adding a v as a prefix to the tag version. See below:

image

This leads to problems because:

  1. the release action strips the v from the version and puts the result in the module.json. ex: v1.0 tag becomes 1.0 in the module.json
  2. there are no instructions for developers stating that the v should not be entered into the Foundry package submission form. The tag where they copy the module.json url still has the v. ex: v1.0
  3. once released in Foundry with a v in the version number, there is a mismatch between what Foundry thinks the version is and what the module.json says the version is. This results in constant prompts to the end users to update their modules.

I have personally been faced with this issue, and I have also seen others deal with this as well. It is inconvenient because removing the v is the solution, but because of how Foundry works, the developer has to inform the end users to first uninstall and then reinstall with the new version because vX.X will always be bigger/newer than X.X (where X's are numbers), so it's not possible for Foundry to offer the new version without the v as the newest version.

language(s) folder

The template itself has a "languages" folder.
The .github/workflows/main.yml on line 126 mentiones a "language" (missing the "s")folder and if used that way will result in an error.

I have no idea how issues work and what they are meant for, but it seemed to me the most direct way to communicate that. Apologies for any inconveniences.

Distribute the LICENSE file in zip

See title

Edit: GNU gives some reasoning for why this is necessary. Note: they also say "just including a file without a notice at the top of every source file isn't good enough," though it seems good enough for lots of companies with lawyers. https://www.gnu.org/licenses/gpl-faq.html#WhyMustIInclude

Examples of FOSS orgs that require distributing the license file with the software:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.