| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
This involves getting rid of most of the real code out of this file, adding a
minimal subclass of the ExceptionHandler class to do the copying and pdb setup
anaconda needs, and calling the install method from within anaconda. We also
need to no longer call handleException from elsewhere in anaconda. That method
no longer exists.
|
|
|
|
| |
Just auditing the world for clarity, don't mind me.
|
|
|
|
|
|
| |
Also decrease yum debug log detail.
Related commit introducing yum.log is
96999a5ba329b41bf555ab945a4749755b97c974.
|
|
|
|
|
|
| |
Include /proc/cmdline in exception dumps so that we can see
what arguments people are trying to pass without having to
ask every single time.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes two problems with how we determine tracebacks are the same based
on filename comparisons:
(1) Comparisons between python files on i386 and x86-64 tracebacks fail because
/usr/lib and /usr/lib64 are different, even though the files themselves are the
same.
(2) Comparisons between python files on the running system and in /tmp/updates
fail obviously. This is a little less concerning to fail on, but since the
lines of code are likely to change in an updates.img, duplicates should still
work properly.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|