Age | Commit message (Collapse) | Author |
|
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Since the v4l2-spec and dvb-spec directories exist, make v4l2-spec will
do nothing. Adding a simple .PHONY rule doesn't help either, since
.PHONY doesn't work with wildcard rules. So we have to add a specific
rule for these two targets to the top-level Makefile.
I thought of changing the target names, but v4l2-spec and dvb-spec are
just too obvious a choice to change.
Priority: normal
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
This patch allows a better support for third party patches. Now, it will
properly recognize and proccess messages with the following format:
Date: <some date>
From: <some developer>
Subject: <patch subject>
<body>
This will help to better proccess messages received via email.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
This patch improves message description sanity rules:
- mailimport now prefers to edit using editdiff. This helps to fix
trivial CodingStyle errors at receive patches;
- hghead.pl will now remove blank whitespaces if no body exists;
- "make commit" will now run hghead.pl. This will do some sanity checks
at commit messages:
*) Will warrant that "from:" metatag exists, avoiding to have patches without
proper authorship id at someone's else tree;
*) Will order the tags at the expected way (subject, from, body, signatures);
*) Will warrant that one and just one blank line exists between each of the four
parts of the commit message.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Files changed in an mq patch weren't being checked.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Original patch from Trent Piepho <xyzzy@speakeasy.org>. Its description:
Fix Kconfig dependency problems wrt boolean menuconfigs
If one has a dependency chain (tristate)FOO depends on (bool)BAR depends on
(tristate)BAZ, build problems will result. If BAZ=m, then BAR can be set
y, which allows FOO=y. It's possible to have FOO=y && BAZ=m, which
wouldn't be allowed if FOO depended directly on BAZ. In effect, the bool
promotes the tristate from m to y.
This ends up causing a problem with several menuconfigs that look like:
menuconfig BAR
bool
depends on BAZ [tristate]
if BAR
config FOO
tristate
endif
The solution used here is to add the dependencies of BAR to the if
statement, so that items in the if block will gain a direct
non-bool-promoted dependency on BAZ. This is how it would work if a menu
was used instead of an if block.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
make commit:
- It will now detect that the commit message were not changing,
aborting commit. This avoids the need of doing a
rollback every time you decide not commiting yet;
- hg undo command is absent on newer versions of Mercurial.
makefile changed to print, instead "hg rollback";
- removed uneeded messages printed on "make commit".
make whitespace:
- added an alias for make "whitespaces" to work. Since the log
message presents "Cleaning bad whitespaces", a common typo mistake were
using the parameter in plural.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
Adds a qrefresh target to the top-level Makefile. It's like commit, but
for use with the Hg mq extension. It will execute hg qrefresh, so you
should have a current mq patch created with hg qnew already!
It will run the whitespace and cardlist scripts. If you do not have a
commit message from the current mq patch, it will create a default one,
as make commit does. If one already exists, then it will put a comment
at the beginning of the existing message with the current diffstat and a
note of any changes the whitespace script made. The diffstat is done
with qdiff, which will show the total diffstat of the patch instead of
just the diffstat of from the last version of the patch to the current
version.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
If you specify a push directory on .hg/hgrc as default-push, this will
be used to push patches to the repository. The old behaviour were an heritage
from the first hg approach, where all people were pushing at just one master.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
When the make commit checks for whitespace errors, it will save a copy of
the changes it makes to $(TMP)/v4l_hg_whitespace. The prep_commit_msg.pl
script will look for this file and include a note in the prepared commit
message with diffstat output.
The changes that scripts/cardlist might make are not included, but that
can be added later.
The prep_commit_msg.pl script is effectively totally re-written. This one
will try some extra stuff to some up with the user's e-mail, such as
looking in the ~/.hgrc file.
The Makefile is changed so that temporary files created by make commit
and make whitespace will honor the $TMP environment variable, if set.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Trent Piepho <xyzzy@speakeasy.org>
Faster script that doesn't use any temporary files. The old one
would also miss cleaning four spaces in a row in places where
it would clean one to eight spaces. Has two options:
fast
Only clean whitespace in files Hg thinks are modified or added. Used by
make whitespace and much (about 100x) faster.
manifest
Clean all files controlled by Hg, using "hg manifest"
The default with no options is the old behaviour, clean all files under
the linux directory, except CVS files.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Ricardo Cerqueira <v4l@cerqueira.org>
If I want to push a changeset to my own repo with "make push", I just
have to define the $REPO_PUSH env var.
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
This helps to avoid mistakes at commit messages
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
Before, to use make commit, some env vars were required. Now, just using
HGUSER=Mauro Carvalho Chehab <mchehab@infradead.org>
is enough to gererate an useful log.
Readme updated to this new condition. Also added a warning about keeping
the first line in blank.
Readme visual improved.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
- This patch removes ChangeLog file. with Mercurial, it can
be generated any time by running hg logs -v.
- Makefile and prep_commit_msg.pl updated to work without ChangeLog.
- Removed/Adapted instructions on README.HG about ChangeLog.
- prepare-Changelog.pl changed to just report one line. This might help
people to identify functions that were changed by a patchset.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Hans Verkuil <hverkuil@xs4all.nl>
Use the login name with the ssh URL. This allows you to use
make push, even if your local username differs from the repo
username.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
pull -u allows retriving info from master database and also update
local files.
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
This allows commiting at local tree first
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
From: Mauro Carvalho Chehab <mchehab@infradead.org>
cvs commands replaced to hg
created a new script to help commiting
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
|
|
- Show Changelog entries relative to top-level cvs directory,
rather than v4l/ directory.
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|
|
- Whitespace script improved.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
- Updated script to function in new tree layout.
Must be called from top-level.
* ../Makefile:
- Automatically strip trailing whitespaces before
creating Changelog entry.
|
|
* ../Makefile:
- make changelog now rebuilds cardlist
* ../v4l/scripts/buildpatch:
- Updated to work against ../linux
* ../v4l/scripts/cardlist:
- fixed to work even without symlinks
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
* ../Make
- created make changelog to make easier to generate patches.
* ../linux/drivers/media/video/cx88/cx88-core.c:
* ../linux/drivers/media/video/cx88/cx88.h:
* ../linux/kernel/drivers/usb/media/em2820-core.c:
* ../linux/kernel/drivers/usb/media/em2820-i2c.c:
* ../linux/kernel/drivers/usb/media/em2820-video.c:
* ../linux/kernel/drivers/usb/media/em2820.h:
- removed unneccessary includes.
* ../v4l/scripts/prepare-ChangeLog.pl:
- Modified to avoid detecting ChangeLog as a change.
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
|
|
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
|