cloudstore.git
12 years agopass arbitrary command, e.g. workers
Dobrica Pavlinusic [Wed, 11 Apr 2012 19:28:03 +0000 (21:28 +0200)]
pass arbitrary command, e.g. workers

12 years agowe are on COW fs (zfs) so always save to new file
Dobrica Pavlinusic [Wed, 11 Apr 2012 18:25:31 +0000 (20:25 +0200)]
we are on COW fs (zfs) so always save to new file

This also has nice side-effect that we won't destroy last copy
if for some reason we can't generate new one

12 years agoadd timestamp and emit log output to STDERR
Dobrica Pavlinusic [Wed, 11 Apr 2012 18:18:02 +0000 (20:18 +0200)]
add timestamp and emit log output to STDERR

12 years agoexpand ~u2001 to home dir
Dobrica Pavlinusic [Wed, 11 Apr 2012 17:48:34 +0000 (19:48 +0200)]
expand ~u2001 to home dir

12 years agorefresh_file_list API call
Dobrica Pavlinusic [Wed, 11 Apr 2012 17:22:19 +0000 (19:22 +0200)]
refresh_file_list API call

12 years agoMerge branch 'master' of git.rot13.org:/git/cloudstore
Dobrica Pavlinusic [Wed, 11 Apr 2012 16:54:22 +0000 (18:54 +0200)]
Merge branch 'master' of git.rot13.org:/git/cloudstore

Conflicts:
t/API.t

12 years agolist_files and cache in ~u2001/.meta/files
Dobrica Pavlinusic [Wed, 11 Apr 2012 16:52:58 +0000 (18:52 +0200)]
list_files and cache in ~u2001/.meta/files

12 years agotest file_size with send to different shard
Dobrica Pavlinusic [Mon, 26 Mar 2012 12:15:03 +0000 (14:15 +0200)]
test file_size with send to different shard

12 years agocross slice send_file using symlink
Dobrica Pavlinusic [Thu, 15 Mar 2012 21:53:04 +0000 (22:53 +0100)]
cross slice send_file using symlink

12 years agochange stunnel ip
Dobrica Pavlinusic [Fri, 17 Feb 2012 12:51:18 +0000 (13:51 +0100)]
change stunnel ip

12 years agofix quota_set output to be single line
Dobrica Pavlinusic [Mon, 13 Feb 2012 22:17:16 +0000 (23:17 +0100)]
fix quota_set output to be single line

12 years agoremove global slice name init
Dobrica Pavlinusic [Mon, 13 Feb 2012 22:15:57 +0000 (23:15 +0100)]
remove global slice name init

instead use $ENV{SLICE} which is provided by init scripts or
fallback to s1

12 years agouse WarnColor for logging
Dobrica Pavlinusic [Sun, 12 Feb 2012 20:30:19 +0000 (21:30 +0100)]
use WarnColor for logging

12 years agoMerge branch 'master' of git.rot13.org:/git/cloudstore
Dobrica Pavlinusic [Sun, 12 Feb 2012 20:07:17 +0000 (21:07 +0100)]
Merge branch 'master' of git.rot13.org:/git/cloudstore

Conflicts:
lib/WarnColor.pm

12 years agoremove redundant logging
Dobrica Pavlinusic [Sun, 12 Feb 2012 20:06:31 +0000 (21:06 +0100)]
remove redundant logging

12 years agodon't timestamp lines which allready have timestamp at beginning
Dobrica Pavlinusic [Sun, 12 Feb 2012 20:02:59 +0000 (21:02 +0100)]
don't timestamp lines which allready have timestamp at beginning

12 years agodon't timestamp lines which allready have timestamp at beginning
Dobrica Pavlinusic [Sun, 12 Feb 2012 20:02:59 +0000 (21:02 +0100)]
don't timestamp lines which allready have timestamp at beginning

12 years agolog everything with warn
Dobrica Pavlinusic [Sun, 12 Feb 2012 19:34:00 +0000 (20:34 +0100)]
log everything with warn

12 years agodon't dump to STDERR if log is available
Dobrica Pavlinusic [Sun, 12 Feb 2012 19:33:47 +0000 (20:33 +0100)]
don't dump to STDERR if log is available

12 years agoadded restart
Dobrica Pavlinusic [Sun, 12 Feb 2012 19:31:30 +0000 (20:31 +0100)]
added restart

12 years agoincrease 0-based month not minutes
Dobrica Pavlinusic [Sun, 12 Feb 2012 19:26:51 +0000 (20:26 +0100)]
increase 0-based month not minutes

12 years agocreate log files by date in slice and test it
Dobrica Pavlinusic [Sun, 12 Feb 2012 19:18:58 +0000 (20:18 +0100)]
create log files by date in slice and test it

12 years agoMerge branch 'master' of git.rot13.org:/git/cloudstore
Dobrica Pavlinusic [Sun, 12 Feb 2012 19:01:38 +0000 (20:01 +0100)]
Merge branch 'master' of git.rot13.org:/git/cloudstore

12 years agoremove json store left-overs
Dobrica Pavlinusic [Sun, 12 Feb 2012 19:00:16 +0000 (20:00 +0100)]
remove json store left-overs

12 years agoremove old md5sum tests
Dobrica Pavlinusic [Sun, 12 Feb 2012 01:14:25 +0000 (02:14 +0100)]
remove old md5sum tests

12 years agodon't check for file removal on rsync delete
Dobrica Pavlinusic [Sun, 12 Feb 2012 01:14:09 +0000 (02:14 +0100)]
don't check for file removal on rsync delete

12 years agoremove old dedup code
Dobrica Pavlinusic [Sun, 12 Feb 2012 01:00:36 +0000 (02:00 +0100)]
remove old dedup code

12 years agocleanup memcache left-overs from membase experiment
Dobrica Pavlinusic [Sun, 12 Feb 2012 00:58:06 +0000 (01:58 +0100)]
cleanup memcache left-overs from membase experiment

12 years agouse md5_get instead of TokyoCabinet::HDB
Dobrica Pavlinusic [Sat, 11 Feb 2012 19:28:19 +0000 (20:28 +0100)]
use md5_get instead of TokyoCabinet::HDB

12 years agoremove TokyoCabinet
Dobrica Pavlinusic [Sat, 11 Feb 2012 19:24:45 +0000 (20:24 +0100)]
remove TokyoCabinet

12 years agocheck for SLICE in object
Dobrica Pavlinusic [Sat, 11 Feb 2012 19:18:16 +0000 (20:18 +0100)]
check for SLICE in object

12 years agoremove chroot which doesn't work
Dobrica Pavlinusic [Sat, 11 Feb 2012 19:17:28 +0000 (20:17 +0100)]
remove chroot which doesn't work

12 years agofix ZSLICE exported to scripts
Dobrica Pavlinusic [Sat, 11 Feb 2012 19:17:05 +0000 (20:17 +0100)]
fix ZSLICE exported to scripts

12 years agoremove unused log file
Dobrica Pavlinusic [Sat, 11 Feb 2012 19:15:18 +0000 (20:15 +0100)]
remove unused log file

12 years agosave logs to slice directory
Dobrica Pavlinusic [Sat, 11 Feb 2012 18:43:54 +0000 (19:43 +0100)]
save logs to slice directory

12 years agosupport filenames with spaces
Dobrica Pavlinusic [Sat, 11 Feb 2012 18:36:22 +0000 (19:36 +0100)]
support filenames with spaces

12 years agofix packages on sid
Dobrica Pavlinusic [Sat, 11 Feb 2012 18:25:25 +0000 (19:25 +0100)]
fix packages on sid

12 years agoMerge branch 'attr'
Dobrica Pavlinusic [Sat, 11 Feb 2012 17:53:35 +0000 (18:53 +0100)]
Merge branch 'attr'

