On 6/1/16 7:54 AM, Oleksandr Poznyak wrote:
> Hi,
> 
> I believe that it would be great to have a special variable that triggers
> changelog creation for the specific recipe.

I've had some requests from customers to automatically generate changelogs for
both recipes and packages.  I've not yet began investigating HOW to do this, but
it should be possible to automate at least some of the work, as long as the
layers are stored in git repositories.

(Package changelogs are much harder, as a change to another package might be
what triggered the rebuild, and I don't think that information is available to
the secondary [triggered] build.)

--Mark

> For example:
> 
> PN = "my_recipe"
> 
> SRC_URI = "git://${SOME_GIT_REPO};protocol=ssh"
> SRCREV = "${AUTOREV}"
> PV = "1+git${SRCPV}"
> 
> CHANGELOG = "1"
> 
> This should produce ${DEPLOY_DIR}/changelog file and add there changes in 
> repos
> of specific recipes in a simple form:
> 
> For example:
> 
> my_recipe:
>     #5410 Add some features to my_recipe
>     Signed-off-by: Oleksandr Poznyak <oleksandr.pozn...@gmail.com
> <mailto:oleksandr.pozn...@gmail.com>>
>     Oleksandr Poznyak
> 
> This will make inergration of Yocto into any CI tool (Jenkins for ex.) much 
> easier.
> 
> Thanks,
> Oleksandr Poznyak!
> 
> 
> 

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to