[ 
https://issues.apache.org/jira/browse/CAMEL-10775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15848185#comment-15848185
 ] 

Zoran Regvart edited comment on CAMEL-10775 at 2/1/17 9:53 AM:
---------------------------------------------------------------

GNU Awk script to fetch version information from git log with patch 
information, run with:
{code}
$ git log -p pom.xml|gawk -f component-versions.gawk
{code}
from {{components}} directory


was (Author: zregvart):
GNU Awk script to fetch version information from git log with patch 
information, run with:
{code:shell}
$ git log -p pom.xml|gawk -f component-versions.gawk
{code}
from {{components}} directory

> Add information to components which version they were added to Camel
> --------------------------------------------------------------------
>
>                 Key: CAMEL-10775
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10775
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-catalog
>            Reporter: Claus Ibsen
>             Fix For: 2.19.0
>
>         Attachments: component-versions.gawk
>
>
> It would be good if we can get information when a component was added to 
> Apache Camel. So users can see if its a new component or old etc.
> We could maybe hack a script that iterates all the components and then find 
> out via git log / branch or what it takes to see when it was in the git repo 
> and from that branch / tag find the version number.
> We could then add those versions manually to @Metadata or something on the 
> @UriEndpoint so we can get that information in the component json schema and 
> as well at runtime.
> We basically need just a one-off to get this information for now, and then in 
> the future we can add the version manually when we add new components.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to