Recent Changes - Search:

Learn More

Support

Contribute

Development Status

Languages:   English   Japanese   Magyar   Español   Francaise   Deutsch   Русский

Web /

How to use Git

Web.HowToUseGIT History

Hide minor edits - Show changes to output

Changed lines 33-35 from:
This will make a directory @@lyx@@ and download lots of files into that directory. (A fresh copy will need about 300MB. However, you will need a lot more space for the compiled version -- up to 1 GB).

You can switch to maintenance branch via @@git checkout 2.0.x@@ inside the @@lyx@@ directory.
to:
This will make a directory @@lyx@@ and download lots of files into that directory. (A fresh copy will need about 400MB. However, you will need a lot more space for the compiled version -- up to 2 GB).

You can switch to maintenance branch via @@git checkout 2.3.x@@ inside the @@lyx@@ directory.
Changed lines 98-99 from:
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=2.3.x | branch 2.3.x]] ||Kostyshak||RG Heck ||stable ||Stable 2.1 series branch ||
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=2.2.x | branch 2.2.x]] ||Kostyshak||RG Heck ||stable ||Stable 2.1 series branch ||
to:
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=2.3.x | branch 2.3.x]] ||S Kostyshak||RG Heck ||stable ||Stable 2.3 series branch ||
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=2.2.x | branch 2.2.x]] ||S Kostyshak||RG Heck ||stable ||Stable 2.2 series branch ||
Added lines 98-99:
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=2.3.x | branch 2.3.x]] ||Kostyshak||RG Heck ||stable ||Stable 2.1 series branch ||
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=2.2.x | branch 2.2.x]] ||Kostyshak||RG Heck ||stable ||Stable 2.1 series branch ||
Changed line 90 from:
git checkout 2.0.x
to:
git checkout 2.3.x
Changed line 17 from:
: [[http://www.lyx.org/trac/browser/lyxgit | lyxgit]]: This repository hosts the LyX source code. The development of the forthcoming major release takes place in ''master'' branch and the minor (maintenance) releases are prepared in branches like ''2.0.2''. The forthcoming stable version resides in the most recent branch ''2.0.x''. According to old habits we sometimes call master branch ''trunk'' and maintenance branch simply as ''branch''.
to:
: [[http://www.lyx.org/trac/browser/lyxgit | lyxgit]]: This repository hosts the LyX source code. The development of the forthcoming major release takes place in ''master'' branch and the minor (maintenance) releases are prepared in branches like ''2.0.2''. The forthcoming stable version resides in the most recent branch ''2.0.x''. According to old habits we sometimes call master branch ''trunk'' and maintenance branch simply as ''branch''.\\
Changed line 97 from:
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=master | master (trunk)]] ||VF Ravesteijn|| ||unstable ||Master Branch ||
to:
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=master | master (trunk)]] ||S Kostyshak|| ||unstable ||Master Branch ||
May 04, 2015, at 04:35 PM by JMarc - Explain how to create a proper commit.
Added lines 71-78:

Even better, you can send a proper commit, ready to be applied to the developers' source tree:

* Get the latest version of the source with @@git pull@@. A patch to old sources will be much harder to apply, and is therefore more likely to be ignored.
* Change the files.
* Run @@git commit -a@@ to create a commit. Note that this will launch an editor where you can describe what your change does.
* Run @@git format-patch -1@@, which creates a file @@0001-title-of-your-patch.patch@@ in the current directory.
* send it to the [[(mailto:)lyx-devel@lists.lyx.org | LyX developers' mailing list]].
May 01, 2014, at 11:37 AM by 131.130.35.230 -
Added line 90:
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=2.1.x | branch 2.1.x]] ||VF Ravesteijn||RG Heck ||stable ||Stable 2.1 series branch ||
August 29, 2013, at 10:29 AM by Hartmut Haase - wording
Changed line 17 from:
: [[http://www.lyx.org/trac/browser/lyxgit | lyxgit]]: This repository hosts the LyX source code. The development of the forthcoming major release takes place in ''master'' branch and the minor (maintenance) releases are prepared in branches like ''2.0.2''. The forthcoming stable version resides in the most recent branch ''2.0.x''. Due to the old habits we sometimes call master branch ''trunk'' and maintenance branch simply as ''branch''.
to:
: [[http://www.lyx.org/trac/browser/lyxgit | lyxgit]]: This repository hosts the LyX source code. The development of the forthcoming major release takes place in ''master'' branch and the minor (maintenance) releases are prepared in branches like ''2.0.2''. The forthcoming stable version resides in the most recent branch ''2.0.x''. According to old habits we sometimes call master branch ''trunk'' and maintenance branch simply as ''branch''.
November 01, 2012, at 03:11 PM by ps - not correct
Changed line 18 from:
You must use the "Visit" pull-down menu to select the branch that you wish to browse. The link above points to 2.0.x branch by default.
to:
You must use the "Visit" pull-down menu to select the branch that you wish to browse.
Changed lines 53-55 from:
Just follow the directions in @@INSTALL@@, as if you had downloaded a tar file. For the stable branch, this is pretty much just @@./autogen.sh@@, @@./configure@@, @@make@@, and @@sudo make install@@.

If you want to compile and run in the development mode
, things are somewhat more complicated than for the release module. You're going to need @@automake@@, @@autoconf@@, and @@gettext@@, which can be downloaded from your favorite GNU ftp site. (Start at [[http://www.gnu.org | gnu.org]] to find a mirror.) Once you've installed all of that stuff, just run the @@autogen.sh@@ script, which will do things in the right order, and then tell you to run @@configure@@ and @@make@@.
to:
If you want to compile and run the development version, things are somewhat more complicated than for the downloaded tarballs, because you will need additional packages like @@automake@@, @@autoconf@@ and @@gettext@@.

In Linux just follow the directions in
@@INSTALL@@ (this is pretty much like the usual @@./autogen.sh@@, @@./configure@@, @@make@@, and @@ make install@@).

Alternatively consult INSTALL.Win32/MacOSX instructions
.
October 23, 2012, at 10:17 PM by jpc - Add a hint about the way to browse branches in the lyxgit repo
Added line 18:
You must use the "Visit" pull-down menu to select the branch that you wish to browse. The link above points to 2.0.x branch by default.
July 05, 2012, at 02:10 AM by ps - add to translation pages
Added line 2:
(:page_type:web:)
Changed line 76 from:
The main development in LyX is done in Git branches. If you are interested in helping develop or test work on these branches, you can check out a copy with a command like:
to:
The main development in LyX is done in Git branches. If you are interested in helping with development or test work on these branches, you can check out a copy with a command like:
Changed line 72 from:
The non-wiki content of the LyX Home Page (e.g. the news and the announcements) and dictionaries/thesauri is still under [[HowToUseSVN | Subversion]].
to:
The non-wiki content of the LyX Home Page (e.g. the news and the announcements) and dictionaries/thesauri is still under [[HowToUseSVN | Subversion]] tracking.
Changed line 65 from:
* Run @@git diff > mypatch.diff@@ to create a patch
to:
* Run @@git diff > mypatch.diff@@ to create a patch.
Changed line 64 from:
* Change the files. (Either edit in place or copy them to somewhere else, edit them, and then copy them back to wherever you keep the SVN tree.)
to:
* Change the files.
Changed line 31 from:
This will make a directory @@lyx@@ and download lots of files into that directory. (A fresh copy will need about 300MB. However, depending on which frontends you are compiling, you will need a lot more space for the compiled version, up to 1 GB).
to:
This will make a directory @@lyx@@ and download lots of files into that directory. (A fresh copy will need about 300MB. However, you will need a lot more space for the compiled version -- up to 1 GB).
Changed line 21 from:
Using Git, you can download a whole repository with just one command. If you want to look at just one SVN file, consider using Trac source browser. [[http://trac.edgewall.com/ | Trac]] is a tool that allows, among other things, for browsing an Git repository and gives the possibility to browse diffs between arbitrary versions as well as reading log files and the like.
to:
Using Git, you can download a whole repository with just one command. If you want to look at just one Git file, consider using Trac source browser. [[http://trac.edgewall.com/ | Trac]] is a tool that allows, among other things, for browsing an Git repository and gives the possibility to browse diffs between arbitrary versions as well as reading log files and the like.
Deleted lines 16-19:



: [[http://www.lyx.org/trac/browser/www-user | www-user]]: This repository holds some contents of our www pages (''www.lyx.org'').
Changed line 98 from:
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X | BRANCH_1_4_X]] || ||JMarc ||stable ||Stable 1.4 series||
to:
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X | BRANCH_1_4_X]] ||LGBjønnes ||JMarc ||stable ||Stable 1.4 series||
Changed line 100 from:
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH-1_2_X | BRANCH-1_2_X]] || ||JMarc ||stable ||Stable 1.2 series||
to:
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH-1_2_X | BRANCH-1_2_X]] ||LGBjønnes ||JMarc ||stable ||Stable 1.2 series||
Changed lines 89-90 from:
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=master | master (trunk)]] ||Vfr || ||unstable ||Master Branch ||
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=2.0.x | branch 2.0.x]] ||PSanda||RGHeck ||stable ||Stable 2.0 series branch ||
to:
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=master | master (trunk)]] ||VF Ravesteijn|| ||unstable ||Master Branch ||
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=2.0.x | branch 2.0.x]] ||P Sanda||RG Heck ||stable ||Stable 2.0 series branch ||
Changed lines 35-36 from:
This will make a directory @@lyx@@ and download lots of files into that directory. (A fresh copy will need about 200MB. However, depending on which frontends you are compiling, you will need a lot more space for the compiled version, up to 1 GB).
to:
This will make a directory @@lyx@@ and download lots of files into that directory. (A fresh copy will need about 300MB. However, depending on which frontends you are compiling, you will need a lot more space for the compiled version, up to 1 GB).
Changed lines 78-83 from:
!!! SVN Branches

The main development in LyX is done in SVN branches. If you are interested in helping develop or test work on these branches, you can check out a copy with a command like:

svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X lyx-2.0.x
to:
!!! Git Branches

The main development in LyX is done in Git branches. If you are interested in helping develop or test work on these branches, you can check out a copy with a command like:

git checkout 2.0.x
or
git checkout master
on already cloned repository
.
Changed lines 88-91 from:
||Branch Name ||Maintainer ||Status ||Comment ||
||[[http://www.lyx.org/trac/browser/lyx-devel/trunk | trunk]] ||PSanda ||unstable ||Main Branch ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_2_0_X | BRANCH_2_0_X]] ||RGHeck ||stable ||Stable 2.0 series branch ||
to:
||Branch Name ||Release Manager ||Maintainer ||Status ||Comment ||
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=master | master (trunk)]] ||Vfr || ||unstable ||Master Branch ||
||[[http://www.lyx.org/trac/browser/lyxgit/?rev=2.0.x | branch 2.0.x]] ||PSanda||RGHeck ||stable ||Stable 2.0 series branch ||
Changed lines 95-101 from:
||Branch Name ||Maintainer ||Status ||Comment ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_6_X | BRANCH_1_6_X]] ||JSpitzm ||stable ||Stable 1.6 series branch ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_5_X | BRANCH_1_5_X]] ||JSpitzm ||stable ||Stable 1.5 series branch ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X | BRANCH_1_4_X]] ||JMarc ||stable ||Stable 1.4 series branch ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_3_X | BRANCH_1_3_X]] ||JMarc ||stable ||Stable 1.3 series branch ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH-1_2_X | BRANCH-1_2_X]] ||JMarc ||stable ||Stable 1.2 series branch ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_1_6 | BRANCH_1_1_6]] ||JMarc ||stable ||Stabilizing of 1.1.6 ||
to:
||Branch Name ||Release Manager ||Maintainer ||Status ||Comment ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_6_X | BRANCH_1_6_X]] ||JMatos||JSpitzm ||stable ||Stable 1.6 series ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_5_X | BRANCH_1_5_X]] ||JMatos||JSpitzm ||stable ||Stable 1.5 series ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X | BRANCH_1_4_X]] || ||JMarc ||stable ||Stable 1.4 series||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_3_X | BRANCH_1_3_X]] || ||JMarc ||stable ||Stable 1.3 series||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH-1_2_X | BRANCH-1_2_X]] || ||JMarc ||stable ||Stable 1.2 series||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_1_6 | BRANCH_1_1_6]] || ||JMarc ||stable ||Stabilizing of 1.1.6 ||
Changed lines 65-67 from:
If you'd like to make changes to LyX, it will make everyone's life easier if you change the latest SVN sources rather than the latest release. Here's a quick rundown of what you would do:

* Get the latest version of the source with @@svn update@@. A patch to old sources will be much harder to apply, and is therefore more likely to be ignored.
to:
If you'd like to make changes to LyX, it will make everyone's life easier if you change the latest Git sources rather than the latest release. Here's a quick rundown of what you would do:

* Get the latest version of the source with @@git pull@@. A patch to old sources will be much harder to apply, and is therefore more likely to be ignored.
Changed line 69 from:
* Run @@svn diff > mypatch.diff@@ to create a patch
to:
* Run @@git diff > mypatch.diff@@ to create a patch
Changed lines 74-80 from:
If you find yourself creating lots of patches that the LyX team incorporates into the code, you may be granted SVN access. In that case, your life becomes even easier. Instead of the above anonymous login, you can checkout the sources with

svn co svn://svn
.lyx.org/lyx/lyx-devel/trunk lyx-devel

Then you just run a @@svn commit@@ to check changes in to the
Subversion tree, instead of creating a patch and mailing it in. In the first time you will be asked for the username and password, for the next sessions subversion will save them for your convenience (this can be disabled on demand).

The non-wiki content of the LyX Home Page (e.g. the news and the announcements) is also under Subversion. It's probably not worth downloading unless you have write access, of course. It resides in the @@www-user@@ module
.
to:
If you find yourself creating lots of patches that the LyX team incorporates into the code, you may be granted Git access. In that case, your life becomes even easier. More detailed info is in our [[http://wiki.lyx.org/Devel/Git | wiki]].

The non-wiki content of the LyX Home Page (e
.g. the news and the announcements) and dictionaries/thesauri is still under [[HowToUseSVN | Subversion]].
Changed lines 10-11 from:
For more detailed usage with LyX please have a look at our [[http://wiki.lyx.org/Devel/Git | wiki pages]].
to:
For more detailed usage with LyX (or in case you want to start work on the code) please have a look at our [[http://wiki.lyx.org/Devel/Git | wiki pages]].
Changed lines 25-30 from:
Using SVN, you can download a whole module with just one command. If you want to look at just one SVN file, consider using Trac source browser. [[http://trac.edgewall.com/ | Trac]] is a tool that allows, among other things, for browsing an SVN repository and gives the possibility to browse diffs between arbitrary versions as well as reading log files and the like.

The [[http://www.lyx.org/trac/browser/ | Trac source browser]] for the LyX SVN repository is at the LyX home page. Most probably, though, you want to download a whole module. If so, read on.

!!! Anonymous SVN login
to:
Using Git, you can download a whole repository with just one command. If you want to look at just one SVN file, consider using Trac source browser. [[http://trac.edgewall.com/ | Trac]] is a tool that allows, among other things, for browsing an Git repository and gives the possibility to browse diffs between arbitrary versions as well as reading log files and the like.

The [[http://www.lyx.org/trac/browser/ | Trac source browser]] for the LyX Git (and older SVN) repository is at the LyX home page. Most probably, though, you want to download a Git repository. If so, read on.

!!! Anonymous Git clone
Changed lines 33-38 from:
svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel

This
will make a directory @@lyx-devel@@ and download lots of files into that directory. (A fresh copy will need about 150MB. However, depending on which frontends you are compiling, you will need a lot more space for the compiled version, up to 800MB).

Of course you can say @@svn co svn://svn.lyx.org/lyx/www-user/trunk www-user@@ instead, depending on which module you'd like to download.
to:
git clone git://git.lyx.org/lyx

This
will make a directory @@lyx@@ and download lots of files into that directory. (A fresh copy will need about 200MB. However, depending on which frontends you are compiling, you will need a lot more space for the compiled version, up to 1 GB).

You can switch to maintenance branch via @@git checkout 2.0.x@@ inside the @@lyx@@ directory.
Changed lines 41-44 from:
If the code is updated, just @@cd@@ to the @@lyx-devel@@ directory and say:

svn update
to:
If the code is updated, just @@cd@@ to the @@lyx@@ directory and say:

git pull
Changed lines 49-54 from:
svn status

If you want to check what's changed on the server, but not yet updated to your local copy, do:

svn status -u
to:
git status
Changed lines 55-57 from:
Just follow the directions in @@INSTALL@@, as if you had downloaded a tar file. For the stable module, this is pretty much just @@./autogen.sh@@, @@./configure@@, @@make@@, and @@sudo make install@@.

If you want to compile and run the development module, things are somewhat more complicated than for the release module. You're going to need @@automake@@, @@autoconf@@, and @@gettext@@, which can be downloaded from your favorite GNU ftp site. (Start at [[http://www.gnu.org | gnu.org]] to find a mirror.) Once you've installed all of that stuff, just run the @@autogen.sh@@ script written by Allan Rae, which will do things in the right order, and then tell you to run @@configure@@ and @@make@@.
to:
Just follow the directions in @@INSTALL@@, as if you had downloaded a tar file. For the stable branch, this is pretty much just @@./autogen.sh@@, @@./configure@@, @@make@@, and @@sudo make install@@.

If you want to compile and run in the development mode, things are somewhat more complicated than for the release module. You're going to need @@automake@@, @@autoconf@@, and @@gettext@@, which can be downloaded from your favorite GNU ftp site. (Start at [[http://www.gnu.org | gnu.org]] to find a mirror.) Once you've installed all of that stuff, just run the @@autogen.sh@@ script, which will do things in the right order, and then tell you to run @@configure@@ and @@make@@.
Changed lines 12-17 from:
!!! Modules

There
are two active modules in the current Subversion repository:

:
[[http://www.lyx.org/trac/browser/lyx-devel | lyx-devel]]: This repository hosts the LyX source code. The development of the forthcoming major release takes place in ''trunk'' and the minor (maintenance) releases are prepared in ''branches''. The forthcoming stable version resides in the most recent ''branches/BRANCH_X_X_X'' directory.
to:
There are still few active modules which use old SVN, you can look [[HowToUseSVN | here]].

!!! LyX Git Repository

: [[http://www.lyx.org/trac/browser/lyxgit | lyxgit]]: This repository hosts the LyX source code. The development of the forthcoming major release takes place in ''master'' branch and the minor (maintenance) releases are prepared in branches like
''2.0.2''. The forthcoming stable version resides in the most recent branch ''2.0.x''. Due to the old habits we sometimes call master branch ''trunk'' and maintenance branch simply as ''branch''.
Deleted lines 21-28:

While they are not in use anymore, these ones are kept for their historical interest:

: [[http://www.lyx.org/trac/browser/lyx-tests | lyx-tests]]: This repository contains various @@.lyx@@ files that may be useful for testing purposes.
: [[http://www.lyx.org/trac/browser/lyx-1_0_x | lyx-1_0_x]]: This is the old '''stable''' release branch. No more work is being done on this branch.
: [[http://www.lyx.org/trac/browser/lyx | lyx]]: This is the '''old and unstable''' development branch, and is not in use anymore.
: [[http://www.lyx.org/trac/browser/www-devel | www-devel]]: This used to hold the developer www pages. The contents has been merged into subdirectory @@devel@@ of @@www-user@@
: [[http://www.lyx.org/trac/browser/lyxdoc | lyxdoc]]: Documentation for LyX 1.3.x is kept here (in the BRANCH_1_3_X branch) and folded in to the @@doc@@ directory before release. It is not used anymore for the main trunk, since the documentation has been moved in the @@lyx-devel@@ module.
Changed lines 1-4 from:
(:title How to use svn:)
Getting source code with Subversion

(:page_type:web:)(:description: To be added.. :)
to:
(:title How to use Git:)
Getting source code with Git
Changed lines 8-11 from:
LyX source code was moved from SVN to GIT. There are still few leftovers
Subversion (SVN) allows multiple people to work on code development at one time. You can get a lot
more information on Subversion and/or download the code from its [[http://subversion.tigris.org/ | home page]]. We strongly recommend that you read the [[http://svnbook.red-bean.com/ | documentation]] and the Subversion [[http://subversion.tigris.org/faq.html | FAQ]].

People who belong to the GIT religion please look [[http://wiki.lyx.org/Devel/Git | here
]].
to:
Git allows multiple people to work on code development at one time. You can get a lot more information on Git and/or download the code from its [[http://git-scm.com/ | home page]].

For
more detailed usage with LyX please have a look at our [[http://wiki.lyx.org/Devel/Git | wiki pages]].
May 24, 2012, at 01:22 PM by ps - import svn before changing it
Changed lines 1-114 from:
test
to:
(:title How to use svn:)
Getting source code with Subversion

(:page_type:web:)(:description: To be added.. :)
(:toc:)

!!! Introduction

LyX source code was moved from SVN to GIT. There are still few leftovers
Subversion (SVN) allows multiple people to work on code development at one time. You can get a lot more information on Subversion and/or download the code from its [[http://subversion.tigris.org/ | home page]]. We strongly recommend that you read the [[http://svnbook.red-bean.com/ | documentation]] and the Subversion [[http://subversion.tigris.org/faq.html | FAQ]].

People who belong to the GIT religion please look [[http://wiki.lyx.org/Devel/Git | here]].

!!! Modules

There are two active modules in the current Subversion repository:

: [[http://www.lyx.org/trac/browser/lyx-devel | lyx-devel]]: This repository hosts the LyX source code. The development of the forthcoming major release takes place in ''trunk'' and the minor (maintenance) releases are prepared in ''branches''. The forthcoming stable version resides in the most recent ''branches/BRANCH_X_X_X'' directory.

: [[http://www.lyx.org/trac/browser/www-user | www-user]]: This repository holds some contents of our www pages (''www.lyx.org'').


While they are not in use anymore, these ones are kept for their historical interest:

: [[http://www.lyx.org/trac/browser/lyx-tests | lyx-tests]]: This repository contains various @@.lyx@@ files that may be useful for testing purposes.
: [[http://www.lyx.org/trac/browser/lyx-1_0_x | lyx-1_0_x]]: This is the old '''stable''' release branch. No more work is being done on this branch.
: [[http://www.lyx.org/trac/browser/lyx | lyx]]: This is the '''old and unstable''' development branch, and is not in use anymore.
: [[http://www.lyx.org/trac/browser/www-devel | www-devel]]: This used to hold the developer www pages. The contents has been merged into subdirectory @@devel@@ of @@www-user@@
: [[http://www.lyx.org/trac/browser/lyxdoc | lyxdoc]]: Documentation for LyX 1.3.x is kept here (in the BRANCH_1_3_X branch) and folded in to the @@doc@@ directory before release. It is not used anymore for the main trunk, since the documentation has been moved in the @@lyx-devel@@ module.

!!! Trac source browser

Using SVN, you can download a whole module with just one command. If you want to look at just one SVN file, consider using Trac source browser. [[http://trac.edgewall.com/ | Trac]] is a tool that allows, among other things, for browsing an SVN repository and gives the possibility to browse diffs between arbitrary versions as well as reading log files and the like.

The [[http://www.lyx.org/trac/browser/ | Trac source browser]] for the LyX SVN repository is at the LyX home page. Most probably, though, you want to download a whole module. If so, read on.

!!! Anonymous SVN login

From within the directory where you want to place your local copy of the sources, do:

svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel

This will make a directory @@lyx-devel@@ and download lots of files into that directory. (A fresh copy will need about 150MB. However, depending on which frontends you are compiling, you will need a lot more space for the compiled version, up to 800MB).

Of course you can say @@svn co svn://svn.lyx.org/lyx/www-user/trunk www-user@@ instead, depending on which module you'd like to download.

!!! After the first download

If the code is updated, just @@cd@@ to the @@lyx-devel@@ directory and say:

svn update

This will magically download or patch only those files which have been changed or added, saving you (and the server) lots of time.

If you just want to check what's changed in your local copy as opposed to the repository, do:

svn status

If you want to check what's changed on the server, but not yet updated to your local copy, do:

svn status -u

----

!!! Compiling the source

Just follow the directions in @@INSTALL@@, as if you had downloaded a tar file. For the stable module, this is pretty much just @@./autogen.sh@@, @@./configure@@, @@make@@, and @@sudo make install@@.

If you want to compile and run the development module, things are somewhat more complicated than for the release module. You're going to need @@automake@@, @@autoconf@@, and @@gettext@@, which can be downloaded from your favorite GNU ftp site. (Start at [[http://www.gnu.org | gnu.org]] to find a mirror.) Once you've installed all of that stuff, just run the @@autogen.sh@@ script written by Allan Rae, which will do things in the right order, and then tell you to run @@configure@@ and @@make@@.

----

!!! Changing the source

We strongly support any creative impulses you may have. Bug fixes, documentation, and new features will always be looked at carefully, and will usually be accepted, with a number of exceptions. New features will rarely be accepted for the stable release version.

If you'd like to make changes to LyX, it will make everyone's life easier if you change the latest SVN sources rather than the latest release. Here's a quick rundown of what you would do:

* Get the latest version of the source with @@svn update@@. A patch to old sources will be much harder to apply, and is therefore more likely to be ignored.
* Change the files. (Either edit in place or copy them to somewhere else, edit them, and then copy them back to wherever you keep the SVN tree.)
* Run @@svn diff > mypatch.diff@@ to create a patch
* send the patch to the [[(mailto:)lyx-devel@lists.lyx.org | LyX developers' mailing list]].

!!! Write access via ssh

If you find yourself creating lots of patches that the LyX team incorporates into the code, you may be granted SVN access. In that case, your life becomes even easier. Instead of the above anonymous login, you can checkout the sources with

svn co svn://svn.lyx.org/lyx/lyx-devel/trunk lyx-devel

Then you just run a @@svn commit@@ to check changes in to the Subversion tree, instead of creating a patch and mailing it in. In the first time you will be asked for the username and password, for the next sessions subversion will save them for your convenience (this can be disabled on demand).

The non-wiki content of the LyX Home Page (e.g. the news and the announcements) is also under Subversion. It's probably not worth downloading unless you have write access, of course. It resides in the @@www-user@@ module.

!!! SVN Branches

The main development in LyX is done in SVN branches. If you are interested in helping develop or test work on these branches, you can check out a copy with a command like:

svn co svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X lyx-2.0.x

||
||Branch Name ||Maintainer ||Status ||Comment ||
||[[http://www.lyx.org/trac/browser/lyx-devel/trunk | trunk]] ||PSanda ||unstable ||Main Branch ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_2_0_X | BRANCH_2_0_X]] ||RGHeck ||stable ||Stable 2.0 series branch ||

There are also some older obsolete branches:

||
||Branch Name ||Maintainer ||Status ||Comment ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_6_X | BRANCH_1_6_X]] ||JSpitzm ||stable ||Stable 1.6 series branch ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_5_X | BRANCH_1_5_X]] ||JSpitzm ||stable ||Stable 1.5 series branch ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X | BRANCH_1_4_X]] ||JMarc ||stable ||Stable 1.4 series branch ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_3_X | BRANCH_1_3_X]] ||JMarc ||stable ||Stable 1.3 series branch ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH-1_2_X | BRANCH-1_2_X]] ||JMarc ||stable ||Stable 1.2 series branch ||
||[[http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_1_6 | BRANCH_1_1_6]] ||JMarc ||stable ||Stabilizing of 1.1.6 ||
Added line 1:
test
Edit - History - Print - Recent Changes - Search
Page last modified on March 01, 2018, at 11:32 PM