[
https://issues.apache.org/jira/browse/CAMEL-10775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoran Regvart updated CAMEL-10775:
----------------------------------
Attachment: component-versions.gawk
Yeah, I forgot to mention that gawk script is a quick hack, didn't I? Sorry
about that, try this version, and run it with:
{code}
$ git log -p pom.xml|tac|gawk -f component-versions.gawk
{code}
_Might_ be ok...
> 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
> Assignee: Claus Ibsen
> Fix For: 2.19.0
>
> Attachments: component-versions.gawk, 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)