Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [acceleo-dev] Dynamic polyphormism + overriding for templates and queries
  • From: Pere Joseph Rodríguez <perelengo@xxxxxxxxxxx>
  • Date: Thu, 14 Nov 2019 11:59:58 +0000
  • Accept-language: es-ES, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nxTUm/3JY6TdxKzH3IU1quLl7O99uqHB6WdSuJqe89Y=; b=JQ/Ym2ujaiLdty6ZVs4cvvB+tfCl5tvRQnEbMeejOHrFvk/ZNxBelC47HfxNoOE4LuMcO5WJlBkh1m24u7/Nw5nQXrDdpBTzNT92BS0ONv+i+iCvtc0a6ZEcW2RYTiLeH5WAeT/aUrq5afzAHJbkEvoipCWBe4ibbmm05a/wk9OGEI8XcFW3fA2GC24aisoLO5hOVK+c7dm/5X3qknH01XaRgJpnYljWSBjezXupnWPy6w7jFxScfdbB5VsG3JnelfigDhqx5O0uL8XoAoRque49azOwXsxd0eVuQiSVRVj9ibXW6nRHr1pUU/zd4CjBvb9CReik9bZvt78fmgYlqg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QN1xyXyq+W5d5Qnm99CoUQX6Oo8WasBMuf36Mr1Jr+MAXRISb25nJyvmZpIlMWkA65V8GDh7lIPvAj48+mcaJXcjh79WgkJCGUu7DM1m9nmwYOOmn8xSMCxdSm0FXGk6CiC+XnpmB1EDb0L8/hQTrKWHwDaSsd8nT2QicdGGcERKaTfLNsJvEz8dywL/AGo2sigBpj1OXGURSJ1hkHSKDLIo9y9Cgpe6E3DOGKWzh7F5yeei6/wvNhm7N7NtnS/qg6i4am08xnG9PdfzxkNPSnZZigVKgUJhyCv6f/HYIyBJLLM5Ie1HfLa//EUi+hM5YdsiCe0+vPJ6EV2yIJAPKg==
  • Delivered-to: acceleo-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/acceleo-dev>
  • List-help: <mailto:acceleo-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/acceleo-dev>, <mailto:acceleo-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/acceleo-dev>, <mailto:acceleo-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHVkzofzz21rr3BGUCc4onDQRnV76d8RRKAgA0YE1OAAQY7gIAAIg5MgAAD74CAAAAv2g==
  • Thread-topic: [acceleo-dev] Dynamic polyphormism + overriding for templates and queries

Hi Laurent, 
I'm having some problems using my old tests due to changes in org.eclipse.osgi  bundle 3.10.102, because some osgi classes used by acceleo are missing.
As soon as I resolve this issue, will send you the example projects.

Pere


De: Laurent Goubet <laurent.goubet@xxxxxxx>
Enviado: jueves, 14 de noviembre de 2019 10:40
Para: Pere Joseph Rodríguez <perelengo@xxxxxxxxxxx>
Asunto: Re: [acceleo-dev] Dynamic polyphormism + overriding for templates and queries
 

Thanks for the contribution. Any way you could also provide us with an example of what was not working before and will now work? Since this changes code that lies pretty deep in the evaluation engine I'd like to have a better idea of the impacts.


Laurent


On 14/11/2019 11:28, Pere Joseph Rodríguez wrote:
Hi Laurent,
done!!

Many thanks for your help! 

Pere Joseph Rodríguez

The log of the push is:

$ git push review
Counting objects: 19, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (19/19), 4.69 KiB | 0 bytes/s, done.
Total 19 (delta 12), reused 0 (delta 0)
remote: Resolving deltas: 100% (12/12)
remote: Processing changes: new: 1, refs: 1, done
remote: (W) 2d0f1ee: commit subject >50 characters; use shorter first paragraph
remote: ----------
remote: Reviewing commit: 2d0f1eed
remote: Authored by: Pere Joseph Rodríguez <perelengo@xxxxxxxxxxx>
remote:
remote: The author is not a committer on the project.
remote: The author has a current Eclipse Contributor Agreement (ECA) on file.
remote: The author has "signed-off" on the contribution.
remote:
remote: This commit passes Eclipse validation.
remote:
remote: New Changes:
remote:   https://git.eclipse.org/r/152652 PJR: Modifications to allow dynamic overriding on stand-alone environments.
remote:
To ssh://git.eclipse.org:29418/acceleo/org.eclipse.acceleo
 * [new branch]        R3_3_maintenance -> refs/for/R3_3_maintenance


De: Laurent Goubet <laurent.goubet@xxxxxxx>
Enviado: jueves, 14 de noviembre de 2019 8:24
Para: Pere Joseph Rodríguez <perelengo@xxxxxxxxxxx>; Acceleo developer discussions <acceleo-dev@xxxxxxxxxxx>
Asunto: Re: [acceleo-dev] Dynamic polyphormism + overriding for templates and queries
 

Hello,


According to the log, you're trying to push to "refs/heads/R3_3_maintenance". This is indeed not allowed. You have to configure your "review" remote so that it will point to "refs/for/R3_3_maintenance"; that is the "gerrit" branch. This should be something like:

git config remote.review.push HEAD:refs/for/master


Regards,


Laurent Goubet

Obeo


On 13/11/2019 17:47, Pere Joseph Rodríguez wrote:
Hi Laurent,
I've been trying to push the changes as explained in these websites, but got the following errors:

$ git push review R3_3_maintenance
Counting objects: 19, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (15/15), done.
Writing objects: 100% (19/19), 4.69 KiB | 0 bytes/s, done.
Total 19 (delta 12), reused 0 (delta 0)
remote: Resolving deltas: 100% (12/12)
remote: Branch refs/heads/R3_3_maintenance:
remote: You are not allowed to perform this operation.
remote: To push into this reference you need 'Push' rights.
remote: User: pjosephrodrguez
remote: Please read the documentation and contact an administrator
remote: if you feel the configuration is incorrect
remote: Processing changes: refs: 1, done
To ssh://git.eclipse.org:29418/acceleo/org.eclipse.acceleo
 ! [remote rejected]   R3_3_maintenance -> R3_3_maintenance (prohibited by Gerrit: ref update access denied)

Am I pushing to an incorrect remote or branch? It seems I don't have permission.
Many thanks.

--

Laurent Goubet
Consultant
+33 2 51 13 51 42

7 Boulevard Ampère - Carquefou - France
obeo.fr | twitter | linkedin

--

Laurent Goubet
Consultant
+33 2 51 13 51 42

7 Boulevard Ampère - Carquefou - France
obeo.fr | twitter | linkedin


Back to the top