Fuse-DBI
19 years agoreally remove all output from fusermount, define constant BLOCK to 1024
Dobrica Pavlinusic [Sat, 27 Nov 2004 15:08:10 +0000 (15:08 +0000)]
really remove all output from fusermount, define constant BLOCK to 1024
(used in various places)

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@52 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoImprovements in getattr and statfs: du will not return meaningful values and
Dobrica Pavlinusic [Sat, 27 Nov 2004 14:02:18 +0000 (14:02 +0000)]
Improvements in getattr and statfs: du will not return meaningful values and
df will return something which is not as wrong as it was (but, still not
correct).

Fuse::DBI will not try to load kernel module using sudo, and try to umount
using sudo umount if fusermount -u fails (as it happends with current CVS
version of fuse).

New webgui test target in Makefile which work as test on my local machine
(and hopefully on any with webgui default installation).

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@51 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoadd patches
Dobrica Pavlinusic [Sat, 27 Nov 2004 00:40:18 +0000 (00:40 +0000)]
add patches

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@50 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agorename one patch, added blocks fix
Dobrica Pavlinusic [Fri, 26 Nov 2004 21:34:02 +0000 (21:34 +0000)]
rename one patch, added blocks fix

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@49 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agotest cleanup
Dobrica Pavlinusic [Wed, 24 Nov 2004 10:24:07 +0000 (10:24 +0000)]
test cleanup

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@48 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoAPI 0.07:
Dobrica Pavlinusic [Tue, 23 Nov 2004 23:54:58 +0000 (23:54 +0000)]
API 0.07:
- added is_mounted
- mount will now block until filesystem is mounted
  (this might take up to 2 sec in intervals of 0.5 sec)

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@47 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agothis will be generated from svn log
Dobrica Pavlinusic [Tue, 23 Nov 2004 23:52:06 +0000 (23:52 +0000)]
this will be generated from svn log

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@46 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agofix support for PostgreSQL
Dobrica Pavlinusic [Tue, 23 Nov 2004 23:49:24 +0000 (23:49 +0000)]
fix support for PostgreSQL

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@45 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agofix POD test
Dobrica Pavlinusic [Tue, 23 Nov 2004 11:16:41 +0000 (11:16 +0000)]
fix POD test

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@44 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoproduce Changes from svn log
Dobrica Pavlinusic [Tue, 23 Nov 2004 11:16:32 +0000 (11:16 +0000)]
produce Changes from svn log

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@43 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agobetter explanation
Dobrica Pavlinusic [Tue, 23 Nov 2004 11:03:38 +0000 (11:03 +0000)]
better explanation

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@42 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agofix tests to remove dependency on jsFind (and I souldn't copy tests between
Dobrica Pavlinusic [Tue, 23 Nov 2004 11:03:24 +0000 (11:03 +0000)]
fix tests to remove dependency on jsFind (and I souldn't copy tests between
my modules anyway :-)

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@41 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agofixed mounted mess. This will probably fix fusermount errors users are
Dobrica Pavlinusic [Fri, 19 Nov 2004 21:56:12 +0000 (21:56 +0000)]
fixed mounted mess. This will probably fix fusermount errors users are
seeing once and forever. Added $SIG{'QUIT'} handler, documented bug in
upstream Fuse module.

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@40 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoadded patch to MANIFEST
Dobrica Pavlinusic [Tue, 16 Nov 2004 16:00:52 +0000 (16:00 +0000)]
added patch to MANIFEST

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@39 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agodocumentation update before release
Dobrica Pavlinusic [Tue, 16 Nov 2004 15:59:04 +0000 (15:59 +0000)]
documentation update before release

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@38 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agopatch to fix current CVS version of Fuse perl bindings
Dobrica Pavlinusic [Tue, 16 Nov 2004 15:48:11 +0000 (15:48 +0000)]
patch to fix current CVS version of Fuse perl bindings

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@37 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoupdate URL to fuse web site
Dobrica Pavlinusic [Tue, 16 Nov 2004 15:34:25 +0000 (15:34 +0000)]
update URL to fuse web site

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@36 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agobookkeeping update before release
Dobrica Pavlinusic [Tue, 16 Nov 2004 15:32:36 +0000 (15:32 +0000)]
bookkeeping update before release

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@35 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoworking PostgreSQL example
Dobrica Pavlinusic [Tue, 16 Nov 2004 15:32:21 +0000 (15:32 +0000)]
working PostgreSQL example

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@34 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoSQLite test is finally working,
Dobrica Pavlinusic [Mon, 15 Nov 2004 20:55:10 +0000 (20:55 +0000)]
SQLite test is finally working,
bumped version to 0.05,
you can really umount filesystem when using fork (which is still very
experimental and useful only for tests anyway)

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@33 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agofix quoting of characters in regex: Fuse::DBI will now work correctly with
Dobrica Pavlinusic [Mon, 15 Nov 2004 20:45:03 +0000 (20:45 +0000)]
fix quoting of characters in regex: Fuse::DBI will now work correctly with
parens and other characters which have special meaning in regexps

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@32 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agomodify ctime only when writing to file, prevents message "file has changed"
Dobrica Pavlinusic [Sun, 10 Oct 2004 19:33:23 +0000 (19:33 +0000)]
modify ctime only when writing to file, prevents message "file has changed"

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@31 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agofix for pod2html
Dobrica Pavlinusic [Sat, 9 Oct 2004 00:03:42 +0000 (00:03 +0000)]
fix for pod2html

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@30 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoremoved obsolete example
Dobrica Pavlinusic [Fri, 8 Oct 2004 23:44:34 +0000 (23:44 +0000)]
removed obsolete example

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@29 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agodocumentation improvements, API 0.04
Dobrica Pavlinusic [Fri, 8 Oct 2004 23:43:06 +0000 (23:43 +0000)]
documentation improvements, API 0.04

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@28 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agouse Data::Config from WebGUI installation to read configuration file and
Dobrica Pavlinusic [Fri, 8 Oct 2004 22:56:55 +0000 (22:56 +0000)]
use Data::Config from WebGUI installation to read configuration file and
extract all needed data from it, added a lot of documentation and finished
example for WebGUI

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@27 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoadded invalidation of file list with rmdir,
Dobrica Pavlinusic [Fri, 8 Oct 2004 22:55:36 +0000 (22:55 +0000)]
added invalidation of file list with rmdir,
prevent multiple umounts by keeping mounted flag

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@26 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoinvalidate example
Dobrica Pavlinusic [Fri, 8 Oct 2004 20:07:32 +0000 (20:07 +0000)]
invalidate example

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@25 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agocall umount on DESTROY, support for optional 'invalidate' code ref which
Dobrica Pavlinusic [Fri, 8 Oct 2004 20:07:12 +0000 (20:07 +0000)]
call umount on DESTROY, support for optional 'invalidate' code ref which
erase templates from disk (user running fuse must have permissions on
template directory for this to work)

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@24 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agocorrect links in pod to that pod2html doesn't choke
Dobrica Pavlinusic [Sat, 2 Oct 2004 16:54:42 +0000 (16:54 +0000)]
correct links in pod to that pod2html doesn't choke

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@23 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agofixed fork option and tests
Dobrica Pavlinusic [Sat, 2 Oct 2004 16:30:16 +0000 (16:30 +0000)]
fixed fork option and tests

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@22 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoa lot of changes (0.03 API):
Dobrica Pavlinusic [Sat, 2 Oct 2004 15:29:02 +0000 (15:29 +0000)]
a lot of changes (0.03 API):
- added unlink (rm) method to invalidate in-memory cache
- added fuse_module_loaded method to check if fuse module is loaded
- fixed short read of last block
- removed Proc::Simple usage and replaced with simplier forking mechanism

This is first working version, but it's not binary-safe yet. NULL bytes
are still problem.

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@21 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoadded PostgreSQL test
Dobrica Pavlinusic [Sat, 2 Oct 2004 00:42:38 +0000 (00:42 +0000)]
added PostgreSQL test

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@20 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agomoved sqlite test to 02sqlite.t
Dobrica Pavlinusic [Sat, 2 Oct 2004 00:42:27 +0000 (00:42 +0000)]
moved sqlite test to 02sqlite.t

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@19 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agobroken version with DBD::SQLite (transaction problems)
Dobrica Pavlinusic [Sun, 5 Sep 2004 16:59:41 +0000 (16:59 +0000)]
broken version with DBD::SQLite (transaction problems)

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@18 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agomake files writable
Dobrica Pavlinusic [Sun, 5 Sep 2004 16:55:12 +0000 (16:55 +0000)]
make files writable

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@17 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoquote module names
Dobrica Pavlinusic [Sun, 5 Sep 2004 16:55:02 +0000 (16:55 +0000)]
quote module names

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@16 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agouse DBD::SQLite to run tests (if installed)
Dobrica Pavlinusic [Sun, 5 Sep 2004 16:04:35 +0000 (16:04 +0000)]
use DBD::SQLite to run tests (if installed)

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@15 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoworking example for MySQL installation of WebGUI
Dobrica Pavlinusic [Sun, 29 Aug 2004 20:56:23 +0000 (20:56 +0000)]
working example for MySQL installation of WebGUI

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@14 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agogetdir fix, working WebGUI example
Dobrica Pavlinusic [Sun, 29 Aug 2004 20:12:37 +0000 (20:12 +0000)]
getdir fix, working WebGUI example

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@13 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoumount works, as well as tests
Dobrica Pavlinusic [Sun, 29 Aug 2004 19:16:01 +0000 (19:16 +0000)]
umount works, as well as tests

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@12 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agofirst try at making this module (late commit)
Dobrica Pavlinusic [Sun, 29 Aug 2004 18:51:29 +0000 (18:51 +0000)]
first try at making this module (late commit)

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@11 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agocreated from Makefile.PL
Dobrica Pavlinusic [Sun, 29 Aug 2004 17:52:02 +0000 (17:52 +0000)]
created from Makefile.PL

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@10 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agomove code to Fuse::DBI module (probably broken now)
Dobrica Pavlinusic [Sat, 7 Aug 2004 19:06:03 +0000 (19:06 +0000)]
move code to Fuse::DBI module (probably broken now)

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@9 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agobetter output, read fixes, ctime preserved (so that vi won't complain that
Dobrica Pavlinusic [Sat, 7 Aug 2004 15:16:50 +0000 (15:16 +0000)]
better output, read fixes, ctime preserved (so that vi won't complain that
your file changed if you save changes and try that again)

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@8 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agomake updates really work
Dobrica Pavlinusic [Sat, 7 Aug 2004 14:48:23 +0000 (14:48 +0000)]
make updates really work

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@7 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agofirst try at making it writable
Dobrica Pavlinusic [Wed, 4 Aug 2004 16:17:09 +0000 (16:17 +0000)]
first try at making it writable

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@6 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agofile reading fix
Dobrica Pavlinusic [Wed, 4 Aug 2004 09:25:31 +0000 (09:25 +0000)]
file reading fix

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@3 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agodirectory browsing, Makefile for debugging
Dobrica Pavlinusic [Wed, 4 Aug 2004 09:03:05 +0000 (09:03 +0000)]
directory browsing, Makefile for debugging

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@2 17f4e80c-d0e0-0310-8903-bfc3ae804c12

19 years agoimport FUSE perl module to connect to database via DBI
Dobrica Pavlinusic [Wed, 4 Aug 2004 08:58:46 +0000 (08:58 +0000)]
import FUSE perl module to connect to database via DBI

git-svn-id: svn://svn.rot13.org/fuse_dbi/trunk@1 17f4e80c-d0e0-0310-8903-bfc3ae804c12