qasim 0.1.11.dev.2014102811
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +31 -0
- data/Gemfile +7 -0
- data/LICENSE-GPL-3 +674 -0
- data/Makefile +180 -0
- data/README.md +81 -0
- data/Rakefile +1 -0
- data/TODO.md +28 -0
- data/bin/qasim-cli +89 -0
- data/bin/qasim-gui +300 -0
- data/conf/config +2 -0
- data/conf/default.map +32 -0
- data/conf/qasim.desktop +13 -0
- data/data/icons/qasim.128.png +0 -0
- data/data/icons/qasim.16.png +0 -0
- data/data/icons/qasim.256.png +0 -0
- data/data/icons/qasim.32.png +0 -0
- data/data/icons/qasim.64.png +0 -0
- data/data/icons/qasim.png +0 -0
- data/data/icons/qasim.svg +192 -0
- data/data/text/authors.html +7 -0
- data/data/text/gpl-3.0-standalone.html +694 -0
- data/data/text/thanks.html +0 -0
- data/debian/changelog +73 -0
- data/debian/compat +1 -0
- data/debian/control +13 -0
- data/debian/copyright +38 -0
- data/debian/dirs +3 -0
- data/debian/docs +0 -0
- data/debian/rules +80 -0
- data/debian/source/format +1 -0
- data/demo.map +29 -0
- data/examples/config +2 -0
- data/examples/default.map +32 -0
- data/lib/qasim.rb +11 -0
- data/lib/qasim/config.rb +56 -0
- data/lib/qasim/configold.rb +123 -0
- data/lib/qasim/constants.rb +11 -0
- data/lib/qasim/map.rb +225 -0
- data/lib/qasim/qasim.qrc +8 -0
- data/lib/qasim/ui.rb +7 -0
- data/lib/qasim/ui/about.rb +58 -0
- data/lib/qasim/ui/about.ui +192 -0
- data/lib/qasim/ui/listmaps.ui +59 -0
- data/lib/qasim/ui/preferences.rb +12 -0
- data/lib/qasim/ui/preferences.ui +90 -0
- data/lib/qasim/version.rb +5 -0
- data/man/qasim-cli.1 +98 -0
- data/man/qasim-gui.1 +98 -0
- data/man/sshfs-mapper.1 +98 -0
- data/mapparser.y +155 -0
- data/qasim.gemspec +34 -0
- data/sshfs-mapper.completion +24 -0
- data/sshfs-mapper.sh +253 -0
- metadata +147 -0
@@ -0,0 +1,59 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ui version="4.0">
|
3
|
+
<class>MapList</class>
|
4
|
+
<widget class="QWidget" name="MapList">
|
5
|
+
<property name="geometry">
|
6
|
+
<rect>
|
7
|
+
<x>0</x>
|
8
|
+
<y>0</y>
|
9
|
+
<width>238</width>
|
10
|
+
<height>293</height>
|
11
|
+
</rect>
|
12
|
+
</property>
|
13
|
+
<property name="windowTitle">
|
14
|
+
<string>Form</string>
|
15
|
+
</property>
|
16
|
+
<layout class="QVBoxLayout" name="verticalLayout_2">
|
17
|
+
<item>
|
18
|
+
<layout class="QVBoxLayout" name="verticalLayout">
|
19
|
+
<item>
|
20
|
+
<widget class="QListView" name="listView"/>
|
21
|
+
</item>
|
22
|
+
<item>
|
23
|
+
<layout class="QHBoxLayout" name="horizontalLayout">
|
24
|
+
<item>
|
25
|
+
<widget class="QToolButton" name="toolButton">
|
26
|
+
<property name="text">
|
27
|
+
<string>...</string>
|
28
|
+
</property>
|
29
|
+
</widget>
|
30
|
+
</item>
|
31
|
+
<item>
|
32
|
+
<widget class="QToolButton" name="toolButton_2">
|
33
|
+
<property name="text">
|
34
|
+
<string>...</string>
|
35
|
+
</property>
|
36
|
+
</widget>
|
37
|
+
</item>
|
38
|
+
<item>
|
39
|
+
<spacer name="horizontalSpacer">
|
40
|
+
<property name="orientation">
|
41
|
+
<enum>Qt::Horizontal</enum>
|
42
|
+
</property>
|
43
|
+
<property name="sizeHint" stdset="0">
|
44
|
+
<size>
|
45
|
+
<width>40</width>
|
46
|
+
<height>20</height>
|
47
|
+
</size>
|
48
|
+
</property>
|
49
|
+
</spacer>
|
50
|
+
</item>
|
51
|
+
</layout>
|
52
|
+
</item>
|
53
|
+
</layout>
|
54
|
+
</item>
|
55
|
+
</layout>
|
56
|
+
</widget>
|
57
|
+
<resources/>
|
58
|
+
<connections/>
|
59
|
+
</ui>
|
@@ -0,0 +1,90 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<ui version="4.0">
|
3
|
+
<class>Preferences</class>
|
4
|
+
<widget class="QDialog" name="Preferences">
|
5
|
+
<property name="geometry">
|
6
|
+
<rect>
|
7
|
+
<x>0</x>
|
8
|
+
<y>0</y>
|
9
|
+
<width>554</width>
|
10
|
+
<height>414</height>
|
11
|
+
</rect>
|
12
|
+
</property>
|
13
|
+
<property name="windowTitle">
|
14
|
+
<string>Preferences</string>
|
15
|
+
</property>
|
16
|
+
<property name="windowIcon">
|
17
|
+
<iconset resource="../qasim.qrc">
|
18
|
+
<normaloff>:/qasim/qasim-icon</normaloff>:/qasim/qasim-icon</iconset>
|
19
|
+
</property>
|
20
|
+
<layout class="QVBoxLayout" name="verticalLayout">
|
21
|
+
<item>
|
22
|
+
<layout class="QVBoxLayout" name="verticalLayout_2">
|
23
|
+
<item alignment="Qt::AlignTop">
|
24
|
+
<widget class="QLabel" name="label">
|
25
|
+
<property name="sizePolicy">
|
26
|
+
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
|
27
|
+
<horstretch>0</horstretch>
|
28
|
+
<verstretch>0</verstretch>
|
29
|
+
</sizepolicy>
|
30
|
+
</property>
|
31
|
+
<property name="text">
|
32
|
+
<string><html><head/><body><p><span style=" font-weight:600;">Configure SSHFS maps</span></p></body></html></string>
|
33
|
+
</property>
|
34
|
+
</widget>
|
35
|
+
</item>
|
36
|
+
<item>
|
37
|
+
<widget class="QWidget" name="widget" native="true"/>
|
38
|
+
</item>
|
39
|
+
</layout>
|
40
|
+
</item>
|
41
|
+
<item>
|
42
|
+
<widget class="QDialogButtonBox" name="buttonBox">
|
43
|
+
<property name="orientation">
|
44
|
+
<enum>Qt::Horizontal</enum>
|
45
|
+
</property>
|
46
|
+
<property name="standardButtons">
|
47
|
+
<set>QDialogButtonBox::Apply|QDialogButtonBox::Discard|QDialogButtonBox::Reset</set>
|
48
|
+
</property>
|
49
|
+
</widget>
|
50
|
+
</item>
|
51
|
+
</layout>
|
52
|
+
</widget>
|
53
|
+
<resources>
|
54
|
+
<include location="../qasim.qrc"/>
|
55
|
+
</resources>
|
56
|
+
<connections>
|
57
|
+
<connection>
|
58
|
+
<sender>buttonBox</sender>
|
59
|
+
<signal>accepted()</signal>
|
60
|
+
<receiver>Preferences</receiver>
|
61
|
+
<slot>accept()</slot>
|
62
|
+
<hints>
|
63
|
+
<hint type="sourcelabel">
|
64
|
+
<x>248</x>
|
65
|
+
<y>254</y>
|
66
|
+
</hint>
|
67
|
+
<hint type="destinationlabel">
|
68
|
+
<x>157</x>
|
69
|
+
<y>274</y>
|
70
|
+
</hint>
|
71
|
+
</hints>
|
72
|
+
</connection>
|
73
|
+
<connection>
|
74
|
+
<sender>buttonBox</sender>
|
75
|
+
<signal>rejected()</signal>
|
76
|
+
<receiver>Preferences</receiver>
|
77
|
+
<slot>reject()</slot>
|
78
|
+
<hints>
|
79
|
+
<hint type="sourcelabel">
|
80
|
+
<x>316</x>
|
81
|
+
<y>260</y>
|
82
|
+
</hint>
|
83
|
+
<hint type="destinationlabel">
|
84
|
+
<x>286</x>
|
85
|
+
<y>274</y>
|
86
|
+
</hint>
|
87
|
+
</hints>
|
88
|
+
</connection>
|
89
|
+
</connections>
|
90
|
+
</ui>
|
data/man/qasim-cli.1
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
.\" Hey, EMACS: -*- nroff -*-
|
2
|
+
.\" First parameter, NAME, should be all caps
|
3
|
+
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
4
|
+
.\" other parameters are allowed: see man(7), man(1)
|
5
|
+
.TH QASIM-CLI 1 "august 12, 2014"
|
6
|
+
.\" Please adjust this date whenever revising the manpage.
|
7
|
+
.\"
|
8
|
+
.\" Some roff macros, for reference:
|
9
|
+
.\" .nh disable hyphenation
|
10
|
+
.\" .hy enable hyphenation
|
11
|
+
.\" .ad l left justify
|
12
|
+
.\" .ad b justify to both left and right margins
|
13
|
+
.\" .nf disable filling
|
14
|
+
.\" .fi enable filling
|
15
|
+
.\" .br insert line break
|
16
|
+
.\" .sp <n> insert n+1 empty lines
|
17
|
+
.\" for manpage-specific macros, see man(7)
|
18
|
+
|
19
|
+
|
20
|
+
.SH NAME
|
21
|
+
|
22
|
+
sshfs-mapper \- A small utility for automatizing sshfs mounts.
|
23
|
+
|
24
|
+
|
25
|
+
.SH SYNOPSIS
|
26
|
+
|
27
|
+
.B sshfs-mapper
|
28
|
+
.RI [ options ]
|
29
|
+
|
30
|
+
|
31
|
+
.SH DESCRIPTION
|
32
|
+
This manual page documents briefly the
|
33
|
+
.B sshfs-mapper
|
34
|
+
command.
|
35
|
+
.PP
|
36
|
+
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
37
|
+
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
38
|
+
.\" respectively.
|
39
|
+
\fBsshfs-mapper\fP is a program that...
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
.SH OPTIONS
|
44
|
+
|
45
|
+
.TP
|
46
|
+
.B \-h\fP, \fB--help
|
47
|
+
Show summary of options.
|
48
|
+
.TP
|
49
|
+
.B \-i\fP, \fB--init
|
50
|
+
Initialize sshfs-mapper configuration.
|
51
|
+
.TP
|
52
|
+
.B \-l\fP, \fB--list
|
53
|
+
List available maps.
|
54
|
+
.TP
|
55
|
+
.B \-a\fP, \fB--all
|
56
|
+
Select all maps.
|
57
|
+
.TP
|
58
|
+
.B \-s\fP, \fB--select \fImap\fP
|
59
|
+
Only use specified map.
|
60
|
+
.TP
|
61
|
+
.B \-u\fP, \fB--umount
|
62
|
+
Umount maps (mount if the flag is not specified).
|
63
|
+
.TP
|
64
|
+
.B \-v\fP, \fB--verbose
|
65
|
+
Show version of program.
|
66
|
+
|
67
|
+
|
68
|
+
.SH FILES
|
69
|
+
|
70
|
+
.TP
|
71
|
+
$XDG_CONFIG_HOME/sshfs-mapper/config
|
72
|
+
|
73
|
+
Global settings file.
|
74
|
+
|
75
|
+
.TP
|
76
|
+
$XDG_CONFIG_HOME/sshfs-mapper/*.map
|
77
|
+
|
78
|
+
Per-host configuration and mappings.
|
79
|
+
|
80
|
+
|
81
|
+
.SH CONFIGURATION
|
82
|
+
|
83
|
+
Configuration file is stored inside $XDG_CONFIG_HOME/sshfs-mapper/ .
|
84
|
+
Global settings are storend in the \fBconfig\fP file a FIXME
|
85
|
+
|
86
|
+
.SH SEE ALSO
|
87
|
+
|
88
|
+
.BR sshfs (1),
|
89
|
+
.BR ssh (1),
|
90
|
+
.BR ssh-keygen (1).
|
91
|
+
|
92
|
+
|
93
|
+
.SH AUTHOR
|
94
|
+
|
95
|
+
sshfs-mapper was written by Glenn.Rolland <glenux@glenux.net>.
|
96
|
+
.PP
|
97
|
+
This manual page was written by Glenn ROLLAND <glenux@glenux.net>,
|
98
|
+
for the Debian project (but may be used by others).
|
data/man/qasim-gui.1
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
.\" Hey, EMACS: -*- nroff -*-
|
2
|
+
.\" First parameter, NAME, should be all caps
|
3
|
+
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
4
|
+
.\" other parameters are allowed: see man(7), man(1)
|
5
|
+
.TH QASIM-GUI 1 "august 12, 2014"
|
6
|
+
.\" Please adjust this date whenever revising the manpage.
|
7
|
+
.\"
|
8
|
+
.\" Some roff macros, for reference:
|
9
|
+
.\" .nh disable hyphenation
|
10
|
+
.\" .hy enable hyphenation
|
11
|
+
.\" .ad l left justify
|
12
|
+
.\" .ad b justify to both left and right margins
|
13
|
+
.\" .nf disable filling
|
14
|
+
.\" .fi enable filling
|
15
|
+
.\" .br insert line break
|
16
|
+
.\" .sp <n> insert n+1 empty lines
|
17
|
+
.\" for manpage-specific macros, see man(7)
|
18
|
+
|
19
|
+
|
20
|
+
.SH NAME
|
21
|
+
|
22
|
+
qasim-gui \- A small utility for automatizing sshfs mounts - GUI version
|
23
|
+
|
24
|
+
|
25
|
+
.SH SYNOPSIS
|
26
|
+
|
27
|
+
.B qasim-gui
|
28
|
+
.RI [ options ]
|
29
|
+
|
30
|
+
|
31
|
+
.SH DESCRIPTION
|
32
|
+
This manual page documents briefly the
|
33
|
+
.B sshfs-mapper
|
34
|
+
command.
|
35
|
+
.PP
|
36
|
+
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
37
|
+
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
38
|
+
.\" respectively.
|
39
|
+
\fBsshfs-mapper\fP is a program that...
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
.SH OPTIONS
|
44
|
+
|
45
|
+
.TP
|
46
|
+
.B \-h\fP, \fB--help
|
47
|
+
Show summary of options.
|
48
|
+
.TP
|
49
|
+
.B \-i\fP, \fB--init
|
50
|
+
Initialize sshfs-mapper configuration.
|
51
|
+
.TP
|
52
|
+
.B \-l\fP, \fB--list
|
53
|
+
List available maps.
|
54
|
+
.TP
|
55
|
+
.B \-a\fP, \fB--all
|
56
|
+
Select all maps.
|
57
|
+
.TP
|
58
|
+
.B \-s\fP, \fB--select \fImap\fP
|
59
|
+
Only use specified map.
|
60
|
+
.TP
|
61
|
+
.B \-u\fP, \fB--umount
|
62
|
+
Umount maps (mount if the flag is not specified).
|
63
|
+
.TP
|
64
|
+
.B \-v\fP, \fB--verbose
|
65
|
+
Show version of program.
|
66
|
+
|
67
|
+
|
68
|
+
.SH FILES
|
69
|
+
|
70
|
+
.TP
|
71
|
+
$XDG_CONFIG_HOME/sshfs-mapper/config
|
72
|
+
|
73
|
+
Global settings file.
|
74
|
+
|
75
|
+
.TP
|
76
|
+
$XDG_CONFIG_HOME/sshfs-mapper/*.map
|
77
|
+
|
78
|
+
Per-host configuration and mappings.
|
79
|
+
|
80
|
+
|
81
|
+
.SH CONFIGURATION
|
82
|
+
|
83
|
+
Configuration file is stored inside $XDG_CONFIG_HOME/sshfs-mapper/ .
|
84
|
+
Global settings are storend in the \fBconfig\fP file a FIXME
|
85
|
+
|
86
|
+
.SH SEE ALSO
|
87
|
+
|
88
|
+
.BR sshfs (1),
|
89
|
+
.BR ssh (1),
|
90
|
+
.BR ssh-keygen (1).
|
91
|
+
|
92
|
+
|
93
|
+
.SH AUTHOR
|
94
|
+
|
95
|
+
sshfs-mapper was written by Glenn.Rolland <glenux@glenux.net>.
|
96
|
+
.PP
|
97
|
+
This manual page was written by Glenn ROLLAND <glenux@glenux.net>,
|
98
|
+
for the Debian project (but may be used by others).
|
data/man/sshfs-mapper.1
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
.\" Hey, EMACS: -*- nroff -*-
|
2
|
+
.\" First parameter, NAME, should be all caps
|
3
|
+
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
|
4
|
+
.\" other parameters are allowed: see man(7), man(1)
|
5
|
+
.TH SSHFS-MAPPER 1 "mars 15, 2008"
|
6
|
+
.\" Please adjust this date whenever revising the manpage.
|
7
|
+
.\"
|
8
|
+
.\" Some roff macros, for reference:
|
9
|
+
.\" .nh disable hyphenation
|
10
|
+
.\" .hy enable hyphenation
|
11
|
+
.\" .ad l left justify
|
12
|
+
.\" .ad b justify to both left and right margins
|
13
|
+
.\" .nf disable filling
|
14
|
+
.\" .fi enable filling
|
15
|
+
.\" .br insert line break
|
16
|
+
.\" .sp <n> insert n+1 empty lines
|
17
|
+
.\" for manpage-specific macros, see man(7)
|
18
|
+
|
19
|
+
|
20
|
+
.SH NAME
|
21
|
+
|
22
|
+
sshfs-mapper \- A small utility for automatizing sshfs mounts.
|
23
|
+
|
24
|
+
|
25
|
+
.SH SYNOPSIS
|
26
|
+
|
27
|
+
.B sshfs-mapper
|
28
|
+
.RI [ options ]
|
29
|
+
|
30
|
+
|
31
|
+
.SH DESCRIPTION
|
32
|
+
This manual page documents briefly the
|
33
|
+
.B sshfs-mapper
|
34
|
+
command.
|
35
|
+
.PP
|
36
|
+
.\" TeX users may be more comfortable with the \fB<whatever>\fP and
|
37
|
+
.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
|
38
|
+
.\" respectively.
|
39
|
+
\fBsshfs-mapper\fP is a program that...
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
.SH OPTIONS
|
44
|
+
|
45
|
+
.TP
|
46
|
+
.B \-h\fP, \fB--help
|
47
|
+
Show summary of options.
|
48
|
+
.TP
|
49
|
+
.B \-i\fP, \fB--init
|
50
|
+
Initialize sshfs-mapper configuration.
|
51
|
+
.TP
|
52
|
+
.B \-l\fP, \fB--list
|
53
|
+
List available maps.
|
54
|
+
.TP
|
55
|
+
.B \-a\fP, \fB--all
|
56
|
+
Select all maps.
|
57
|
+
.TP
|
58
|
+
.B \-s\fP, \fB--select \fImap\fP
|
59
|
+
Only use specified map.
|
60
|
+
.TP
|
61
|
+
.B \-u\fP, \fB--umount
|
62
|
+
Umount maps (mount if the flag is not specified).
|
63
|
+
.TP
|
64
|
+
.B \-v\fP, \fB--verbose
|
65
|
+
Show version of program.
|
66
|
+
|
67
|
+
|
68
|
+
.SH FILES
|
69
|
+
|
70
|
+
.TP
|
71
|
+
$XDG_CONFIG_HOME/sshfs-mapper/config
|
72
|
+
|
73
|
+
Global settings file.
|
74
|
+
|
75
|
+
.TP
|
76
|
+
$XDG_CONFIG_HOME/sshfs-mapper/*.map
|
77
|
+
|
78
|
+
Per-host configuration and mappings.
|
79
|
+
|
80
|
+
|
81
|
+
.SH CONFIGURATION
|
82
|
+
|
83
|
+
Configuration file is stored inside $XDG_CONFIG_HOME/sshfs-mapper/ .
|
84
|
+
Global settings are storend in the \fBconfig\fP file a FIXME
|
85
|
+
|
86
|
+
.SH SEE ALSO
|
87
|
+
|
88
|
+
.BR sshfs (1),
|
89
|
+
.BR ssh (1),
|
90
|
+
.BR ssh-keygen (1).
|
91
|
+
|
92
|
+
|
93
|
+
.SH AUTHOR
|
94
|
+
|
95
|
+
sshfs-mapper was written by Glenn.Rolland <glenux@glenux.net>.
|
96
|
+
.PP
|
97
|
+
This manual page was written by Glenn ROLLAND <glenux@glenux.net>,
|
98
|
+
for the Debian project (but may be used by others).
|