diff --git a/docs/git.md b/docs/git.md index 19772da..d43d6b9 100644 --- a/docs/git.md +++ b/docs/git.md @@ -86,7 +86,7 @@ Let's create a new c7-sig-core branch (still based on the assumption that I want git checkout -b c7-sig-core ``` -You can now create your SPECS/.spec and add also other text patches under SOURCES/ We still need also to point to /sources/ for the lookaside cache, so we'll use the value of the hash returned when we successfully uploaded to lookaside cache and we'll write a ..metadata file in the root dir that will look like this in our example: +You can now create your SPECS/.spec and add also other text patches under SOURCES/ We still need also to point to /sources/ for the lookaside cache, so we'll use the value of the hash returned when we successfully uploaded to lookaside cache and we'll write a .``.metadata file in the root dir that will look like this in our example: ``` d6616b89617914a0dd0fd5cfa06b0afc7a4541c4 SOURCES/centpkg-minimal.tar.gz @@ -122,3 +122,6 @@ git push origin c7-sig-core # to create the c7-sig-core branch on git.centos.org Now that we have our sources pushed to both git.centos.org and lookaside cache, we can now proceed with a build in cbs/koji + +!!! note + It's worth knowing that the documented process and structure is the default one, aka `rpmbuild style` layout for how your files/sources should be declared in your git repository/branch. But since 2022-02-21, the `flat layout` (as used also on [Fedora](https://src.fedoraproject.org) dist-git server) can also be used on git.centos.org. You still need to push tarballs to lookaside but you can use the flat layout when importing from Fedora/Epel, and it's purely an opt-in choice, and so not the default one that SIGs are using for years now