[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Add TRACKING.IMPORTS to xen.git to more easily manage imported files that need to be kept in sync with an upstream
>>> On 16.05.19 at 00:18, <lars.kurth@xxxxxxxxxx> wrote: > --- /dev/null > +++ b/TRACKING.IMPORTS > @@ -0,0 +1,40 @@ > +# This file contains information about source files that have been > +# copied from other sources and need to be tracked > +# > +# The file may contain lines starting with ... > +# -------------------------------------------- > +# version: of file format > +# repo: repository definition > +# auto|manual: a mapping to track files > +# > +# Repository Definitions are of the following format > +# -------------------------------------------------- > +# repo name-of-source-repo git|svn https-url-of-source-repo > +# > +# For example: > +# repo linux-torvalds git > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > +# > +# Mappings to track files are of the following format > +# --------------------------------------------------- > +# manual|auto xen-file name-of-original-repo original-file commit-id > +# > +# auto: > +# The xen-file needs to track the the original-file exactly > +# In other words, we can automatically update the file using a script Do we have _any_ example of this? I can't even imagine one, due to e.g. our includes all starting with xen/ whereas Linux'es (just to take as example) all start with linux/. Perhaps "auto" needs to include sed expressions that need to be applied before actually applying the original change to our tree? > +# manual: > +# A developer needs to make a decision whether a > +# specific change is applied or ignored and update the last commit id > +# accordingly > +# > +# name-of-original-repo: > +# A reference to a source repository defined by *repo* keyword > +# > +# commit id: > +# Last commit id of source file that was deemed to be ok > +# and either imported into the tree or rejected > +# > +# For example: > +# manual xen/drivers/passthrough/arm/smmu.c linux-torvalds > linux/drivers/iommu/arm-smmu.c b77cf11f094136 > + > +version 1 Perhaps it wouldn't hurt to include the colons in the actual entries as well? I also don't think examples are needed once we get the first real entries. Hence I'd move them to the commit message or a post-commit message remark. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |