Remove leagacy DB file move logic.

This commit is contained in:
Arun Prakash Jana 2016-06-25 21:45:15 +05:30
parent 0b7cc736a3
commit bce3bc9eef
No known key found for this signature in database
GPG Key ID: C0A712ED95043DCB
3 changed files with 1 additions and 4 deletions

View File

@ -190,7 +190,6 @@ Please substitute `$version` with the appropriate package version.
- **$XDG_DATA_HOME/buku/bookmarks.db**, if XDG_DATA_HOME is defined (first preference) or
- **$HOME/.local/share/buku/bookmarks.db**, if HOME is defined (second preference) or
- the **current directory**.
- Before version 1.9, buku stored its database in $HOME/.cache/buku/bookmarks.db. If the file exists, buku automatically moves it to new location.
- It's advisable to copy URLs directly from the browser address bar, i.e., along with the leading `http://` or `https://` token. buku looks up title data (found within <title></title> tags of HTML) from the web ONLY for fully-formed HTTP(S) URLs.
- If the URL contains characters like `;`, `&` or brackets they may be interpreted specially by the shell. To avoid it, add the URL within single or double (`'`/`"`) quotes.
- URLs are unique in DB. The same URL cannot be added twice. You can update tags and re-fetch title data.

2
buku
View File

@ -1583,7 +1583,7 @@ if __name__ == '__main__':
print('Version %s' % _VERSION_)
# Move pre-1.9 database to new location
BukuDb.move_legacy_dbfile()
#BukuDb.move_legacy_dbfile()
# Handle encrypt/decrypt options at top priority
if args.encrypt is not None:

2
buku.1
View File

@ -13,8 +13,6 @@ The SQLite3 database file is stored in:
- \fI$HOME/.local/share/buku/bookmarks.db\fR, if HOME is defined (second preference) or
- the \fIcurrent directory\fR.
.PP
Before version 1.9, buku stored its database in $HOME/.cache/buku/bookmarks.db. If the file exists, buku automatically moves it to new location.
.PP
It's advisable to copy URLs directly from the browser address bar, i.e., along with the leading 'http://' or 'https://' token. buku looks up title data (found within <title></title> tags of HTML) from the web ONLY for fully-formed HTTP(S) URLs.
.PP
If the URL contains characters like ';', '&' or brackets they may be interpreted specially by the shell. To avoid it, add the URL within single or double ('/") qoutes.