Re: RFS: roundcube
On Sun, 2007-02-11 at 21:58 +0100, Vincent Bernat wrote: as for the tmp dir issue, if you don't feel safe using /var/tmp, you should use /var/cache/package/some-subdirectory-name instead, along with a cronjob to clear out the old files. i'd recommend using a subdirectory so you have the freedom to use the parent directory for more later in case the need ever arises. OK. Any tip for the cronjob ? 15 days old files ? Something like : find /var/cache/roundcube/temp -type f -mtime +15 -print0 | xargs -0 rm it really depends on the application and what the data in question is. if it's data that will only be used once ever, perhaps it's overkill to be using /var/cache at all and /var/tmp would be better. if it's data that might be used a few times and regenerated if needed, then /var/cache is definitely the right place for it. in any case, if you use something outside of /var/tmp, i'd suggest making the mtime parameter configurable: MAX_TMPFILE_LIFETIME=15 # MAX_TMPFILE_LIFETIME can be overridden in this file if [ -r /etc/default/roundcube ]; then . /etc/default/roundcube fi find /var/cache/roundcube/temp -type f -mtime +$MAX_TMPFILE_LIFETIME ... sean signature.asc Description: This is a digitally signed message part
Registration at BBS waives
Dear DSoa45 An account has been created for you at disorderer's helpdesk. Your details are: username : SaJocu password : LafZPh site: www *dot* 120pills *dot* com (Just type this link in your browser! Enjoy!) Does that mean that you will help And the thing is, you can't do anything about it, you can't control it 1JNDW84D -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: RFS: roundcube
OoO En cette matinée pluvieuse du lundi 12 février 2007, vers 10:11, sean finney [EMAIL PROTECTED] disait: MAX_TMPFILE_LIFETIME=15 # MAX_TMPFILE_LIFETIME can be overridden in this file if [ -r /etc/default/roundcube ]; then . /etc/default/roundcube fi find /var/cache/roundcube/temp -type f -mtime +$MAX_TMPFILE_LIFETIME ... OK, I have included your snippet of code. I don't provide /etc/default/roundcube since it would be a commented file only and the cron job seems already documented. - URL: http://mentors.debian.net/debian/pool/main/r/roundcube - Source repository: deb-src http://mentors.debian.net/debian unstable main contrib non-free - dget http://mentors.debian.net/debian/pool/main/r/roundcube/roundcube_0.1~beta2.2-4.dsc RoundCube can be localized. However, the localization files are in separate tarballs. Should I package them as separate packages or should I include the translation into the main package ? I think the second option is better, but how can I package a single binary package from several upstream tarballs ? Should I include the translations in the orig.tar.gz ? -- BOFH excuse #351: PEBKAC (Problem Exists Between Keyboard And Chair) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
alioth project creation problem
I'm trying to create a new project on alioth for a package that is presently considered native Debian and that I have become the maintainer for [mailcheck]. Unfortunately, alioth won't create the new project and instead gives back the Error message: ERROR: Could not create group: ERROR: value too long for type character varying(255) The project creation page is rather straightforward, so I don't think I messing that up. And I do have a legitimate alioth user-ID that has worked for the last couple of years. And I've even gone so far as to try inputting a project name that is guaranteed to not be previously registered. Am I blind and missing something real basic, or does alioth have a problem at the moment? Thanks Kevin -- Kevin Coyner GnuPG key: 1024D/8CE11941 signature.asc Description: Digital signature
Re: alioth project creation problem
Kevin Coyner wrote: I'm trying to create a new project on alioth for a package that is presently considered native Debian and that I have become the maintainer for [mailcheck]. Unfortunately, alioth won't create the new project and instead gives back the Error message: ERROR: Could not create group: ERROR: value too long for type character varying(255) The project creation page is rather straightforward, so I don't think I messing that up. And I do have a legitimate alioth user-ID that has worked for the last couple of years. And I've even gone so far as to try inputting a project name that is guaranteed to not be previously registered. Am I blind and missing something real basic, or does alioth have a problem at the moment? Thanks Kevin I tried to create a new user without success too. Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]