[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Eclipse Shields Server

Hello Gunnar,

thanks for your feedback! Well you can strip it down to "running" a simple WAR file. So a full (virtual) server might not be necessary.

You are right and I did consider that. And from what I learned in the past (they did make a small fix for me, restoring compatibility with Hudson), they would probably accept such a pull request.

However I do think that such a service, which is for Eclipse projects, should be hosted by Eclipse. This is the same for Bugzilla, Wiki and even for Git, where content is replicated. When "shields.io" disappears tomorrow, so would the shields.

A more technical reason is that the PMI JSON interface is pretty slow. It takes a few seconds until this information is provided. I am less worried of images coming in late, but more that such a shield service would increase the load on this interface too much. Hosting a separate service allows to aggressively cache such information. I know shields.io does some sort of caching, but I do think we could do a better job for Eclipse projects.

Jens

On 05/18/2016 06:21 PM, Gunnar Wagenknecht wrote:
Jens,

That's great project. It sounds like a lot effort though (custom server, separate hosting, etc.). Have you thought about submitting a pull request to have it supported out of the box by shields.io?

It seems that some services (such as Jenkins, Codeship.io, etc.) are done here:

-Gunnar




On 18 May 2016, at 16:51, Jens Reimann <jens.reimann@xxxxxxxxxxxxxxx> wrote:

Hi,

finally I had some time to make a "proof-of-concept" for an Eclipse
Shields server. The idea is to have "shields.io" [1] like little images,
which can easily be embedded into web pages, showing some information
about Eclipse Foundation projects.

I did start with a basic shield which does show the project name and
current released version. See it embedded in the README [2]

The solution is a plain Java EE project, re-using the project
information which is already in the Eclipse PMI and which is accessible
using JSON anyway. So there is no need to put in data twice.

Currently you can create shields using the following URL:

https://shields-ctron.rhcloud.com/project/<project id>   - e.g: project
id = technology.package-drone

There are a few things missing, like caching, in order to reduce the
load. But I do have a:
- A running instance on OpenShift : https://shields-ctron.rhcloud.com
(not very useful with additional parameters)
- A project on GitHub [3]
- An implementation for a Project/Latest version shield

Of course the missing stuff can be added quickly. More shield types and
designs are not that hard as well.

But before I continue, I wanted to get some feedback if there is
interest in such a service, if the project itself, including the source
code and the service could/should be moved to the Eclipse Foundation.
What additional shields would be of interest.

Let me know what you think

Jens

[1] http://shields.io/
[2] https://github.com/ctron/shields/blob/master/README.md
[3] https://github.com/ctron/shields

--
IBH SYSTEMS GmbH
D-85235 Pfaffenhofen an der Glonn
Läutenring 43
Geschäftsführer / CEO: Dr. Thomas Heitzig

Amtsgericht München
Handelsregister Nummer  HRB 197959
USt ID: DE267945175

Office Munich
D 80992 München
Agnes-Pockels-Bogen 1
T +49 89 18 9 17 49 0

The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or pivileged
material. Any review, retransmission, dissemination or other use of,
or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.


_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev



_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev


-- 
IBH SYSTEMS GmbH
D-85235 Pfaffenhofen an der Glonn
Läutenring 43
Geschäftsführer / CEO: Dr. Thomas Heitzig

Amtsgericht München
Handelsregister Nummer  HRB 197959
USt ID: DE267945175

Office Munich
D 80992 München
Agnes-Pockels-Bogen 1
T +49 89 18 9 17 49 0

The information transmitted is intended only for the person or entity
to which it is addressed and may contain confidential and/or pivileged
material. Any review, retransmission, dissemination or other use of,
or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.

Attachment: signature.asc
Description: OpenPGP digital signature