12 years agonew implementation of md5 using attr
Dobrica Pavlinusic [Sat, 11 Feb 2012 17:52:11 +0000 (18:52 +0100)]
new implementation of md5 using attr

12 years agomigrate ~u2000/.md5 to file md5 attr
Dobrica Pavlinusic [Sat, 11 Feb 2012 16:50:38 +0000 (17:50 +0100)]
migrate ~u2000/.md5 to file md5 attr

12 years agouse SLICE_GROUP
Dobrica Pavlinusic [Sat, 11 Feb 2012 16:47:43 +0000 (17:47 +0100)]
use SLICE_GROUP

12 years agouse SLICE_GROUP
Dobrica Pavlinusic [Sat, 11 Feb 2012 16:47:43 +0000 (17:47 +0100)]
use SLICE_GROUP

12 years agoget SLICE and ZSLICE from group name
Dobrica Pavlinusic [Sat, 11 Feb 2012 16:37:10 +0000 (17:37 +0100)]
get SLICE and ZSLICE from group name

12 years agomove NAME to _start_stop
Dobrica Pavlinusic [Sat, 11 Feb 2012 16:24:20 +0000 (17:24 +0100)]
move NAME to _start_stop

12 years agocolorize only if run from terminal
Dobrica Pavlinusic [Sat, 11 Feb 2012 16:06:42 +0000 (17:06 +0100)]
colorize only if run from terminal

12 years agorewrite tests and test --inplace ignore
Dobrica Pavlinusic [Sat, 11 Feb 2012 14:50:35 +0000 (15:50 +0100)]
rewrite tests and test --inplace ignore

12 years agoignore --inplace which doesn't work with dedup
Dobrica Pavlinusic [Sat, 11 Feb 2012 14:50:18 +0000 (15:50 +0100)]
ignore --inplace which doesn't work with dedup

12 years agotest deduplication with file modification
Dobrica Pavlinusic [Sat, 11 Feb 2012 14:27:42 +0000 (15:27 +0100)]
test deduplication with file modification

12 years agostart rsync on stale pid file
Dobrica Pavlinusic [Sat, 11 Feb 2012 14:27:26 +0000 (15:27 +0100)]
start rsync on stale pid file

12 years agore-create md5sum database on fatal error
Dobrica Pavlinusic [Thu, 9 Feb 2012 19:53:14 +0000 (20:53 +0100)]
re-create md5sum database on fatal error

12 years agouse correct pid when running init_pid_login after restart
Dobrica Pavlinusic [Thu, 9 Feb 2012 19:27:51 +0000 (20:27 +0100)]
use correct pid when running init_pid_login after restart

12 years agomake column output aligned
Dobrica Pavlinusic [Mon, 6 Feb 2012 13:09:04 +0000 (14:09 +0100)]
make column output aligned

12 years agoadded file_size ~u2002/baz.txt
Dobrica Pavlinusic [Fri, 20 Jan 2012 18:59:57 +0000 (19:59 +0100)]
added file_size ~u2002/baz.txt

12 years agodon't try to return undef values from Gearman
Dobrica Pavlinusic [Fri, 20 Jan 2012 18:58:22 +0000 (19:58 +0100)]
don't try to return undef values from Gearman

12 years agohush responses from Gearman without DEBUG=1
Dobrica Pavlinusic [Fri, 20 Jan 2012 18:45:19 +0000 (19:45 +0100)]
hush responses from Gearman without DEBUG=1

12 years agomigrate test-gearman.sh into test
Dobrica Pavlinusic [Fri, 20 Jan 2012 18:43:50 +0000 (19:43 +0100)]
migrate test-gearman.sh into test

12 years agocleanup tests
Dobrica Pavlinusic [Fri, 20 Jan 2012 18:39:29 +0000 (19:39 +0100)]
cleanup tests

12 years agodocument API
Dobrica Pavlinusic [Fri, 20 Jan 2012 18:35:04 +0000 (19:35 +0100)]
document API

12 years agodo not remove torrent files which are not upload
Dobrica Pavlinusic [Mon, 16 Jan 2012 21:11:08 +0000 (22:11 +0100)]
do not remove torrent files which are not upload

12 years agoinit script for transmission gearman worker
Dobrica Pavlinusic [Mon, 16 Jan 2012 19:38:31 +0000 (20:38 +0100)]
init script for transmission gearman worker

12 years agodon't remove download dir without username
Dobrica Pavlinusic [Mon, 16 Jan 2012 19:32:30 +0000 (20:32 +0100)]
don't remove download dir without username

12 years agohandle better restart with running clients
Dobrica Pavlinusic [Mon, 16 Jan 2012 19:28:18 +0000 (20:28 +0100)]
handle better restart with running clients

12 years agodocument API
Dobrica Pavlinusic [Wed, 11 Jan 2012 22:34:20 +0000 (23:34 +0100)]
document API

12 years agotest torrent_list and display test names
Dobrica Pavlinusic [Wed, 11 Jan 2012 22:34:01 +0000 (23:34 +0100)]
test torrent_list and display test names

12 years agosend torrent via rsync and trigger torrent_download
Dobrica Pavlinusic [Wed, 11 Jan 2012 00:00:02 +0000 (01:00 +0100)]
send torrent via rsync and trigger torrent_download

12 years agoencode destination name in download directory name
Dobrica Pavlinusic [Mon, 9 Jan 2012 23:39:34 +0000 (00:39 +0100)]
encode destination name in download directory name

12 years agodump more data with DEBUG=1
Dobrica Pavlinusic [Mon, 9 Jan 2012 23:33:29 +0000 (00:33 +0100)]
dump more data with DEBUG=1

12 years agoimplement transmission download-done via script and gearman
Dobrica Pavlinusic [Mon, 9 Jan 2012 22:29:30 +0000 (23:29 +0100)]
implement transmission download-done via script and gearman

12 years agoadded reload
Dobrica Pavlinusic [Mon, 9 Jan 2012 22:09:10 +0000 (23:09 +0100)]
added reload

12 years agofix download-dir and perm
Dobrica Pavlinusic [Mon, 9 Jan 2012 21:50:35 +0000 (22:50 +0100)]
fix download-dir and perm

12 years agotorrent_download
Dobrica Pavlinusic [Mon, 9 Jan 2012 20:08:16 +0000 (21:08 +0100)]
torrent_download

12 years agotorrent_share gearman worker
Dobrica Pavlinusic [Mon, 9 Jan 2012 20:07:50 +0000 (21:07 +0100)]
torrent_share gearman worker

12 years agolist torrent in transmission
Dobrica Pavlinusic [Mon, 9 Jan 2012 19:25:33 +0000 (20:25 +0100)]
list torrent in transmission

12 years agoremove debug output
Dobrica Pavlinusic [Mon, 9 Jan 2012 18:56:02 +0000 (19:56 +0100)]
remove debug output

12 years agostart transmission as seeder
Dobrica Pavlinusic [Mon, 9 Jan 2012 18:12:58 +0000 (19:12 +0100)]
start transmission as seeder

12 years agodocument add and remove
Dobrica Pavlinusic [Mon, 9 Jan 2012 18:12:11 +0000 (19:12 +0100)]
document add and remove

12 years agomake TR_AUTH optional
Dobrica Pavlinusic [Sun, 8 Jan 2012 14:23:29 +0000 (15:23 +0100)]
make TR_AUTH optional

12 years agoremove torrent
Dobrica Pavlinusic [Sun, 8 Jan 2012 13:47:26 +0000 (14:47 +0100)]
remove torrent

12 years agoadded add torrent command
Dobrica Pavlinusic [Sun, 8 Jan 2012 12:36:17 +0000 (13:36 +0100)]
added add torrent command

12 years agoadded auth using TR_AUTH env variable
Dobrica Pavlinusic [Sun, 8 Jan 2012 12:35:38 +0000 (13:35 +0100)]
added auth using TR_AUTH env variable

12 years agonicer output
Dobrica Pavlinusic [Sun, 8 Jan 2012 12:35:25 +0000 (13:35 +0100)]
nicer output

12 years agoexample transmission client
Dobrica Pavlinusic [Sun, 8 Jan 2012 12:02:25 +0000 (13:02 +0100)]
example transmission client

12 years agouse separate download directory for torrent
Dobrica Pavlinusic [Sat, 7 Jan 2012 21:15:53 +0000 (22:15 +0100)]
use separate download directory for torrent

12 years agouse new rtorrent socket location
Dobrica Pavlinusic [Sat, 7 Jan 2012 21:15:34 +0000 (22:15 +0100)]
use new rtorrent socket location

12 years agoscript to start rtrorrent seeder in screen
Dobrica Pavlinusic [Sat, 7 Jan 2012 16:11:04 +0000 (17:11 +0100)]
script to start rtrorrent seeder in screen

12 years agoforce removal of dangling rtorrent socket on start
Dobrica Pavlinusic [Sat, 7 Jan 2012 15:53:25 +0000 (16:53 +0100)]
force removal of dangling rtorrent socket on start

12 years agostart seeder with new layout and config in group
Dobrica Pavlinusic [Sat, 7 Jan 2012 15:31:02 +0000 (16:31 +0100)]
start seeder with new layout and config in group

12 years agocreate torrents in new /host/s?/torrent layout
Dobrica Pavlinusic [Sat, 7 Jan 2012 15:30:21 +0000 (16:30 +0100)]
create torrents in new /host/s?/torrent layout

12 years agoget params from group file
Dobrica Pavlinusic [Sat, 7 Jan 2012 14:00:15 +0000 (15:00 +0100)]
get params from group file

12 years agosupport second argument to return just single file md5sum
Dobrica Pavlinusic [Sat, 7 Jan 2012 13:41:17 +0000 (14:41 +0100)]
support second argument to return just single file md5sum

12 years agos1 tracker init script
Dobrica Pavlinusic [Sat, 7 Jan 2012 13:40:54 +0000 (14:40 +0100)]
s1 tracker init script

12 years agobetter error message
Dobrica Pavlinusic [Sat, 7 Jan 2012 13:17:47 +0000 (14:17 +0100)]
better error message

12 years agospecify user for test at command-line
Dobrica Pavlinusic [Sat, 7 Jan 2012 13:17:22 +0000 (14:17 +0100)]
specify user for test at command-line

12 years agoMerge branch 'master' of git.rot13.org:/git/cloudstore
Dobrica Pavlinusic [Thu, 22 Dec 2011 14:54:01 +0000 (15:54 +0100)]
Merge branch 'master' of git.rot13.org:/git/cloudstore

12 years agosend file returns file size instead of true value
Dobrica Pavlinusic [Thu, 22 Dec 2011 14:53:46 +0000 (15:53 +0100)]
send file returns file size instead of true value

12 years agosend arbitrary commands and dump more log with DEBUG=1
Dobrica Pavlinusic [Tue, 13 Dec 2011 14:20:57 +0000 (15:20 +0100)]
send arbitrary commands and dump more log with DEBUG=1

12 years agotest user_usage
Dobrica Pavlinusic [Tue, 13 Dec 2011 00:25:21 +0000 (01:25 +0100)]
test user_usage

12 years agocorrectly return used and quota
Dobrica Pavlinusic [Tue, 13 Dec 2011 00:16:15 +0000 (01:16 +0100)]
correctly return used and quota

12 years agotest guota_get used quota format
Dobrica Pavlinusic [Tue, 13 Dec 2011 00:16:03 +0000 (01:16 +0100)]
test guota_get used quota format

12 years agoadded user_usage Gearman API
Dobrica Pavlinusic [Tue, 13 Dec 2011 00:10:47 +0000 (01:10 +0100)]
added user_usage Gearman API