| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
|/
|
|
|
|
|
| |
Details can be found here: https://bugzilla.redhat.com/show_bug.cgi?id=515230#c1
The comment regarding check against older Python versions is needed to be able
to build RPMs on RHEL4 and RHEL5.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
debian/changelog
Had the same changelog entry in both xml and master
branch, with a minor wording difference. Removed the
duplicate and merged in the changelog entries from the
XML branch
src/dmidecode.c
Merge process got confused by some functions which was not
changed. Removed the code coming from the master branch and
let the XML be the base.
src/setup-dbg.py
src/setup.py
In the XML branch, the version of the python-dmidecode is
now a function which retrieves the version number from
src/version.h. Merged in this feature to master as well.
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| |/
| |
| |
| | |
Invalid homepage URI, reported by Jakub Wilk.
|
| |
| |
| |
| |
| | |
The libxml2 path is now handled by `setup_common.py', so the actual
setup files are clean from any OS-specific (Debian/RedHat) hacks.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Format has changed slightly. The original format in v2.10 was:
{'Next Scheduled Power-on': [' *','-*',' 0',':0',':0']}
The new format is: {'Next Scheduled Power-on': '*-* *:*:*'}
The reason is that the formatting in the original list was rather half-done,
containing separators in some of the elements.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Arguments for doing so is that asserts are important to catch
unhandled error situations and will help debugging if it fails
in a production environment.
|
| | |
|
| |
| |
| |
| |
| | |
Could also be related to an older libxml2 version as well, as this
behaviour was found on RHEL4u4
|
| |
| |
| |
| | |
This caused an exception on Python2.3
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a simple utility which dumps DMI/SMBIOS data straight
to a file, written i C and should not depend on anything extra.
Useful to get DMI/SMBIOS data without installing python and/or
python-dmidecode. The data dump can be parsed by python-dmidecode
later on on a different box.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
well"
This reverts commit b1db52e62be1a700517308877b08dbf8c5d9e1eb.
This change broke rpmbuild --rebuild. So the version number cannot be set
dynamically like this. Reverting back to manually updating it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This function will ignore the case of the string of the value to be
found. This improves the behaviour mentioned in
commit 20030e42b4d3f7283f6143641cb009a8dbf1da24.
At the moment, the immediate advantage is that the pymap.xml is
not strictly bound to if the type IDs in hex are in upper and/or
lower case. Both cases and mixed cases will now work.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If the XPath expression for the key value points on a non-existing XML
node, it would earlier abort pythonizing the XML data. Even though this
could look like the correct behaviour, it will not work out well in
reality.
For sections like 'bios', it might be that the DMI/SMBIOS data do not
describe or provide the BIOSLanguage section (type id 0x0D). Which
means calling dmidecode.bios() would fail completely instead of
reporting what it could find.
This patch fixes this issue and it will normally ignore not found key
values and just continue pythonizing the XML data and return what it
managed to translate into a Python dictionary.
If DEBUG is defined when compiling python-dmidecode, a warning message
will be printed directly to stderr when a key value is not found.
A warning is printed if dmidecode is compiled with DEBUG defined.
|
| |
| |
| |
| |
| | |
Upper case hex string values is used in the pymap.xml file. This should be
improved so that type id is case insensitive.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Now you only need to change the src/version.h to set the correct version
numbers. The utils/set_version script will still help you remember the
important steps and make sure you don't do the wrong things.
|
| | |
|
| |
| |
| |
| |
| | |
This spec file do not contain anything Red Hat specific, so I gave
it a more generic name
|
| | |
|
| | |
|
| | |
|
| | |
|