Changeset 3144
- Timestamp:
- Dec 18, 2013, 9:18:48 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/0.11-stable merged: 3131-3132,3140-3142
- Property svn:mergeinfo changed
-
trunk/NEWS
r3130 r3144 9 9 10 10 yat 0.11.x series from http://dev.thep.lu.se/yat/svn/branches/0.11-stable 11 12 version 0.11.1 (released 18 December 2013) 13 - Fixed bug in BamHeader::tid(const std::string&) (see bug #776) 14 15 A complete list of closed tickets can be found here [[br]] 16 http://dev.thep.lu.se/yat/query?status=closed&milestone=yat+0.11.1 11 17 12 18 version 0.11 (released 18 November 2013) -
trunk/README.developer
r3114 r3144 142 142 http://www.gnu.org/software/libtool/manual/libtool.html#Debugging-executables 143 143 144 145 = Release Procedure = 146 147 These instructions cover how to release minor and patch releases in a 148 project that uses trac/subversion for revision control and project 149 management. How to release major releases is not covered yet since we 150 have not done that (with the exception of the first release). Release 151 numbering follows the normal convention of major.minor.patch and the 152 APR (see http://apr.apache.org/versioning.html) guidelines for 153 releases are used. 154 155 The main development is performed in the trunk branch of the 156 repository. A new release branch is created for each minor release 157 from the trunk and patch releases are snapshots of the minor release 158 branch. This implies that patch work is performed in the minor release 159 branch, and changes made release branch is transferred to the trunk 160 every time a new patch release is made. Remember, patch work should be 161 limited to bug fixes and important fixes only leaving development of 162 new features and designs to the trunk branch. 163 164 Releases should only be performed by an appointed member of the team, 165 the Release Manager. 166 167 168 === Creating a release branch === 169 170 Once people agree that a new release branch should be made, the 171 Release Manager creates it with the following procedure 172 (substitute A.B with the version you are preparing, e.g. 0.3) 173 174 1. Check that 'YAT_LT_VERSION_INFO' is set correcly 175 otherwise update following line in 'm4/version.m4' 176 177 8<---- 178 m4_define([YAT_LT_VERSION_INFO], [c:r:a]) 179 8<---- 180 181 2. Add a line in NEWS 182 8<---- 183 See the end for copyrights and conditions. 184 185 +yat A.B.x series from http://dev.thep.lu.se/yat/svn/branches/A.B-stable 186 + 187 Version A.B (released NOT YET) 188 8<---- 189 190 3. Commit the changes with 191 192 #> svn ci -m "Prepare A.B-stable branch" 193 194 4. For this step svncopyright is needed, http://dev.thep.lu.se/svndigest. 195 Update copyright statements with command: 196 197 #> make copyright 198 199 Examine the updates and commit changes with 200 201 #> svn ci -m "updating copyright statements"`. 202 203 5. Create a new stable branch with 204 205 #> make svn-stable-branch 206 207 6. Prepare the trunk for the next minor release 208 209 a) Update version number in 'm4/version.m4'. Locate and change the 210 below lines 211 212 8<---- 213 MY_VERSION_early([A], [B+1], [0], [true]) 214 m4_define([YAT_LT_VERSION_INFO], [c+1:0:0]) 215 8<---- 216 217 b) Add an entry in `NEWS` 218 219 8<---- 220 version A.[B+1] (released NOT YET) 221 8<---- 222 223 The date is set when version A.[B+1] is released. [[br]][[br]] 224 225 c) Commit changes to the repository: 226 227 #> svn ci -m "Bumping VERSION to A.[B+1]pre" 228 229 7. When someone with access to documentation site has time available, 230 they will upgrade to the new branch. This person is usually not the 231 release manager, so please send a reminder. 232 233 === Rolling a minor release === 234 235 These instructions describe how to make a release. Replace A.B.C 236 with current VERSION (A.B if this is not a patch release). 237 238 1. Update version number in 'm4/version.m4'. Locate and change the 239 below line 240 241 8<---- 242 MY_VERSION_early([A], [B], [C], [false]) 243 8<---- 244 245 246 2. Update the interface version number in 'm4/version.m4'. Locate and 247 set the version in the below line 248 249 8<---- 250 m4_define([YAT_LT_VERSION_INFO], [c:r:a]) 251 8<---- 252 253 appropriately. Refer to file 'm4/version.m4' for details on how to 254 decide triplet 'c:r:a'. 255 256 257 3. Set the date for the new release in 'NEWS'. 258 259 8<---- 260 version A.B.C (released 26 June 2007) 261 8<---- 262 263 264 4. Make sure that the items in 'NEWS' cover the new features of the 265 release. 266 267 268 5. Commit changes to the repository: 269 270 #> svn ci -m "Preparing release A.B.C" 271 272 273 6. For this step svncopyright is needed, http://dev.thep.lu.se/svndigest. 274 Update copyright statements with command: 275 276 #> make copyright 277 278 Examine the updates and commit changes with 279 280 #> svn ci -m "updating copyright statements" 281 282 283 7. Now it's time to create a tarball, an svn tag, and upload the 284 tarball to sourceforge. For this to work you need to hold write 285 permissions at libyat project page at sourceforge. If your sf user 286 id is different from the one defined in 'Makefile.am', you can 287 override the default with 'sf_user=<your id>'. Issue the 288 convenience target: 289 290 #> make release-tag-upload 291 292 This will run some sanity checks, run maintainer-check and 293 distcheck, create an svn tag, and upload the newly created tarball 294 to sourceforge. The last step requires that you provide your SF password. 295 296 297 8. On WikiStart update links 298 '[source:tags/A.B.C/NEWS NEWS]' and 299 '[source:branches/A.B-stable/README README]' 300 301 9. Update SubversionCheckout 302 303 a) In section 'yat latest release' update command to 304 'svn checkout http://dev.thep.lu.se/yat/svn/tags/A.B.C yat-A.B.C 305 and link to 306 '[source:tags/A.B.C/NEWS NEWS]' 307 If this is a patch release jump to point 10). 308 309 b) In section 'yat stable' update command to 310 'svn checkout http://dev.thep.lu.se/yat/svn/branches/A.B-stable yat-A.B.x 311 and link to 312 '[source:branches/A.B-stable/NEWS NEWS]' 313 314 315 10. Close the milestone associated with this release. 316 317 318 11. Update the version list in Trac using the trac-admin tool. 319 320 321 12. Use file 'announcement.txt' as template and send email to 322 libyat-users@lists.sourceforge.net 323 324 325 13. Merge the release into the trunk. 326 327 a) Go to a pristine trunk WC: 328 329 #> cd /path/to/yat-trunk/ 330 #> make check-svn-diff 331 332 b) Merge changes into trunk: 333 334 #> svn merge ^/branches/A.B-stable 335 336 c) Resolve potential conflicts. Run tests and perform all other 337 appropriate tests to make sure that the merge does not create 338 havoc. Typically changes in `m4/version.m4` are problematic so 339 check this file extra carefully. 340 341 d) Commit changes to the trunk branch. 342 343 #> svn commit -m "Merged release A.B.C into trunk." 344 345 346 14. Prepare the stable branch for the next patch release. 347 348 a) Update version number in 'm4/version.m4'. Locate and change the 349 below line 350 351 8<--- 352 MY_VERSION_early([A], [B], [C+1], [true]) 353 8<--- 354 355 Run 'make all' and while waiting finalize item b) below 356 357 b) Add an entry in 'NEWS' 358 359 8<---- 360 version A.B.[C+1] (released NOT YET) 361 8<---- 362 363 The date is set when version A.B.[C+1] is released. 364 365 366 15. Commit changes to the repository: 367 368 #> svn ci -m "Bumping VERSION to A.B.[C+1]pre" 369 370 144 371 = Versioning = 145 372 -
trunk/m4/version.m4
r3130 r3144 74 74 # yat-0.10.3 7:3:0 75 75 # yat-0.11 8:0:0 76 # yat-0.11.1 8:1:0 76 77 # 77 78 # *Accidently, the libtool number was not updated for yat 0.5 -
trunk/test/Makefile.am
r3138 r3144 45 45 test/bam_region_iterator.test \ 46 46 test/bam_header.test \ 47 test/bam_header2.test \ 47 48 test/codon.test test/commandline.test \ 48 49 test/concept.test \ -
trunk/yat/omic/BamHeader.cc
r2999 r3144 75 75 // hash get populated. 76 76 int tid, b, e; 77 bam_parse_region(header_, target_name(0), &tid, &b, &e);77 bam_parse_region(header_, name.c_str(), &tid, &b, &e); 78 78 assert(header_->hash); 79 79 assert(tid == bam_get_tid(header_, name.c_str()));
Note: See TracChangeset
for help on using the changeset viewer.