Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] Troubles re-building Kura 3.1

May I ask what’s the status of this issue is? As far as I can see I haven’t seen much happen on https://github.com/eclipse/kura/issues/1747. I would like to reinforce my statement earlier that having a release out that people can not build from source is really not a good thing for an open source project :-)
I would hope that it is not too difficult to provide a 3.1.1 release, especially given there seems to be a fix?

Thanks again,
Benjamin -

Le 13 nov. 2017 à 11:29, Jens Reimann <jreimann@xxxxxxxxxx> a écrit :

I created a PR which would fix this issue: https://github.com/eclipse/kura/pull/1782

On Fri, Nov 10, 2017 at 11:37 AM, Maiero, Matteo <matteo.maiero@xxxxxxxxxxxx> wrote:
Hi Jens,
We are trying to understand how to proper fix it without moving tags.
In every case, the documentation created are placeholders that will be used to help developers building Kura 3.1.0.

Our plan, for the exists plugin, is to have the build failing if trying to rebuild it after the official release, but we provide a profile that the developer can leverage to skip the exists plugin, if he wants to rebuild Kura from the release tag.

Best regards,
Matteo

-- 
Matteo Maiero
Senior Software Engineer

direct: +39 0433 485 902

EUROTECH
Imagine.Build.Succeed.
HEADQUARTERS
EUROTECH S.p.A. – Via Fratelli Solari, 3/a | 33020 Amaro UD | Italy | Tel. +39. 0433 485411  | Fax +39. 0433 485499 |
Cap. Soc. 8.878.946,00 € I.V. | P.IVA / C.F.: IT 01791330309 | REA Udine 196115
www.eurotech.com
____________________________________

Il presente messaggio ed ogni suo allegato sono da intendersi inviati esclusivamente agli effettivi destinatari e potrebbero essere soggetti a restrizioni legali. Se avete ricevuto questo messaggio per errore vi invitiamo a darne immediata notifica al mittente e cancellarlo dal vostro sistema. Qualsiasi altro uso di questo messaggio da parte vostra e' strettamente proibito.
 
This e-mail, and any file attached to it, is meant only for the intended recipient of the transmission and may be a communication privileged by law. If you have received it in error, please notify the sender immediately and delete the original from your system. Any other use of this e-mail by you is strictly forbidden.

On 10 Nov 2017, at 10:53, Jens Reimann <jreimann@xxxxxxxxxx> wrote:

But did I understand you correctly that you are not going to fix this?

On Fri, Nov 10, 2017 at 10:40 AM, Maiero, Matteo <matteo.maiero@xxxxxxxxxxxx> wrote:
Hi Benjamin,
We started documenting the workaround in the issue #1747 and in the official Kura website [1].
We will update the GitHub readme accordingly.

Best regards,
Matteo

[1] https://www.eclipse.org/kura/downloads.php
-- 
Matteo Maiero
Senior Software Engineer

direct: +39 0433 485 902

EUROTECH
Imagine.Build.Succeed.
HEADQUARTERS
EUROTECH S.p.A. – Via Fratelli Solari, 3/a | 33020 Amaro UD | Italy | Tel. +39. 0433 485411  | Fax +39. 0433 485499 |
Cap. Soc. 8.878.946,00 € I.V. | P.IVA / C.F.: IT 01791330309 | REA Udine 196115
www.eurotech.com
____________________________________

Il presente messaggio ed ogni suo allegato sono da intendersi inviati esclusivamente agli effettivi destinatari e potrebbero essere soggetti a restrizioni legali. Se avete ricevuto questo messaggio per errore vi invitiamo a darne immediata notifica al mittente e cancellarlo dal vostro sistema. Qualsiasi altro uso di questo messaggio da parte vostra e' strettamente proibito.
 
This e-mail, and any file attached to it, is meant only for the intended recipient of the transmission and may be a communication privileged by law. If you have received it in error, please notify the sender immediately and delete the original from your system. Any other use of this e-mail by you is strictly forbidden.

On 10 Nov 2017, at 10:33, Benjamin Cabé <benjamin.cabe@eclipse-foundation.org> wrote:

Hi Cristiano and team,

AFAICT, https://github.com/eclipse/kura/issues/1747 is still open. I really hope you guys can work on a 3.1.1 release soon, as not being able to build a release probably gives a bad feeling to the community (however small the origin of the bug maybe be).
At a minimum, documenting the workaround in a prominent place would be useful, I guess.

Thanks!
Benjamin -


