From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Schwierzeck Date: Wed, 29 Oct 2014 19:04:41 +0100 Subject: [U-Boot] Buildman cookbook In-Reply-To: References: <20141027090411.0CFA2382FFB@gemini.denx.de> Message-ID: <54512C39.3040603@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Simon, >> >> - I work a lot with local branches, and regularly run into this: >> >> -> tools/buildman/buildman -n -b tq-generic-board >> No section: 'make-flags' >> Branch 'tq-generic-board' not found or has no upstream >> >> Can we not avoid this? Or add a default to "master"? > > I think we might be able to have a default. How did you create the > local branch? I normally use: > > git checkout -b my-branch upstream/master > > and it does the right thing. > >> >> The README recommends to use "git branch --set-upstream ...", but >> actually I don't want to do that - it is simply not needed. >> Furthermore, git complains; >> >> -> git branch --set-upstream tq-generic-board master >> The --set-upstream flag is deprecated and will be removed. Consider using --track or --set-upstream-to >> Branch tq-generic-board set up to track local branch master. > > Yes I notice that in recent versions. We probably need another round > of tweaks although I mostly have my hands full for a few weeks. > it would be nice if one can specify branch ranges. For example: tools/buildman/buildman -b master..my_feature tools/buildman/buildman -b origin/master..master -- - Daniel