From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Andrew Blackburn <andyblac@icloud.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: how do i auto increase a package PR on every build.
Date: Sun, 26 Jan 2014 12:31:31 +0000 [thread overview]
Message-ID: <1390739491.17424.223.camel@ted> (raw)
In-Reply-To: <5DF1C6C6-FAB2-4BAE-ACE6-9F1DFDA43BDD@icloud.com>
On Sun, 2014-01-26 at 11:40 +0000, Andrew Blackburn wrote:
> hi guys,
>
> i hoping someone can help me on this, i am wanting to have a build
> number for my project, atm i am manually increase the PR from the main
> bb, but this mean i have update the GIT on each build, and is this
> flooded with unnecessary commits. this they away i can get it to auto
> increase the PR on each and every build ?, i would also need to tell
> it a start point from what to increase.
>
>
> hope someone can help.
Have a look at the PR server code. That currently increases the PR
number when the hash of the task changes.
You could therefore either:
a) hack the PR server to always increase the PR of your recipe
b) add a dependency on the DATETIME variable in your recipe's do_package
task so the hash always changes.
Cheers,
Richard
prev parent reply other threads:[~2014-01-26 12:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-26 11:40 how do i auto increase a package PR on every build Andrew Blackburn
2014-01-26 12:31 ` Richard Purdie [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1390739491.17424.223.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=andyblac@icloud.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox