Manual:Pywikibot/Instalación/SVN

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:Pywikibot/Installation/SVN and the translation is 32% complete.

Other languages:
English • ‎español • ‎čeština • ‎中文 • ‎日本語

Descargar Pywikibot con SVN

If you don't want to use Git you can still use SVN.

Windows users may use the GUI extension TortoiseSVN, see next section below.

Para instalar con SVN debes ejecutar

svn co https://github.com/wikimedia/pywikibot/tags/stable
cd stable/scripts
svn co https://github.com/wikimedia/pywikibot-i18n/trunk i18n

Descargar Pywikibot con TortoiseSVN para usuarios de Windows

TortoiseSVN is a Windows shell extension with GUI working as SVN client. You may download the current release at: https://tortoisesvn.net/downloads.html

If you like using TortoiseSVN you may use it as follows:

  1. Right-click on your preferred directory and execute "SVN Checkout..."
  2. Choose "URL of repository" and paste the URL https://github.com/wikimedia/pywikibot/tags/stable
  3. Choose "Checkout directory and change the default directory which is <your preferred directory>/pywikibot e.g. to <your preferred directory>/svn-core if you like.
  4. Confirm with [ OK ]
Now we have to install external libraries used by the framework. There are different ways to do that e.g. again with the checkout command. Another way is using properties. You may set it manually but it is very easy to use the preference file named .svnprops coming with the framework which sets all the needed properties:
  1. Right-click your working directory
  2. Select the last item in the drop list which might be folder's "Properties"
  3. Select "Subversion" tab and click on [ Properties... ] button
  4. click [ Import... ] and select the file ".svnprops" in your framework folder
  5. Confirm with [ OK ] for property settings
  6. Confirm with [ OK ] for folder properties
  7. Now right-click onto your working copy and select "SVN update" to download the external libraries.

Actualización

Actualización de la copia local

Clic derecho sobre tu copia local y elige "SVN Update"

Actualización de svn

svn up stable
cd stable/scripts
svn up i18n
Actualización con TortoiseSVN (para usuarios de Windows)

Updating the working copy with TortoiseSVN is just easy: Right-click on your working copy directory and choose "SVN Update"


If you need more help on setting up your Pywikibot visit the #pywikibot IRC channel conectar or pywikibot@ mailing list.