Re: [OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-12-04 Thread GitLab Bridge on behalf of Bastien Nocera
From: Bastien Nocera on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/issues/35#note_460549580

> Ok. Should be resolved with a documentation update
[diffs](https://gitlab.com/cki-project/kernel-
ark/-/merge_requests/772/diffs). Does executing "git branch master
--track upstream/master" resolve the issue for you?

It would create a `master` branch locally, but is that the right branch
to get a commit ID that shows which upstream commit this kernel build is
based on, rather than the commit ID of the last upstream branch merge on
the current branch?
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org


Re: [OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-12-02 Thread GitLab Bridge on behalf of Don Zickus
From: Don Zickus on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/issues/35#note_459195031

Ok. Should be resolved with a documentation update
[diffs](https://gitlab.com/cki-project/kernel-
ark/-/merge_requests/772/diffs).  Does executing "git branch master
--track upstream/master" resolve the issue for you?
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org


Re: [OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-12-01 Thread GitLab Bridge on behalf of Bastien Nocera
From: Bastien Nocera on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/issues/35#note_458286006

No, it still fails trying to reference a master branch that might not
exist, as mentioned in:
https://gitlab.com/cki-project/kernel-ark/-/issues/32#note_458163750
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org


Re: [OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-12-01 Thread GitLab Bridge on behalf of Bastien Nocera
From: Bastien Nocera on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/issues/33#note_458175202

> Does that address your concern?

Should do once the docs are updated.
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org


Re: [OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-12-01 Thread GitLab Bridge on behalf of Bastien Nocera
From: Bastien Nocera on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/issues/32#note_458163750

After checking out a fork of `kernel-ark`, I'd get warnings about the
`master` branch not existing:
```sh
$ make dist-srpm
make -C redhat dist-srpm
make[1]: Entering directory '/home/hadess/Projects/kernel/kernel-
ark/redhat'
fatal: Not a valid object name master
BUILDID is ".test".
cd /home/hadess/Projects/kernel/kernel-ark/redhat/configs; rm -f
kernel-*.config \
kernel-*.config.orig \
kernel-*.config.tmp
Gathering new log entries since 52c12966bf0ed365f95a3c3e6191a479d83d9d46
fatal: bad revision '^master'
Creating linux-20201201git4b68483108eb.tar.xz...
MARKER is 4b68483108eb
fatal: ambiguous argument 'master..': unknown revision or path not in
the working tree.
Use '--' to separate paths from revisions, like this:
'git  [...] -- [...]'
...
```
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org


Re: [OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-11-24 Thread Don Zickus
On Tue, Nov 24, 2020 at 09:37:57PM -, GitLab Bridge on behalf of Don Zickus 
wrote:
> From: Don Zickus on gitlab.com
> https://gitlab.com/cki-project/kernel-ark/-/issues/35#note_453840783
> 
> Should be resolved now with the new spec file changes introduced last
> month.

Sorry email bridge bug.  A reply to 'issues' is attached to the last MR.

Cheers,
Don

> ___
> kernel mailing list -- kernel@lists.fedoraproject.org
> To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org


Re: [OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-11-24 Thread GitLab Bridge on behalf of Don Zickus
From: Don Zickus on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/issues/32#note_453843747

That is stale document data.  Your clone should set you up at os-build
(default branch) and everything should just work as expected.  The
'master' branch just follows upstream but is merged nightly into os-
build.

If you run the 'git clone' command or just run 'git fetch origin' and
then git checkout os-build.  You should be able to run 'make dist-srpm'
and build the srpm to pass to koji.

Does that work?
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org


Re: [OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-11-24 Thread GitLab Bridge on behalf of Don Zickus
From: Don Zickus on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/issues/33#note_453842283

Hmm, not sure why the new docs have not been updated on that page.  We
now recommend everyone start on 'os-build' and apply changes there.

Does that address your concern?
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org


Re: [OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-11-24 Thread GitLab Bridge on behalf of Don Zickus
From: Don Zickus on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/issues/35#note_453840783

Should be resolved now with the new spec file changes introduced last
month.
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org


Re: [OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-11-24 Thread Don Zickus
On Tue, Nov 24, 2020 at 07:03:42PM -, GitLab Bridge on behalf of bcrocker 
wrote:
> From: bcrocker on gitlab.com
> 
> Add a GIT macro to Makefile:
> 
> GIT ?= git
> 
> and replace literal occurrences of 'git' with $(GIT)\
> in Makefile and Makefile.common.
> 
> This change enables us to override 'git' with, e.g., some\
> arbitrary shell script that prints additional information\
> and/or does additional processing before and/or after (or\
> even instead of) invoking /usr/bin/git.

Acked-by: Don Zickus 

> 
> Signed-off-by: Ben Crocker 
> ___
> kernel mailing list -- kernel@lists.fedoraproject.org
> To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org


Re: [OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-11-24 Thread Herton R. Krzesinski
On Tue, Nov 24, 2020 at 07:03:42PM -, GitLab Bridge on behalf of bcrocker 
wrote:
> From: bcrocker on gitlab.com
> 
> Add a GIT macro to Makefile:
> 
> GIT ?= git
> 
> and replace literal occurrences of 'git' with $(GIT)\
> in Makefile and Makefile.common.
> 
> This change enables us to override 'git' with, e.g., some\
> arbitrary shell script that prints additional information\
> and/or does additional processing before and/or after (or\
> even instead of) invoking /usr/bin/git.
> 
> Signed-off-by: Ben Crocker 

Acked-by: Herton R. Krzesinski 

-- 
[]'s
Herton
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org


Re: [OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-11-24 Thread GitLab Bridge on behalf of Ben Crocker
From: Ben Crocker on gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/670#note_453766707

Rebased as suggested; fixed inadvertently-dropped '@'
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org


[OS-BUILD PATCHv18 0/4] [redhat] Add GIT macro to Makefile and Makefile.common:

2020-11-24 Thread GitLab Bridge on behalf of bcrocker
From: bcrocker on gitlab.com

Add a GIT macro to Makefile:

GIT ?= git

and replace literal occurrences of 'git' with $(GIT)\
in Makefile and Makefile.common.

This change enables us to override 'git' with, e.g., some\
arbitrary shell script that prints additional information\
and/or does additional processing before and/or after (or\
even instead of) invoking /usr/bin/git.

Signed-off-by: Ben Crocker 
___
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org