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

Garry's Mod Publish doesn't respect ignore list in addon.json #70

Open
sappykun opened this issue Jul 1, 2024 · 0 comments
Open

Garry's Mod Publish doesn't respect ignore list in addon.json #70

sappykun opened this issue Jul 1, 2024 · 0 comments

Comments

@sappykun
Copy link

sappykun commented Jul 1, 2024

I am trying to upload an addon to the workshop (Wardrobe). The git repository contains some license files, some markdown files, and an assets folder with some PNG files. To make the process easier for me between updating the workshop addon and updating the git repo at the same time, I am trying to upload everything as-is, ignoring files depending on the platform.
When uploading an addon, Garry's Mod lets you specify a list of files to ignore. My ignore list looks like this:

"ignore":
[
	"assets",
	"*.md",
	"COPYRIGHT",
	"LICENSE-APACHE",
	"LICENSE-MIT"
]

When uploading with Crowbar, it always tries to rewrite the addon.json file, removing the ignore list and preventing the addon from being uploaded as per the file whitelist rules. I am able to upload the addon with all of the blacklisted files via gmad.exe/gmpublish.exe since it can use the ignore list to ignore those files. I can also upload/update the addon via Crowbar if the blacklisted files are deleted manually, then restored via git afterwards.

I would like to request that Crowbar keep the ignore list intact when going through the addon.json file. A text box within Crowbar itself that contains the ignore list would be preferable, but not necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant