mirror of
https://github.com/foo-dogsquared/wiki.git
synced 2025-01-31 07:57:57 +00:00
1 line
12 KiB
JSON
1 line
12 KiB
JSON
|
{"pageProps":{"metadata":{"date":"\"2021-04-21 01:46:02 +08:00\"","date_modified":"\"2021-05-04 20:51:25 +08:00\"","language":"en","source":""},"title":"Guix package contribution workflow","hast":{"type":"root","children":[{"type":"element","tagName":"nav","properties":{"className":"toc"},"children":[{"type":"element","tagName":"ol","properties":{"className":"toc-level toc-level-1"},"children":[{"type":"element","tagName":"li","data":{"hookArgs":[{"type":"element","tagName":"h1","properties":{"id":"getting-started"},"children":[{"type":"text","value":"Getting started"}]}]},"properties":{"className":"toc-item toc-item-h1"},"children":[{"type":"element","tagName":"a","properties":{"className":"toc-link toc-link-h1","href":"/tools.guix.contribution-workflow#getting-started"},"children":[{"type":"text","value":"Getting started"}]}]},{"type":"element","tagName":"li","data":{"hookArgs":[{"type":"element","tagName":"h1","properties":{"id":"adding-or-updating-a-package"},"children":[{"type":"text","value":"Adding or updating a package"}]}]},"properties":{"className":"toc-item toc-item-h1"},"children":[{"type":"element","tagName":"a","properties":{"className":"toc-link toc-link-h1","href":"/tools.guix.contribution-workflow#adding-or-updating-a-package"},"children":[{"type":"text","value":"Adding or updating a package"}]}]},{"type":"element","tagName":"li","data":{"hookArgs":[{"type":"element","tagName":"h1","properties":{"id":"testing-your-package"},"children":[{"type":"text","value":"Testing your package"}]}]},"properties":{"className":"toc-item toc-item-h1"},"children":[{"type":"element","tagName":"a","properties":{"className":"toc-link toc-link-h1","href":"/tools.guix.contribution-workflow#testing-your-package"},"children":[{"type":"text","value":"Testing your package"}]}]},{"type":"element","tagName":"li","data":{"hookArgs":[{"type":"element","tagName":"h1","properties":{"id":"creating-a-patch"},"children":[{"type":"text","value":"Creating a patch"}]}]},"properties":{"className":"toc-item toc-item-h1"},"children":[{"type":"element","tagName":"a","properties":{"className":"toc-link toc-link-h1","href":"/tools.guix.contribution-workflow#creating-a-patch"},"children":[{"type":"text","value":"Creating a patch"}]}]}]}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"element","tagName":"a","properties":{"href":"roam:GNU Guix"},"children":[{"type":"text","value":"GNU Guix"}]},{"type":"text","value":", like most GNU projects, are mainly done in collaboration through email.\nHere's the very basics of what you should do when getting the groove into contributing to the project.\n"}]},{"type":"element","tagName":"h1","properties":{"id":"getting-started"},"children":[{"type":"text","value":"Getting started"}]},{"type":"element","tagName":"ul","properties":{},"children":[{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Basically, you have to create the build environment for the Guix source code.\n You may want to always keep the "},{"type":"element","tagName":"a","properties":{"href":"https://guix.gnu.org/en/manual/"},"children":[{"type":"text","value":"GNU Guix manual"}]},{"type":"text","value":" on the side.\n TL;DR: get the source, "},{"type":"element","tagName":"code","properties":{"className":["inline-code"]},"children":[{"type":"text","value":"./bootstrap"}]},{"type":"text","value":", "},{"type":"element","tagName":"code","properties":{"className":["inline-code"]},"children":[{"type":"text","value":"./configure --localstatedir=/var"}]},{"type":"text","value":", "},{"type":"element","tagName":"code","properties":{"className":["inline-code"]},"children":[{"type":"text","value":"make check"}]},{"type":"text","value":", and you're mostly done!\n"}]}]},{"type":"element","tagName":"li","properties":{},"children":[{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"GNU projects have a "},{"type":"element","tagName":"a","properties":{"href":"https://debbugs.gnu.org/"},"children":[{"type":"te
|