Changeset 33225 in project


Ignore:
Timestamp:
02/27/16 20:08:08 (3 years ago)
Author:
sjamaan
Message:

Releasing your egg: Gitorious is defunct and has been assimilated into gitlab, so describe how that works, instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/releasing-your-egg

    r33224 r33225  
    255255</enscript>
    256256
    257 ==== Gitorious (git)
    258 
    259 ===== Location of release-info file
    260 
    261 Use the code browser (the "Source tree" button) to browse to your
    262 master branch's release-info file and copy the "Raw blob data" link.
    263 For example, for the [[/eggref/4/ssql|ssql egg]] it would look like:
    264 
    265 [[https://gitorious.org/chicken-eggs/ssql/raw/master:ssql.release-info]]
    266 
    267 ===== Making releases
    268 
    269 Gitorious makes tags available for download as tarballs.  To find the
    270 location, go to the source tree browser and switch to a tag in the
    271 right-hand panel. You should now get a button in the same panel that
    272 says "Download TAG-NAME as tar.gz".
     257==== Gitlab (git)
     258
     259===== Location of release-info file
     260
     261Use the code browser ("Files" in the menu) to browse to your master
     262branch's release-info file and copy the "Raw" link.  For example, for
     263the [[/eggref/4/sdl2|SDL2 egg]] it looks like this:
     264
     265[[https://gitlab.com/chicken-sdl2/chicken-sdl2/raw/master/sdl2.release-info]]
     266
     267===== Making releases
     268
     269Gitlab makes tags available for download as tarballs.  To find the
     270location, go to the code browser and switch to a tag at the top left.
     271On the right side there's a drop-down menu that offers a download for
     272various archive formats.
    273273
    274274So to make a new release, just tag your release with a well-defined
    275 name. If you tag your eggs with the version as tag name, you can use
    276 the following release-info file.  Just don't forget to substitute your
    277 Gitorious project name!
    278 
    279 <enscript highlight="scheme">
    280 (repo git "git@gitorious.org:PROJECT-NAME/{egg-name}.git")
    281 (uri targz "https://gitorious.org/PROJECT-NAME/{egg-name}/archive/{egg-release}.tar.gz")
    282 (release "0.1")
    283 </enscript>
    284 
    285 Note that there is a [[https://gitorious.org/chicken-eggs|CHICKEN Eggs
    286 project]] on Gitorious already. If you want you can ask its owner to
    287 add your egg's repository to it.
     275name. If you're using gitlab.com's hosted service and tag your eggs
     276with the version as tag name, you can use the following release-info
     277file.  Just don't forget to substitute your Gitlab project name!
     278
     279<enscript highlight="scheme">
     280(repo git "https://gitlab.com/PROJECT-NAME/{egg-name}.git")
     281(uri targz "https://gitlab.com/PROJECT-NAME/{egg-name}/repository/archive.tar.gz?ref={egg-release}")
     282(release "0.1")
     283</enscript>
     284
    288285
    289286==== Github (git)
Note: See TracChangeset for help on using the changeset viewer.