File: migration.rst

package info (click to toggle)
urlwatch 2.29-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 880 kB
  • sloc: python: 4,003; sh: 53; makefile: 19
file content (26 lines) | stat: -rw-r--r-- 1,199 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Migration from 1.x
==================

Migration from urlwatch 1.x should be automatic on first start. Here is
a quick rundown of changes in 2.0:

-  URLs are stored in a YAML file now, with direct support for
   specifying names for jobs, different job kinds, directly applying
   filters, selecting the HTTP request method, specifying POST data as
   dictionary and much more
-  The cache directory has been replaced with an SQLite 3 database file
   “cache.db” in `minidb`_ format, storing all change history (use
   ``--gc-cache`` to remove old changes if you don’t need them anymore)
   for further analysis
-  The hooks mechanism has been replaced with support for creating new
   job kinds by subclassing, new filters (also by subclassing) as well
   as new reporters (pieces of code that put the results somewhere, for
   example the default installation contains the “stdout” reporter that
   writes to the console and the “email” reporter that can send HTML and
   text e-mails)
-  A configuration file - urlwatch.yaml - has been added for specifying
   user preferences instead of having to supply everything via the
   command line


.. _minidb: http://thp.io/2010/minidb/