| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(#510346)
|
| |
|
| |
|
|
|
|
|
|
| |
Most of the FirstAidKit tool is architecture independent, but the rpm build process doesn't allow noarch package to have arch dependent subpackages. So make the main package a "meta" package which requires noarch subpackages for core engine, arch independent plugins and documentation and also requires proper plugins and parts for the architecture in question.
We will save space by having common stuff created as noarch and we will still be able to exclude some plugins on some architectures.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* firstaidkit.spec: Correctly identify the directories in the spec file.
This is done so that those directories can be correctly handled on
removing the package.
|
|
|
|
| |
Need to bump a second time to catch up with the CVS version.
|
| |
|
|
|
|
| |
* firstaidkit.spec: When in third person singular, add an "s" to the verb.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
1. Comment all the stuff we dont have in fedora distro. This makes it
much easier to cp the spec file when creating the new version of fak.
2. xserver.py: Its not experimental anymore.
|
| |
|
|
|
|
|
|
|
| |
1. Do the test the right way. We were checking the exact output in order
to validate the correctness of the cli. Randomness in FAK and other
issues interfered with this test schema. We now check specific output
string in the whole output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Makefile:
1. Cut counts from 1 not 0.
2. Create the "about" info in the makefile instead of spec file.
3. Put subdirs and about targets into one build target.
firstaidkit.spec:
1. Erase the about creation from here.
2. Erase the fedora 7 specific stuff.
3. Call make build.
4. xserver plugin does not need rhpl nor rhpxl anymore.
5. Actually include the COPYING file where the about says it is.
configuration.py:
1. Change the default backup dir from /tmp/fakbackup to /tmp.
/tmp/fakbackup caused some file permission strangeness when
a non root user executed fak after root had executed it. This
can still occur, but it will be left like this as the user
should not execute fak in non root anyway.
logging:
plugins.py,interpreter.py. __init__.py
1. Always use the reporting object when possible.
2. Add time stamp and level of message to log messages.
|
|
|
|
|
| |
1. Get rid of old grub plugin and related files.
2. Erased stale lines in spec file as well.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This introduces new requirements to the plugins.
1. If a plugin wants to be revertable it must implement the revert function.
This function will be accessible from the plugins top most namespace. The
same place where get_plugin is.
2. For the plugin's backend directory to be easily found, the plugin must
give the backend its module name as an id. In this way when the user
specifies in the revert command line plugin 'x', the revert class will
go to the backup directory in search for a directory called the same
way as the module of 'x'.
3. If the plugin developer does not want to use the system of backup dir
naming, there is a second way how to specify the backup dir. The
plugin must specify a function getBackupId(), that will return the id
of the backup space that can be used for the backup dir search.
Backup spaces that fail to comply with these directive will be ignored.
|
|
|
|
|
| |
Nothing was used from the original grub plugin. For now
they will both coexists in the code.
|
|
|
|
|
|
| |
This will prevent the configuration file from being erased
in case it already exists. We don't want a user's conifg
file being erased when Firstaidkit is reinstalled.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- The "_p" is not needed. Avoiding the suffix makes the names simpler.
- When the plugin needs to be separated into varios subplugins,
use the _ to signify that a subplugin is related to a father
plugin. Like rpm_lowlevel, this say that lowlevel is part of
the rpm plugin.
- When naming a plugin keep the name SHORT and simple.
- Be sure to name all the plugin packages as "plugin-name"
|
| |
|
| |
|
| |
|