Skip to content
Snippets Groups Projects
  1. Jan 29, 2013
  2. Jan 27, 2013
  3. Jan 26, 2013
    • Nikos Skalkotos's avatar
      Ommit using os.path.relpath · 29274f83
      Nikos Skalkotos authored
      The method has different behaviour in python 2.6 and python 2.7.
      In python 2.6, os.path.relpath('/proc', '/) will output '../proc'
      where in python 2.7 it will output 'proc'.
      29274f83
    • Nikos Skalkotos's avatar
      Support pyparted 3.4 · e62eb365
      Nikos Skalkotos authored
      Use length instead of getLength() to get the size in sectors of a
      device.
      e62eb365
  4. Jan 18, 2013
    • Nikos Skalkotos's avatar
      Completely exclude mpoints when running rsync · 252b2b5d
      Nikos Skalkotos authored
      We used to exclude mount point from rsync with options like this:
      
       --exclude mount/point/*
      
      This will copy the directory and leave out all files under it. In
      some cases, this causes problems because rsync will fail if it
      cannot stat the directory and some mount point will only return
      stat info to their owner and not root. Even if this wasn't the
      case, we cannot determine the real directory attributes. The stat
      syscall will return the attributes associated with the mount
      options. It's better to completely exclude those mpoints in rsync
      and create them explicitly after the command runs. We make them
      inherit the mode and the ownership of their parent directory.
      252b2b5d
  5. Jan 11, 2013
  6. Jan 10, 2013
  7. Jan 04, 2013
  8. Jan 03, 2013
  9. Dec 31, 2012
    • Nikos Skalkotos's avatar
      Fix pep8 errors · 6228d45e
      Nikos Skalkotos authored
      6228d45e
    • Nikos Skalkotos's avatar
      Fix bugs in rsync module · d15368cc
      Nikos Skalkotos authored
       * Fix a bug where the parent process did not wait on the child
         processes.
       * Make sure that when updating the copy progress bar, at least
         0.1 seconds have passed. This guarantees that we do not experience
         any flickering in the progress bar.
      d15368cc
  10. Dec 30, 2012
  11. Dec 29, 2012
  12. Dec 28, 2012
  13. Dec 24, 2012
  14. Dec 23, 2012
  15. Dec 20, 2012
  16. Dec 19, 2012
  17. Dec 14, 2012
  18. Dec 13, 2012
  19. Dec 11, 2012
  20. Nov 21, 2012
  21. Apr 10, 2012
  22. Apr 05, 2012
  23. Mar 19, 2012
  24. Feb 24, 2012
    • Nikos Skalkotos's avatar
      Major code revision · 8c574358
      Nikos Skalkotos authored
      * Add foreach_file function in OSBase. This is used by all cleanup
        methods
      * Add slackware class. This class derives from linux and overwrites the
        log cleanup behaviour. This is needed since slackware stores all
        package management info in /var/log/packages
      * Add a shrink method in DiskDevice. This method shrinks the last
        filesystem to the minimum size
      * Make the code style comply with pep8
      8c574358
  25. Feb 20, 2012
Loading