Message ID | CAJ3okZ3Nu2tTB7oFT6ttsfznfEgz9-aSRArgy=Erg9F5E-LqDw@mail.gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [bug#38455] doc: Mention how to test against make / guix pull breakage. | expand |
I'm actually not sure about one thing: Does `guix pull` catch the errors of `make`? I believe that make can output useful warnings, which maybe not bother `guix pull`, but maybe I'm wrong.
On Mon, 2 Dec 2019 at 13:16, Pierre Neidhardt <mail@ambrevar.xyz> wrote: > > I'm actually not sure about one thing: Does `guix pull` catch the errors > of `make`? What is the point of this advice? Check if "guix pull" is broken, right? I think "guix pull -n --url=foo" does the job, isn't it? > I believe that make can output useful warnings, which maybe not bother > `guix pull`, but maybe I'm wrong. This is another tips? Reading all the points, I feel that another point about checking the "make" warnings and/or running the test suite should be added. A good indication is that there is no link to "Running the Test Suite". What do you think?
zimoun <zimon.toutoune@gmail.com> writes: > On Mon, 2 Dec 2019 at 13:16, Pierre Neidhardt <mail@ambrevar.xyz> wrote: >> >> I'm actually not sure about one thing: Does `guix pull` catch the errors >> of `make`? > > What is the point of this advice? Check if "guix pull" is broken, > right? I think "guix pull -n --url=foo" does the job, isn't it? > >> I believe that make can output useful warnings, which maybe not bother >> `guix pull`, but maybe I'm wrong. > > This is another tips? Reading all the points, I feel that another > point about checking the "make" warnings and/or running the test suite > should be added. Why not. > A good indication is that there is no link to > "Running the Test Suite". > > What do you think? CC-ing guix-devel.
I do not find any test about "guix pull" in the test suite. I was expecting e.g., "guix-pull.sh" or "pull.scm". Do I misread something?
On Mon, 2 Dec 2019 at 13:46, Pierre Neidhardt <mail@ambrevar.xyz> wrote:
> CC-ing guix-devel.
If guix-devel is CC-ed, then let talk about the tests of "guix pull"
in the test suite. :-)
I do not find any test about "guix pull" in the test suite. I was
expecting e.g., "guix-pull.sh" or "pull.scm". Do I misread something?
diff --git a/doc/contributing.texi b/doc/contributing.texi index ee72b2f94d..8001b0aef1 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -961,6 +961,15 @@ often better to clone the repository. Don't use the @command{name} field in the URL: it is not very useful and if the name changes, the URL will probably be wrong. +@item +Make sure your changes do not break @command{guix pull}: + +@example +guix pull --dry-run --url=/path/to/your/checkout +@end example + +(see @pxref{Invoking guix pull}). + @end enumerate