| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The __str__ method on a KickstartParser will cause the whole object to be printed
out as a kickstart file. This means we have no chance to exclude certain
sensitive pieces of information. It would be better for us to not see the ksdata
at all than to see passwords.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
exception.py:
- Remove unused partedUtils import.
- Collect things from storage, not partitions.
gui.py:
- exceptionDisks is in storage now, not diskset.
installclasses/rhel.py:
installclasses/fedora.py:
- setDefaultPartitioning take storage arg, not partitions.
iw/autopart_type.py:
- Find things in storage, not partitions.
iw/bootloader_main_gui.py:
iw/osbootwidget.py:
- Remove unused partedUtils import.
- Find fsset in storage now.
- Use storage, not diskset, for iterating over disks/partitions.
iw/lvm_dialog_gui.py:
- Fix several typos from the original storage update.
iw/partition_gui.py:
- Find unusedMDMembers in storage, not partitions.
iw/partitionui_helpers_gui.py:
- Use StorageDevice.minSize,maxSize for resize limits.
- Update doUIRAIDLVMChecks to use new storage module.
packages.py:
- Use new storage module to list vgs for selinux hack.
storage/__init__.py:
- Fix FSSet.createSwapFile so it creates the file on the
correct device.
storage/iscsi.py:
- Use new storage module to identify iscsi disks.
textw/partition_text.py:
textw/upgrade_text.py:
- Initial update to use new storage module.
yuminstall.py:
- Use storage module to find space for upgrade transaction.
- Use storage module to locate protected partitions to mount
in doPreInstall.
|
| |
|
| |
|
| |
|
|
|
|
| |
This function is just a pass-through for isys.readFSType().
|
| |
|
| |
|
|
|
|
|
| |
This is the patch Chris posted, modified to use
inspect.stack to generate the traceback.
|
|
|
|
|
|
|
|
|
|
| |
This allows us to generate traceback-like stacks on demand
using inspect.stack(). stack() returns a list of tuples
representing the stack frames at the time of invocation. A
traceback object can be converted to a list of these
tuples by calling inspect.getinnerframes(tb). NOTE: the
stack() function returns the frames in the opposite order
of a traceback's.
|
| |
|
| |
|
|
|
|
|
|
| |
This is useful because the status_whiteboard can be used for other things -
like NEEDSRETESTING. Our old search doesn't take this into account and will
therefore fail to find dupes if the whiteboard contains something else.
|
|
|
|
|
|
|
|
|
|
| |
Prerelease version of Fedora sometimes get version numbers in .treeinfo or
.buildstamp like 10-Beta. However, this version does not exist in bugzilla so
we get an error trying to save the bug. This could also happen in respins.
So, grab a list of all the versions that are valid for the product out of
bugzilla and make sure productVersion exists. If not, either use the
develVersion from the installclass or just use the last one out of the the
list.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Different products and distributions could support completely different
bug filing system (or none at all, for that matter) so support an
abstraction that allows us to use multiple kinds of bug files. We still
need to commit that abstraction somewhere and also make sure we allow full
customization through the product.img.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds support for save to bugzilla, using the python-bugzilla module.
We get the bugzilla URL from product.bugUrl and require the user to already
have a valid account with that bugzilla instance. That should cut down on
potential abuse.
To cut down on the number of possible duplicates, we hash the file name,
function name, and line of each frame in the traceback and store that hash in
the bug itself. Before filing a new bug, we query for any bugs containing that
hash value. If found, we simply add the traceback as a new attachment and put
the user on the CC list. If not found, we create a new bug. Either way, the
user is encouraged to visit their bug and make a more meaningful comment.
|
|
|
|
|
|
|
| |
The purpose of this class is to package up the Python representation of a
traceback along with some methods for doing all the dumping and mangling
that we need to do. In particular, now there's fewer values to pass around
to the various functions in the exn saving dialogs.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* po/sk.po: Typo fix.
|
|
|
|
|
|
|
| |
If you're doing a live install, you often won't have removable media inserted
but you _can_ just save the exception somewhere and then report it. So let's
take advantage of that. Not implemented for text mode as text-mode live
installs aren't that relevant
|
|
|
|
|
| |
This way, we can shove it into our exception dumps and also it'll be easier
for people to look at and attach if they hit problems with the resizing code
|
|
|
|
|
|
|
| |
Shorten 'Red Hat Author(s)' to just 'Author(s)'. Perhaps eventually
we'll get an AUTHORS file and will just remove author names from the
individual files. Also fixed a type in scripts/dumphdrlist.py where
Author was listed twice.
|
|
|
|
|
|
| |
Updated all *.py files to have a uniform GPL boilerplate. Expanded copyright
year ranges and listed authors (if they were in the comment section) under
the Red Hat Author(s) section.
|
|
|
|
|
| |
First try mounting as whatever fs is on the disk/partition. If it's blank,
or mounting a vfat partition fails, format as vfat.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
other than floppy and remote via scp in the future. USB support is almost
there.
|
| |
|
|
|
|
| |
in what we wait for (patch from alanm AT redhat DOT com, #286031).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* autopart.py: Change references of "Reboot" -> "Exit installer"
to make more sense in live install case.
* exception.py: Likewise.
* fsset.py: Likewise.
* gui.py: Likewise.
* harddrive.py: Likewise.
* image.py: Likewise.
* packages.py: Likewise.
* upgrade.py: Likewise.
* urlinstall: Likewise.
* yuminstall.py: Likewise.
* livecd.py (LiveCDCopyBackend.doRepoSetup): Add mnemonics
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* backend.py (AnacondaBackend.initLog): Don't open the install log
twice (Elliot Peele)
* installclass.py (availableClasses): Log a warning when there's
an error loading an installclass; raise it in debug mode (Elliot Peele)
* exception.py: rpm import not used (Elliot Peele)
|