Menu

/trunk/gui/common/system.py Commit Log


Commit Date  
[r8555] (6.7 kB) by yaberauneya

Fix a potential corner case where the version would print out the $REVISION variable in parentheses (this mostly applies to release builds); see nanobsd/freenas-common:save_build() for more details about what I mean.

2011-11-02 17:48:02 View
Download
[r8453] (6.6 kB) by yaberauneya

Cache the version to avoid unnecessary 'I/O' (even though it's just a memory disk).

2011-10-27 10:03:37 View
Download
[r8452] (6.5 kB) by yaberauneya

Clean up 'find alias for smtplib' script:

1. Unbreak multiple recipient specification on the command line.
2. Make it apparent that -t actually is for parsing recipients from a message
body.
3. Use the email module with some minimal parsing to avoid unnecessary breakage
down the line because of ad hoc header parsing method previously employed.
4. Make send_mail a bit more robust / atomic.
5. Don't override library modules (email).
6. Remove dupe modules.
7. Simplify code a bit more (it could be simplified even further, but this is
good enough for now).

This will fix mass emailing, which affects SMART reports at least if multiple
recipients are specified.

This addresses ticket # 960.

2011-10-27 10:01:15 View
Download
[r8353] (6.6 kB) by zippybr

use _charset for MIMEText

2011-10-20 10:35:19 View
Download
[r8332] (6.6 kB) by zippybr

use smtplib.connect() if smtp auth was not provided

2011-10-19 12:41:22 View
Download
[r7994] (6.6 kB) by zippybr

accept to send plain mime message

2011-09-27 20:20:29 View
Download
[r7818] (6.4 kB) by yaberauneya

Build system, branding, and image size enhancements.

Overall:

- Use variables instead of hardcoded and relative path based assumptions.
- Change branding from FreeNAS to a (largely) build driven variable name to simplify muxing between FreeNAS and TrueNAS.
- Rename /etc/version.freenas to /etc/version .
- Change the version info to <sw-name>-<version>-<revision>-<arch>, e.g.
FreeNAS-8.1-r7817-amd64 .

build/do_build.sh:

- Simplify arguments for forcing builds again to -f (no args), based on feedback from jpaetzel.
- Use variables as necessary.
- Add alpha support for unionfs based builds. This doesn't work with UFS SU+J on 9.0-BETA1+, so caveat emptor.

build/functions.sh:

- Consolidate build-related functions into a single file for simplicity.

build/nano_env:

- Add a file which contains the master info for how a build is performed.

gui/...:

- Chase the changes done above, but try to simplify / improve how things are done, emitting more diagnostic info than before.

nanobsd/common:

1. Allow the end user to specify the number of CPUS in the environment if they want, instead of hardcoding $CPUS + 1.
2. Nuke .pyc files. They're created automatically by They'll get regenerated on the fly once they're read in again by the interpreter.
3. Nuke the headers (minus the pyconfig.h -- it's required at runtime) since we're not compiling binaries (cc, etc isn't included in the final image).
4. Nuke all of perl the right way if $DEBUG == 1.

Misc:
nanobsd/freenas-common:

- Start features based build tunables for

2011-09-19 00:25:06 View
Download
[r7751] (6.8 kB) by zippybr

syslog common.system.send_mail errors in /var/log/maillog

2011-09-14 16:01:36 View
Download
[r7736] (6.6 kB) by zippybr

extend send_mail a bit with backward compatibility

2011-09-13 18:49:34 View
Download
[r7658] (6.2 kB) by yaberauneya

- Simplify some logic.
- Improve style a little bit.

2011-09-11 09:26:28 View
Download
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.