modrinth / minotaur

Gradle plugin for deploying build artifacts to Modrinth.
GNU Lesser General Public License v2.1
84 stars 15 forks source link

Option to Set whether a Project is Featured #57

Open gmitch215 opened 1 year ago

gmitch215 commented 1 year ago

Is your suggested enhancement related to a problem? Please describe.

No response

Describe the solution you'd like

Hello, I have a self-sustained project that includes the Kotlin runtime and automatically updates whenever a Kotlin version is released. Everything works fine with Minotaur, however I always have to go into the project and feature the newest version because there isn't anything in Minotaur that allows me to change that. I think that would definitely help and make it so that it is really completely self-sustaining.

Describe alternatives you've considered

No response

Additional context

No response

triphora commented 1 year ago

Is there any specific reason that the autofeaturing system doesn't work for your use case?

gmitch215 commented 1 year ago

Is there any specific reason that the autofeaturing system doesn't work for your use case?

I must've been manually versioning things. I understand that now, but I think this feature would still be beneficial.

triphora commented 1 year ago

In what way would what you suggest be useful? I'm not meaning to be rude or demeaning or anything, I'm actually just curious what use cases would necessitate this being a feature. It would be super easy to add, literally two lines of code, but we generally encourage use of the autofeature system.

gmitch215 commented 1 year ago

I think the auto-featuring system works for the most part, and for my project specifically, if users want to use different major versions of Kotlin (for various reasons) then they wouldn't have to scroll through the automatic publishing of many minor versions. I'd have it set up where all of the recent major versions are featured for easy download.

In general, projects that want to feature multiple versions (e.g. separate version pages for different mod loaders or Minecraft versions, have a release and a beta featured, etc) and use minotaur would most likely benefit from this.

onebeastchris commented 4 months ago

Hey! Saw this, and thought i'd chime in. Personally, being able to feature/unfeature versions (or potentially disable auto-featuring) would be greatly appreciate for my usecase. I'm working on Geyser, and there, old fabric versions will not work anymore due to them not receiving updates for new Bedrock versions. Hence, un-featuring them and allowing only new builds to be featured, would be an awesome addition :)