Skip to content

Commit a16906f

Browse files
author
Maik Toepfer
committed
prepared release
1 parent 11f3450 commit a16906f

File tree

7 files changed

+60
-39
lines changed

7 files changed

+60
-39
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
build/
22
.vscode/
33
.vstags
4-
test/201MB.zip
4+
test/201MB.zip
5+
release/

Makefile

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ myfav_perl_distribution:
1919
# an image containing a freshly installed MyFav installation.
2020
# start manually via: docker run -p 80:80 -it myfav
2121
# access installer: http://localhost/cgi-bin/MyFavoriteThings/cgi/install.cgi
22-
myfav:
22+
myfav: myfav_perl_distribution
2323
$(call log_heading, Building My Favourite Things Image)
2424
docker build --tag myfav --file test/Dockerfile.myfav .
2525

2626
# build a test runner and then execute the integration tests.
27-
test: build_test_runner execute_test_runner
27+
test: myfav build_test_runner execute_test_runner
2828

2929
build_test_runner:
3030
$(call log_heading, Building Test Runner Image)
@@ -43,10 +43,21 @@ execute_test_runner:
4343
myfav_test_runner
4444

4545
clean:
46+
rm -rf release
4647
docker rm $(shell docker ps -a -q) || true
4748
docker rmi $(shell docker images -f "dangling=true" -q) || true
4849
docker rmi --force myfav
4950
docker rmi --force myfav_test_runner
5051
docker rmi --force myfav_perl_distribution
5152

52-
.PHONY: test myfav_perl_distribution
53+
release: myfav
54+
mkdir -p release
55+
export ID=$$(docker create myfav:latest) && \
56+
docker cp $$ID:/usr/local/apache2/cgi-bin/MyFavoriteThings/ release/ && \
57+
docker rm -v $$ID
58+
rm -rf release/MyFavoriteThings/data
59+
cd release/MyFavoriteThings && \
60+
zip -r ../release-VERSION_NUMBER.zip *
61+
62+
63+
.PHONY: test myfav_perl_distribution release

README.md

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,46 @@
22
One Time Downloader for small record labels
33

44

5-
[Downloads](documentation/Downloads.md) | [Screenshots](documentation/ScreenShots.md) | [Installation](documentation/Installation.md) | [UserGuide](documentation/UserGuide.md) | [FrequentlyAskedQuestions](documentation/FrequentlyAskedQuestions.md) | [TechnicalDetails](documentation/TechnicalDetails.md) | [FutureWork](documentation/FutureWork.md)
5+
[Installation](documentation/Installation.md) | [User Guide](documentation/UserGuide.md) | [FAQ](documentation/FrequentlyAskedQuestions.md) | [Technical Details](documentation/TechnicalDetails.md) | [Future Work](documentation/FutureWork.md) | [Maintenance Development](documentation/MaintenanceDev.md)
66

77
Provides small record labels with the ability to add a download voucher to their vinyl record releases. This download voucher contains an URL + a One time code to download the whole record as ZIP file containing MP3 files.
88

99
The label owner can create new download projects and manage existing downloads by the help of a web interface. Creating a new download project as well as producing the vouchers is just a matter of a few clicks.
1010

11-
Watch the 18 Minutes Video Presentation and Software Demo [here](http://vimeo.com/15281130)
11+
Further media:
12+
* example PDF with download codes generated by myfavoritethings
13+
* watch the 18 Minutes Video Presentation and Software Demo [here](http://vimeo.com/15281130)
1214

13-
**Update May 2015**
14-
Moved to github.com since Google Code is closing down.
1515

16-
**Update August 2014**
17-
New version 0.5d which also supports Perl 5.18 in [Downloads](documentation/Downloads.md)
16+
## Update September 2020
17+
New version 0.6.0. This version does not include feature changes. Instead *it brings its own Perl environment* so that myfavoritethings does not require a special Perl version installed (self-contained). This works around issues with former standard modules being deprecated and removed from the Perl core modules.
18+
19+
### Release Page
20+
https://github.com/samba2/myfavoritethings/releases/tag/release-0.6.0
1821

19-
---
22+
### Update
23+
To update your current installation:
24+
* ! backup your MyFavouriteThings folder in `cgi-bin` to an other location. Really, this is important as I don't guarantee a successful update !
25+
* download the [`release-0.6.0.zip`](https://github.com/samba2/myfavoritethings/releases/tag/release-0.6.0) file and extract it
26+
* *replace* all folders in your web servers `cgi-bin/MyFavouriteThings/` directory with the folders extracted from the zip file:
27+
* `cgi`
28+
* `html`
29+
* `lib`
30+
* `myfavCss`
2031

32+
* also there is the new `perl5` folder. Copy it next to the other directories.
2133

22-
![User Download Example](http://myfavoritethings.googlecode.com/files/userDownloadExample_small.png "Example Download Page")
34+
After the update your new folder structure should now look something like this:
35+
* `cgi` (updated)
36+
* `html` (updated)
37+
* `lib` (updated)
38+
* `myfavCss` (updated)
39+
* `test` (untouched)
40+
* `data` (untouched!)
41+
* `perl5` (new)
2342

24-
_Example Download Page_
43+
## Update May 2015
44+
Moved to github.com since Google Code is closing down.
2545

46+
## Update August 2014
47+
New version 0.5d which also supports Perl 5.18

documentation/ChangeLog.md

Whitespace-only changes.

documentation/Downloads.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

documentation/MaintenanceDev.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
All build steps for myfavouritethings are controlled by Docker containers. The central starter is the `Makefile` in the project root.
2+
3+
Important targets are:
4+
* `make release`
5+
* build own Perl distribution
6+
* assembles a runnable myfavouritethings container
7+
* prepares release
8+
9+
* `make tests`
10+
* build own Perl distribution
11+
* assembles a runnable myfavouritethings container
12+
* builds test runner
13+
* executes tests

documentation/ScreenShots.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)