-
Notifications
You must be signed in to change notification settings - Fork 71
/
README.developer
64 lines (46 loc) · 2.67 KB
/
README.developer
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
MusE is really not big on making developers do it the MusE way.
For good and bad (probably mostly bad) it's a bit of happy anarchy out there.
But whatever, it's a labor of love.
Anyway, maybe some things should be a bit more clearly defined so I started this
document with some pointers for best practices and procedures.
* STYLE *
whatever floats your boat. Okay, maybe try to keep it atleast somewhat consistent :)
* TOOLS *
MusE is highly dependent on Qt, mostly this is a good thing, especially as we want to
make MusE even more portable. So, when implementing stuff that requires some support
library, do check if Qt can provide the necessary functionality. Many times it can.
* DEVELOPMENT *
* RELEASE PROCEDURE *
When making a release there are some steps that should always be done to make the
packaging consistent and traceable.
1. make sure that version info is updated.
CMakeLists.txt:SET(MusE_VERSION "3.0.0pre1")
CMakeLists.txt:SET(MusE_VERSION_FULL "3.0.0pre1")
2. add a release-line to the ChangeLog (search for old ones for some format hints)
3. commit everything to git
4. now create the tarball from the build dir (could be a good idea to create a new build dir)
$ make clean (otherwise the tarball will way too big)
$ make package_source
feel free to ctrl-c out of this as soon as the .tar.gz build is done as it contines to make
a lot of variants that we do not use.
5. verify that the built package has the right name and can be built
NOTE: if you are making a point release (e.g. 3.0.1) the file name is based of the path so
the package will be called muse-3.0.tar.gz while it really should be muse-3.0.1. Easiest
way to fix this (for now) is to untar the package, rename the folder (in this case) from
muse-3.0 to muse-3.0.1 and tar it back into muse-3.0.1.tar.gz.
6. make a tag in git for this particular checkin when you are satisfied the release is correct
From 4.0 release we use https://semver.org/ formatted tags.
For instance 4.0 pre release 2 is 4.0.0-pre2.
'git tag -l' lists all of the previous tags.
Use git tag -a <tag name> to create an annotated tag.
To push the tag to master: git push --tags
7. create a releasenote
8. upload both releasenote and tarball to the sourceforge page (or whatever is in fashion when
it's time).
Update: Currently we upload to both sourceforge (because we always have and it's not a lot of work)
and to the Releases page on github.
9. Update the frontpage and news page at https://muse-sequencer.github.io/.
The frontpage is html and resides a specific git repo.
The news page is in the muse github wiki.
10.Update wikipedia to reflect the new release.
11. send out a release mail