lp:~udienz/sedot/test

Created by Mahyuddin Susanto and last modified

This is code for sedot package

Get this branch:
bzr branch lp:~udienz/sedot/test
Only Mahyuddin Susanto can upload to this branch. If you are Mahyuddin Susanto please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Mahyuddin Susanto
Project:
Sedot
Status:
Development

Recent revisions

84. By Mahyuddin Susanto

add documentation
sync with main branch

83. By Mahyuddin Susanto

add rsync.redhat method, because MIRROR monitor check $TO/timestamp.txt
add update make-rsyncd.conf
add update.rsyncd.conf
add data/rsync/rsyncbasic user fot template use for generate rsync configuration
add lftp method

82. By Fajran Iman Rusadi

Save return code to a file then read it again to determine sync status.
Capturing directly from the subprocess won't work since there is a 'tee'
there. Its return code will be capture if we use $? after that.

81. By Fajran Iman Rusadi

- Add --delay-updates to rsync option
- Update Debian's rsync.exclude example
- Update get.rsync.debian to use the same rsync options as other methods
  use

80. By Fajran Iman Rusadi

Empty crontab should not make make-crontab exits

79. By Fajran Iman Rusadi

Don't visit "current" symlink when making report.

In fact, this should be the other way around. "current" symlink should
points to the directory that we are looking for, so that should be
the only directory that we visit.

But let's keep like this for some time, until we're sure that the
"current" symlink *always* points to the correct directory.

78. By Fajran Iman Rusadi

Add a symbolic link "current" to the currently running or last run
log directory

77. By Fajran Iman Rusadi

- Add debmirror sync method by Mahyuddin Susanto
- Pass $BASE variable to the method script

76. By Fajran Iman Rusadi

Please read this log! This change is considered as a significant change.

- Change rsync options
  instead of just -av
  now uses -rltpHv
           --partial
           --chmod=a+rX,u+w,og-w

  Caution! older rsync version doesn't support chmod option

- Error code 23 (Partial transfer due to error) from rsync
  is considered as a normal return. It often happens when the
  upstream has a directory which can't be visited, i.e.

  rsync: opendir "/Linux/openSUSE/distribution/11.1/delta" (in pub) failed: Permission denied (13)

  It's the upstream fault, i'd say.

- bin/sedot now write output messages to screen, as well as to the
  log file.

  bin/sedot-bg sends those messages to /dev/null.

- Fix a silly bug in bin/sedot. It checked the package dir BEFORE
  the package dir is defined. Now it has been fixed.

- Add new sync method: rsync.nodelete
  This method is almost the same as rsync but it doesn't use
  --delete-after

75. By Fajran Iman Rusadi

Fix bug: Never sync'ed pkg should be reported as unknown last sync

Branch metadata

Branch format:
Branch format 6
Repository format:
Bazaar pack repository format 1 (needs bzr 0.92)
This branch contains Public information 
Everyone can see this information.