1
0
mirror of https://github.com/gryf/fs-uae-wrapper.git synced 2026-01-06 13:54:14 +01:00
Commit Graph

82 Commits

Author SHA1 Message Date
193e487bb9 Fix download link and typo in readme 0.8.1 2017-06-19 19:55:02 +02:00
eb9012f3fa Readme update 2017-01-12 21:09:12 +01:00
efbb5f6f05 Readme update 2017-01-09 06:41:16 +01:00
00e3cf9801 Introduced new configuration variable $WRAPPER
Calculation of file path may be performed in two different places -
first is the original location of the config file, second is on copied
one. Adding new option WRAPPER will take the same role as $CONFIG,
except it will be only parsed on copied configuration file.

An alternative would be to check existence in both places, but I'd like
to have it explicit.
0.8
2017-01-08 19:40:27 +01:00
388a8cc835 Fix for interpolate_variables function 2017-01-08 15:38:59 +01:00
83185011aa Fix for config options containing HOME variable 2017-01-08 15:37:29 +01:00
152446abbe Use logging for displaying messages
Also added debug logs
2017-01-08 13:58:47 +01:00
a918e4c9ff Added logging module 2017-01-08 13:17:41 +01:00
7931022777 Additional tests for util module 2017-01-08 12:35:51 +01:00
1a67b355ae Removed unused run function from savestate wrapper 2017-01-08 12:01:25 +01:00
6a026ecff1 Fix for typo in attribute name 2017-01-08 11:59:43 +01:00
bd0e3ea56a Added more tests for file_archive module 2017-01-08 11:56:40 +01:00
8a6ddda7c8 Make plain wrapper module use base.Base class 2017-01-08 11:21:43 +01:00
a14871c52f Get rid of run function for every wrapper module 2017-01-08 11:20:33 +01:00
8528d28a42 Get rid of unneeded _run_emulator parameter 2017-01-08 11:17:37 +01:00
ab4042f880 Refactor wrapper modules to have a main class with the same name 2017-01-07 13:13:18 +01:00
8892940339 Normalize paths for config options
Removing _kickstart_option in favor of _normalize_options method to
detect and replace relative paths with absolute ones. Dictionary with
changed options lands as a commandline switches for fs-uae during
execution.
2017-01-07 13:13:06 +01:00
853dca385e Readme update 0.7.1 2017-01-07 09:55:22 +01:00
334b56bad3 Version bump 0.7 2017-01-07 09:45:37 +01:00
6d84fc4b8a Make wrapper_archiver option mandatory in savestare module 2017-01-07 09:43:53 +01:00
c5ce27e637 Added savestate wrapper module 2017-01-07 09:31:59 +01:00
ae6e00ea1c Added gitignore 2017-01-07 09:29:18 +01:00
f1fb43ca64 Extract new base class for archive wrapper module 2017-01-07 09:10:03 +01:00
77cf10cee7 Fixed issue with compressing files with tar.*
This changeset fixes tar behavior on creating archive, like:

  tar cf foo.tar .

which include also archive file itself, so that tar reports an error
`file changed as we read it` during appending archive file to itself.

This changest is fixing that by replacing dot with list of items to be
added to the archive (similar as in RarArchive.create).
0.6
2017-01-06 16:53:49 +01:00
250b1c4c2c Version bump 0.5 2017-01-03 20:07:01 +01:00
0cbe6fc9d0 Added wrapper_save_state option 2017-01-03 19:34:42 +01:00
0b831e5b10 Setting assets paths in base class 2017-01-03 18:49:18 +01:00
1d35436dee Fixed tests for wrapper modules
Exchanged os.rename with shutil.move since there was a problem with
moving files between different filesystems.
2017-01-03 06:01:30 +01:00
db7b8e347a Version bump 0.4 2017-01-02 20:19:30 +01:00
994768806c Parametrize extract and create methods for Archive base class 2017-01-02 20:17:13 +01:00
19acb789b6 Added wrapper_archiver option
To give user a possibility to choose what archiver he can use another
options was introduced for cd32 and archive wrapper modules. This option
will indicate what archiver should be used for compressing the save
state directories.
2017-01-02 20:08:50 +01:00
5f98e9b794 Moved save state out of _make_archive method
Now _save_save method will be called from run() method.
2017-01-02 19:30:09 +01:00
3906e4c80b Moved which function to another module 2017-01-02 19:27:49 +01:00
38a2322e98 Fix for file_archive tests 0.3.1 2017-01-02 16:05:18 +01:00
48bb1b1e1f Bumped version, readme update 0.3 2017-01-02 15:46:07 +01:00
ee65e7ed7f Added support for zip archiver
Also fixed issue with extension get from regexp
2017-01-02 15:39:28 +01:00
230ec154b6 Fix for archives like .tar.bz2 2017-01-02 14:06:34 +01:00
77dd4dfaf4 Added new function for creating archives 2017-01-02 13:50:39 +01:00
22d152bb64 Extract getting the title to a new method in wrapper base class 2017-01-02 13:48:24 +01:00
38a9604916 Implementation for saving changes in archive wrapper module 2017-01-02 13:47:07 +01:00
251fab377b Non existed archive will not be fatal
Moved logic which check for archive file explicitly to extract method.
That way get_archiver will return archiver for not (yet) existed
archives.
2017-01-02 13:13:55 +01:00
252c013fc4 New wrapper module - for archived fs 2017-01-02 11:03:27 +01:00
dcf2ab0634 Cleaned up tests 2017-01-02 11:02:49 +01:00
026dbf6abd Added tests for file_archive module 2017-01-02 10:53:16 +01:00
c8fa2d7ad4 Added archive file handler 2017-01-02 10:01:10 +01:00
ab71e270d8 Removed archive from utils 2017-01-02 10:00:35 +01:00
989c268b56 Added test for base wrapper class
Moved most tests from cd32 module to base one. Added missing tests for
cd32 module.
2017-01-01 18:33:31 +01:00
fa7afcb73b Adjust existing cd32 module for base class
Fix failing tests for small changes in utils and cd32/base modules
2017-01-01 17:31:40 +01:00
47787a3ab2 Added base class for wrapper modules 2017-01-01 17:31:25 +01:00
4c39e572a6 Removed six as a dependency
Changed logic for checking if run_command argument is a list. Fixed
tests and refactoring save_save() method in cd32 module.
2017-01-01 14:13:48 +01:00