Skip to content

Mozilla JSS

Endi S. Dewata edited this page Dec 4, 2022 · 1 revision

Overview

Note
As of April 6, 2018, JSS has been migrated from Mercurial on Mozilla to Git on Github.

Legacy JSS information can still be found at:

Prerequisites

$ dnf install mercurial git-remote-hg

Getting Source Code

To get JSS source repository using Mercurial:

$ hg clone https://hg.mozilla.org/projects/jss jss

If the source repository is already available, it can be updated with the following commands:

$ hg pull
$ hg update

To get JSS source repository using Git:

$ git clone hg::https://hg.mozilla.org/projects/jss jss

If the source repository is already available, it can be updated with the following command:

$ git pull

Applying a Patch

$ hg import <patch>
$ hg push ssh://hg.mozilla.org/projects/jss

Creating Source Tarball

If the JSS source repository was cloned using Mercurial, execute the following:

$ hg archive --prefix jss-4.4.3/jss/ jss-4.4.3.tar.gz

If the JSS source repository was cloned using Git, execute the following:

$ git archive --format=tar.gz --prefix jss-4.4.3/jss/ -o jss-4.4.3.tar.gz -v HEAD

See Also