Openembedded Core Discussions
 help / color / mirror / Atom feed
* how do i auto increase a package PR on every build.
@ 2014-01-26 11:40 Andrew Blackburn
  2014-01-26 12:31 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Blackburn @ 2014-01-26 11:40 UTC (permalink / raw)
  To: openembedded-core

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.


Andy.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: how do i auto increase a package PR on every build.
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2014-01-26 12:31 UTC (permalink / raw)
  To: Andrew Blackburn; +Cc: openembedded-core

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-26 12:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox