cloudstore.git
12 years agostart transmission with SLICE_GROUP dirs
Dobrica Pavlinusic [Sat, 14 Apr 2012 16:54:06 +0000 (18:54 +0200)]
start transmission with SLICE_GROUP dirs

12 years agoMerge branch 'master' of git.rot13.org:/git/cloudstore
Dobrica Pavlinusic [Sat, 14 Apr 2012 16:50:10 +0000 (18:50 +0200)]
Merge branch 'master' of git.rot13.org:/git/cloudstore

12 years agoadded init script for s1-list_files
Dobrica Pavlinusic [Sat, 14 Apr 2012 16:49:40 +0000 (18:49 +0200)]
added init script for s1-list_files

12 years agouse SLICE_GROUP to find tracker configuration
Dobrica Pavlinusic [Sat, 14 Apr 2012 16:00:36 +0000 (18:00 +0200)]
use SLICE_GROUP to find tracker configuration

12 years agotest refresh_file_list invocations in API
Dobrica Pavlinusic [Sat, 14 Apr 2012 15:50:34 +0000 (17:50 +0200)]
test refresh_file_list invocations in API

12 years agodump body
Dobrica Pavlinusic [Sat, 14 Apr 2012 15:47:12 +0000 (17:47 +0200)]
dump body

12 years agoreport refresh_file_list errors
Dobrica Pavlinusic [Sat, 14 Apr 2012 15:27:13 +0000 (17:27 +0200)]
report refresh_file_list errors

12 years agocleanup getgrnam error handling
Dobrica Pavlinusic [Fri, 13 Apr 2012 19:11:25 +0000 (21:11 +0200)]
cleanup getgrnam error handling

12 years agotest login return from create_user
Dobrica Pavlinusic [Fri, 13 Apr 2012 19:10:03 +0000 (21:10 +0200)]
test login return from create_user

12 years agoclear screen every 30 s
Dobrica Pavlinusic [Fri, 13 Apr 2012 09:47:15 +0000 (11:47 +0200)]
clear screen every 30 s

12 years agoadded maximum number of queued and running jobs in blue
Dobrica Pavlinusic [Thu, 12 Apr 2012 23:53:13 +0000 (01:53 +0200)]
added maximum number of queued and running jobs in blue

12 years agomonitor gearman status
Dobrica Pavlinusic [Thu, 12 Apr 2012 23:40:09 +0000 (01:40 +0200)]
monitor gearman status

12 years agofix paths to be relative
Domagoj Tršan [Thu, 12 Apr 2012 09:01:28 +0000 (11:01 +0200)]
fix paths to be relative

12 years agoadded "u" before uid for create_user
Dobrica Pavlinusic [Thu, 12 Apr 2012 09:00:44 +0000 (11:00 +0200)]
added "u" before uid for create_user

12 years agoadd s1-send_file start|stop optional-suffix
Dobrica Pavlinusic [Wed, 11 Apr 2012 20:57:01 +0000 (22:57 +0200)]
add s1-send_file start|stop optional-suffix

12 years agoput START and END timestamps in log
root [Wed, 11 Apr 2012 20:38:38 +0000 (22:38 +0200)]
put START and END timestamps in log

12 years agoremove obsolete init file
root [Wed, 11 Apr 2012 20:25:51 +0000 (22:25 +0200)]
remove obsolete init file

12 years agomove create_user to perl API
root [Wed, 11 Apr 2012 20:25:36 +0000 (22:25 +0200)]
move create_user to perl API

12 years agocleanup ENV SLICE from path
root [Wed, 11 Apr 2012 20:25:18 +0000 (22:25 +0200)]
cleanup ENV SLICE from path

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