Skip to content

Commit b4e4ff5

Browse files
authored
Merge pull request #44 from WhereGroup/misc_improvements
Misc improvements
2 parents 0aefdcb + 3a66511 commit b4e4ff5

File tree

2 files changed

+19
-28
lines changed

2 files changed

+19
-28
lines changed

README.md

Lines changed: 19 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
### Profile Manager for QGIS ###
1+
# Profile Manager for QGIS
22
A QGIS plugin for managing your profiles and data source connections.
33

44
https://plugins.qgis.org/plugins/profile_manager/
@@ -8,28 +8,20 @@ https://plugins.qgis.org/plugins/profile_manager/
88
<a href="https://github.com/WhereGroup/profile_manager/assets/7661092/0c646930-88d8-45fe-81c8-4a5bf4501152"><img src="https://github.com/WhereGroup/profile_manager/assets/7661092/0c646930-88d8-45fe-81c8-4a5bf4501152" width="200"></a>
99
<a href="https://github.com/WhereGroup/profile_manager/assets/7661092/079665d6-e0ff-45fb-a65c-3b49cd9229de"><img src="https://github.com/WhereGroup/profile_manager/assets/7661092/079665d6-e0ff-45fb-a65c-3b49cd9229de" width="200"></a>
1010

11-
### Installation ###
12-
To install the plugin manually just copy the folder into your QGIS profile directory under ./python/plugins/
11+
## Handle with care
12+
This plugin is still in an early stage. There is no thorough, automated testing yet.
13+
Please consider everything potentially broken and make sure you thoroughly check the
14+
results of your actions. We welcome bug reports and ideas for improvement. Your
15+
collaboration in coding or documenting its features and limitations would be highly
16+
appreciated.
1317

14-
- Windows directory:
15-
- `C:\Users\{USER}\AppData\Roaming\QGIS\QGIS3\profiles\{PROFILE}\python\plugins\`
16-
- Linux directory:
17-
- `~/.local/share/QGIS/QGIS3/profiles/{PROFILE}/python/plugins`
18-
- MacOS directory:
19-
- `~/Library/Application Support/QGIS/QGIS3/profiles`
20-
21-
### Features ###
18+
## Features
2219
- Create a new profile
23-
- Creates and initiates a new profile
24-
- Removing profile
25-
- Removes a selected profile
26-
- Copy profile
27-
- Creates a copy of a selected profile with a new name
28-
- Rename profile
29-
- Renames the profile with a name provided by the user
20+
- Removing profiles
21+
- Copying profiles
22+
- Renaming profiles
3023
- Importing data source connections from one profile to another
3124
- Removing data source connections from a profile
32-
- Removes the data source connection from the chosen SOURCE profile
3325
- Importing (spatial) bookmarks
3426
- Importing (data source) favourites
3527
- Importing plugins
@@ -38,26 +30,26 @@ To install the plugin manually just copy the folder into your QGIS profile direc
3830
- Importing scripts
3931
- Importing some symbology types & label settings
4032
- Importing QGIS UI settings (e.g. hidden toolbar items)
33+
- Exporting a profile in QGIS Deployment Toolkit (QDT) format
4134

4235
On all removal operations the user is being asked if they are certain
4336
that he wants to delete given source/profile.
44-
Additionally before every deletion a backup of the complete profiles
45-
folder is created under the following directory:
46-
- Windows directory:
47-
- `C:\Users\{USER}\QGIS Profile Manager Backup\`
48-
- Linux and MacOS directory:
49-
- `~/QGIS Profile Manager Backup/`
37+
Additionally, before every import or deletion, a backup of the affected
38+
profile is created in the user's home directory.
5039

51-
### Known (current) limitations ###
40+
## Known (current) limitations
5241
- Not all data source connections might be recognized and imported/removed
5342
- Not all data source connection types are supported
5443
- Python expression functions are not supported
5544
- Not all style things are supported, e.g. not 3D symbols, color ramps,
5645
tags, etc.
5746
- Errors might not always be communicated clearly so please TEST your
5847
migrated configurations before discarding originals!
48+
- Creating a new profile does not lead to the same result as creating
49+
a new profile in the QGIS GUI, e.g. the QGIS3.ini is not populated
50+
with defaults.
5951

60-
### Funding development ###
52+
## Funding development
6153
If you consider this plugin useful and would like to see it improved, e.g.
6254
with support for more profile settings, becoming more stable, being more
6355
thoroughly documented, leave the "experimental" plugin status or whatever

profile_manager/profile_manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ class ProfileManager:
5050
def __init__(self, iface):
5151
self.backup_path = Path.home() / "QGIS Profile Manager Backup"
5252

53-
# TODO in QGIS 3.30 we could and should use iface.userProfileManager()
5453
self.qgs_profile_manager = None
5554

5655
self.__dlg: Optional[ProfileManagerDialog] = None

0 commit comments

Comments
 (0)