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

Display version numbers for the plug-ins and what Gitbucket version they require. #4

Open
aadrian opened this issue Oct 7, 2015 · 7 comments

Comments

@aadrian
Copy link
Member

aadrian commented Oct 7, 2015

Hi,

Please display version numbers for the plug-ins and what Gitbucket version they require.
The users loose just too much time trying to fit the pieces together.

Thank you.

@McFoggy
Copy link
Member

McFoggy commented Oct 7, 2015

@aadrian the plugins have their own lifecycle, so if project maintainers don't provide this information it has to be provided by the community. Do not hesitate to submit PR to the documentation of those projects.

@aadrian
Copy link
Member Author

aadrian commented Oct 8, 2015

the plugins have their own lifecycle,

That is logical. But they should be enforced to display their own version number and also the version number of the GitBucket it was working with. This is the only way to keep things sane.

Right now, without this, it would appear that everything is compatible with everything, and this is clearly not the case.

@McFoggy
Copy link
Member

McFoggy commented Oct 8, 2015

@aadrian I saw you opened issue 931 on gitbucket that should allow plugins to expose their comaptivility version. Then we could enhance gitbucket screen to show that information somewhere in the plgin screen.
image
But for this gitbucket plugin community I do not see an easy way to enforce that.
Perhaps we can think about a mandatory/required file descriptor for each plugin project that could be read by community site ; for sure it is not trivial to know & expose the compatibility upfront.

@aadrian
Copy link
Member Author

aadrian commented Oct 8, 2015

Perhaps we can think about a mandatory/required file descriptor for each plugin project that could be read by community site

IntelliJ is doing exactly this for their plug-ins :).

Even more, the use "release ranges" that are tied to API compatibility, so that a plug-in can be compatible with more distributions as long they're in range.

@McFoggy
Copy link
Member

McFoggy commented Oct 8, 2015

I thought a little bit about this, but it is not as easy as that because of the site structure.

Currently I see 2 problems to solve the usecase:

  • Unless github serve raw content using CORS, we could not read the plugins descriptors from the community site Javascript
  • as the site is static (built by jekyll as many other pages), I do not know a way to collect remote data during build phase

@aadrian
Copy link
Member Author

aadrian commented Oct 8, 2015

The Grails Framework is using GitHub for it's sources (like GitBucket), but it's using BinTray for the plug-ins https://bintray.com/grails/plugins
or other binary artifacts: https://bintray.com/grails

BinTray seems to better suited for distributions, plug-ins, metadata and this sort of stuff, and seems to have a very good integration with GitHub too.

Maybe GitBucket could try a similar approach?

@McFoggy
Copy link
Member

McFoggy commented Oct 8, 2015

@aadrian currenty the gitbucket plugin community is just a simple html page aggregating the availability of plugins for gitbucket ; it is not part of gitbucket itself. Of course a better support of plugins inside the gitbucket application would be far more valuable.

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

2 participants