Le 17 oct. 2017 à 19:49, De Alti, Cristiano <Cristiano.DeAlti@xxxxxxxxxxxx> a écrit :

Hi Jens,
 
> I really think that an open source project at Eclipse should be able to re-build, simply by rebuilding it.
I believe that every project should be able to rebuild, regardless if open source or not.
I think it’s now clear that it was a trivial mistake by us and we did not realize it before the release (and the tag) was done.
We did not mean to prevent anyone from rebuilding a Kura release.
 
Regards,
  Cristiano
 
From: <kura-dev-bounces@eclipse.org> on behalf of Jens Reimann <jreimann@xxxxxxxxxx>
Reply-To: Kura Developers mailing list <kura-dev@xxxxxxxxxxx>
Date: Tuesday, October 17, 2017 at 14:53
To: Kura Developers mailing list <kura-dev@xxxxxxxxxxx>
Cc: Wayne Beaton <emo@xxxxxxxxxxx>
Subject: Re: [kura-dev] Troubles re-building Kura 3.1
 

So please make a fix and create a new tag.

I really think that an open source project at Eclipse should be able to re-build, simply by rebuilding it.

Thanks

Jens
 
On Mon, Oct 16, 2017 at 10:03 PM, De Alti, Cristiano <Cristiano.DeAlti@xxxxxxxxxxxx> wrote:
Hi,
  We noticed that too but unfortunately too late.
The reason we added the exist-maven-plugin was to protect the Kura build from itself ;-)
It has to do with the way we used to version the Kura plugins which might lead to attempt redeploying the same version of the artifact to Nexus.
Before adding the plugin we had to manually check all the versions against those deployed to Nexus. A tedious and error prone process.
 
This in turn has to do with the Kura incremental upgrades where we could ship an upgrade containing only the differences since the last release.
 
It turns out that these ideas are very difficult to manage and complicate the build process.
 
Reviewing the build is a topic for the next Kura release.
 
To rebuild Kura from the KURA_3.1.0_RELEASE tag it’s enough to comment out the plugin from the poms.
We will document it or we will make a fix and create a new tag.
 
Regards,
  Cristiano
 
From: <kura-dev-bounces@eclipse.org> on behalf of Jens Reimann <jreimann@xxxxxxxxxx>
Reply-To: Kura Developers mailing list <kura-dev@xxxxxxxxxxx>
Date: Monday, October 16, 2017 at 17:31
To: Kura Developers mailing list <kura-dev@xxxxxxxxxxx>
Subject: [kura-dev] Troubles re-building Kura 3.1
 

Hi,

I just tried to rebuild the Kura 3.1 release and found out that this isn't possible anymore.

----
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.772 s
[INFO] Finished at: 2017-10-16T15:15:45+00:00
[INFO] Final Memory: 24M/397M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.honton.chas:exists-maven-plugin:0.0.3:remote (default) on project target-platform: Artifact already exists in repository: org.eclipse.kura:target-platform:3.1.0/target-platform-3.1.0.pom -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
----

Looking at the configuration it seems that Kura actively checks if "out there" exists Kura 3.1 and then simply fails the build:

----
                <groupId>org.honton.chas</groupId>
                <artifactId>exists-maven-plugin</artifactId>
----

Which effectively makes it impossible to simply re-build Kura from scratch. Or did I get this wrong maybe?

So unless I got it wrong, I would like to understand why an open source project takes those measures and how to work around them?

Thanks for your help

Jens

-- 
Jens Reimann
Senior Software Engineer / EMEA ENG Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
_____________________________________________________________________________

Red Hat GmbH, www.de.redhat.com,
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill

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



-- 
Jens Reimann
Senior Software Engineer / EMEA ENG Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
_____________________________________________________________________________

Red Hat GmbH, www.de.redhat.com,
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill
_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev

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


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



--
Jens Reimann
Senior Software Engineer / EMEA ENG Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
_____________________________________________________________________________

Red Hat GmbH, www.de.redhat.com,
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill
_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev


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



--
Jens Reimann
Senior Software Engineer / EMEA ENG Middleware
Werner-von-Siemens-Ring 14
85630 Grasbrunn
Germany
phone: +49 89 2050 71286
_____________________________________________________________________________

Red Hat GmbH, www.de.redhat.com,
Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Paul Argiry, Charles Cachera, Michael Cunningham, Michael O'Neill
_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev

Attachment: signature.asc
Description: Message signed with OpenPGP


Back to the top