Closed GoogleCodeExporter closed 9 years ago
Original comment by arnos...@gmail.com
on 13 Mar 2008 at 8:29
Please install:
http://xinc.eu/api/deliverable/get/download/xinc/1209486753/Xinc.tgz
a new admin script is available to delete builds:
xinc-builds delete PROJECTNAME FROMTIMESTAMP [TOTIMESTAMP]
FROMTIMESTAMP/TOTIMESTAMP can be: unix timestamp OR timeformat: "2008-04-29
18:32:33-Europe/Berlin"
example:
xinc-builds delete SimpleProject "2008-04-29 18:32:33-Europe/Berlin" "2008-04-29
19:32:33-Europe/Berlin"
will delete all builds between 2008-04-29 18:32:33-Europe/Berlin and 2008-04-29
18:32:33-Europe/Berlin of project SimpleProject.
The "..." are important.
Please test and report if works as expected.
Regards,
Arno
Original comment by arnos...@gmail.com
on 29 Apr 2008 at 6:21
Original comment by arnos...@gmail.com
on 2 May 2008 at 11:35
1. There is no last \n on error message:
oleg@shoom-alpha:/var/xinc/projects/Telme$ xinc-builds delete "2008-01-01
00:00:00-Europe/Kiev" "2008-05-13 00:00:00 Europe/Kiev" [NOK]
Build of Project: 2008-01-01 00:00:00-Europe/Kiev with Build
Timestamp:2008-05-13
00:00:00 Europe/Kiev could not be deletedoleg@shoom-alpha:
2. There is no help or usage:( (xinc-builds --help)
3. It does not delete directories, only contents
[info] [2008-05-19 11:03:47-Europe/Helsinki] Successfully written modified meta
superdata
[info] [2008-05-19 11:03:49-Europe/Helsinki] Successfully deleted build directory:
/var/xinc/status/Telme/20080510/1210433105
[info] [2008-05-19 11:03:49-Europe/Helsinki] Successfully written modified metadata
[info] [2008-05-19 11:03:49-Europe/Helsinki] Successfully written modified meta
superdata
[info] [2008-05-19 11:03:50-Europe/Helsinki] Successfully deleted build directory:
/var/xinc/status/Telme/20080510/1210451654
[info] [2008-05-19 11:03:50-Europe/Helsinki] Successfully written modified metadata
[info] [2008-05-19 11:03:50-Europe/Helsinki] Successfully written modified meta
superdata
[info] [2008-05-19 11:03:53-Europe/Helsinki] Successfully deleted build directory:
/var/xinc/status/Telme/20080511/1210519509
oleg@shoom-alpha:/var/xinc/projects/Telme$ ls -la /var/xinc/status/Telme
total 44
drwxr-xr-x 10 root root 4096 2008-05-19 11:03 .
drw-r-xr-x 4 root root 4096 2008-05-19 10:57 ..
drwxr-xr-x 2 root root 4096 2008-05-19 11:03 20080510
drwxr-xr-x 3 root root 4096 2008-05-19 11:03 20080511
drwxr-xr-x 4 root root 4096 2008-05-13 22:46 20080513
oleg@shoom-alpha:/var/xinc/projects/Telme$ ls -la
/var/xinc/status/Telme/20080510
total 8
drwxr-xr-x 2 root root 4096 2008-05-19 11:03 .
drwxr-xr-x 10 root root 4096 2008-05-19 11:03 ..
Original comment by kingo...@gmail.com
on 19 May 2008 at 8:08
4. It is preffer use FROMTIMESTAMP as not mandatory:
xinc-builds delete PROJECTNAME [FROMTIMESTAMP] TOTIMESTAMP
Original comment by kingo...@gmail.com
on 19 May 2008 at 8:12
Original comment by opitz.al...@googlemail.com
on 19 Aug 2011 at 1:55
I fixed the output and added something like "help". So the user gets
informations on how to use it.
Original comment by opitz.al...@googlemail.com
on 30 Sep 2011 at 9:12
Original issue reported on code.google.com by
kingo...@gmail.com
on 6 Mar 2008 at 8:56