Remove leagacy DB file move logic.
This commit is contained in:
parent
0b7cc736a3
commit
bce3bc9eef
@ -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
2
buku
@ -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
2
buku.1
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user