github github
  • Home
  • Pricing and Signup
  • Training
  • Gist
  • Blog
  • Login

jquery / jquery-ui

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
    • 1,173
    • 293
  • Source
  • Commits
  • Network (293)
  • Graphs
  • Tree: 5a73ed8

click here to add a description

click here to add a homepage

  • Switch Branches (8)
    • bind
    • devpreview
    • formcontrols
    • master
    • menu
    • panel
    • tooltip
    • widget-super
  • Switch Tags (22)
    • 1.9m2
    • 1.9m1
    • 1.8rc3
    • 1.8rc2
    • 1.8rc1
    • 1.8b1
    • 1.8a2
    • 1.8a1
    • 1.8.5
    • 1.8.4
    • 1.8.3
    • 1.8.2
    • 1.8.1
    • 1.8
    • 1.7
    • 1.6rc6
    • 1.6rc5
    • 1.6rc3
    • 1.6rc2
    • 1.6
    • 1.5.2
    • 1.5.1
  • Comments
  • Contributors
Sending Request…
Downloads

The official jQuery user interface library. — Read more

  Cancel

http://jqueryui.com/

  Cancel
  • HTTP
  • Git Read-Only

This URL has Read+Write access

Build: Initial commit for release automation.
scottgonzalez (author)
Fri Sep 10 07:30:44 -0700 2010
commit  5a73ed8dec3c1fbb9ec6
tree    6cb67e91cd8ace1e923d
parent  9958d2968fff7f05b3d6

Showing 2 changed files with 405 additions and 0 deletions.

A build/release/changelog-shell 76 •••••
A build/release/prepare-release 329 •••••
Txt build/release/changelog-shell
  • View file @ 5a73ed8
... ...
@@ -0,0 +1,76 @@
  1
+
  2
+This file contains a shell for the changelog, followed by a list of every commit for this release.
  3
+
  4
+Choose the appropriate line for the Summary section.
  5
+
  6
+Move all commit notes to the appropriate section.
  7
+- Each line should be in the following format:
  8
+  [Fixed|Added]: The ticket description. ([Ticket link], [Commit link])
  9
+- If the commit is not related to a bug or feature, e.g., whitepsace cleanup, remove it.
  10
+- If there is no ticket number, search Trac for the relevant ticket.
  11
+  - If there is no ticket, create one (if needed), or leave just the commit link.
  12
+
  13
+Double check that "XXXX" does not appear anywhere in the changelog.
  14
+
  15
+Post this changelog at: CHANGELOG_URL
  16
+
  17
+
  18
+
  19
+DELETE EVERYTHING ABOVE THE FOLLOWING LINE
  20
+------------------------------------------
  21
+
  22
+= Summary =
  23
+This is the final release of jQuery UI 1.8.
  24
+-- OR --
  25
+This is the second maintenance release for [[UI/Changelog/1.8|jQuery UI 1.8]].
  26
+
  27
+= Build =
  28
+
  29
+= Core & Utilities =
  30
+
  31
+=== UI Core ===
  32
+
  33
+=== Mouse ===
  34
+
  35
+=== Widget Factory ===
  36
+
  37
+=== Position ===
  38
+
  39
+= Interactions =
  40
+
  41
+=== Draggable ===
  42
+
  43
+=== Droppable ===
  44
+
  45
+=== Resizable ===
  46
+
  47
+=== Selectable ===
  48
+
  49
+=== Sortable ===
  50
+
  51
+= Widgets =
  52
+
  53
+=== Accordion ===
  54
+
  55
+=== Autocomplete ===
  56
+
  57
+=== Button ===
  58
+
  59
+=== Datepicker ===
  60
+
  61
+=== Dialog ===
  62
+
  63
+=== Progressbar ===
  64
+
  65
+=== Slider ===
  66
+
  67
+=== Tabs ===
  68
+
  69
+= Effects =
  70
+
  71
+=== Individual effects ===
  72
+
  73
+= CSS Framework =
  74
+
  75
+= Demos =
  76
+
Txt build/release/prepare-release
  • View file @ 5a73ed8
... ...
@@ -0,0 +1,329 @@
  1
+#!/bin/sh
  2
+
  3
+base_dir="`pwd`/jquery-ui-release"
  4
+repo_dir="$base_dir/jquery-ui"
  5
+release_dir="$repo_dir/build/release"
  6
+
  7
+github_repo="git@github.com:jquery/jquery-ui.git"
  8
+remote_cmd="ssh jqadmin@ui-dev.jquery.com /srv/dev.jqueryui.com/prepare-release"
  9
+
  10
+
  11
+
  12
+#
  13
+# Setup environment
  14
+#
  15
+
  16
+echo
  17
+echo "--------------------------"
  18
+echo "| SETTING UP ENVIRONMENT |"
  19
+echo "--------------------------"
  20
+echo
  21
+
  22
+mkdir $base_dir
  23
+cd $base_dir
  24
+
  25
+echo "Cloning repo from $github_repo..."
  26
+git clone $github_repo
  27
+cd $repo_dir
  28
+
  29
+echo
  30
+echo "Environment setup complete."
  31
+echo
  32
+
  33
+
  34
+
  35
+#
  36
+# Figure out which versions we're dealing with
  37
+#
  38
+
  39
+echo
  40
+echo "------------------------"
  41
+echo "| CALCULATING VERSIONS |"
  42
+echo "------------------------"
  43
+echo
  44
+
  45
+# NOTE: this will be different for minor and major releases
  46
+version=`$remote_cmd/get-latest-version`
  47
+major_minor=${version%.*}
  48
+point=${version##*.}
  49
+version_new="${major_minor}.$(($point + 1))"
  50
+version_next=`cat version.txt`
  51
+
  52
+echo "We are going from $version to $version_new."
  53
+echo "version.txt will be set to $version_next when complete."
  54
+echo "Press enter to continue, or ctrl+c to cancel."
  55
+read
  56
+
  57
+
  58
+#
  59
+# Generate shell for changelog
  60
+#
  61
+
  62
+echo
  63
+echo "------------------------"
  64
+echo "| GENERATING CHANGELOG |"
  65
+echo "------------------------"
  66
+echo
  67
+
  68
+echo "Creating shell for changelog..."
  69
+changelog_url="http:\/\/docs.jquery.com\/action\/edit\/UI\/Changelog\/$version_new"
  70
+`sed "s/CHANGELOG_URL/$changelog_url/" <$release_dir/changelog-shell >$base_dir/changelog`
  71
+
  72
+
  73
+# find all commits
  74
+echo "Adding commits to changelog..."
  75
+format_ticket='[http://dev.jqueryui.com/ticket/XXXX #XXXX]'
  76
+format_commit='[http://github.com/jquery/jquery-ui/commit/%H %h]'
  77
+format_full="* %s ($format_ticket, $format_commit)"
  78
+git whatchanged $version... --pretty=format:"$format_full" \
  79
+  -- ui themes demos build \
  80
+| sed '/^:/ d' \
  81
+| sed '/^$/ d' \
  82
+| sed 's/\(Fixe[sd] #\)\([0-9][0-9]*\)\(.*\)\(XXXX #XXXX\)/Fixed #\2\3\2 #\2/' \
  83
+| sort -f \
  84
+>> $base_dir/changelog
  85
+
  86
+# find all fixed tickets
  87
+echo "Adding Trac tickets to changelog..."
  88
+$remote_cmd/generate-changelog >> $base_dir/changelog
  89
+
  90
+echo
  91
+echo "Changelog complete."
  92
+echo
  93
+
  94
+
  95
+
  96
+#
  97
+# Generate list of contributors
  98
+#
  99
+
  100
+echo
  101
+echo "--------------------------"
  102
+echo "| GATHERING CONTRIBUTORS |"
  103
+echo "--------------------------"
  104
+echo
  105
+
  106
+
  107
+# find all committers and authors
  108
+echo "Adding commiters and authors..."
  109
+format_contributors='%aN%n%cN'
  110
+git whatchanged $version... --pretty=format:"$format_contributors" \
  111
+| sed '/^:/ d' \
  112
+| sed '/^$/ d' \
  113
+> $base_dir/thankyou
  114
+
  115
+# find all reporters and commenters from Trac
  116
+echo "Adding reporters and commenters from Trac..."
  117
+$remote_cmd/generate-contributors >> $base_dir/thankyou
  118
+
  119
+# sort names
  120
+echo "Sorting contributors..."
  121
+sort -f $base_dir/thankyou | uniq > $base_dir/_thankyou
  122
+mv $base_dir/_thankyou $base_dir/thankyou
  123
+
  124
+# find all people that were thanked
  125
+echo "Adding people thanked in commits..."
  126
+git whatchanged $version... \
  127
+| grep -i thank \
  128
+>> $base_dir/thankyou
  129
+
  130
+echo
  131
+echo "Find contributors from duplicates of fixed tickets."
  132
+echo "Press enter when done."
  133
+read
  134
+
  135
+echo
  136
+echo "Contributors list complete."
  137
+echo
  138
+
  139
+
  140
+
  141
+#
  142
+# Update version
  143
+#
  144
+
  145
+echo
  146
+echo "--------------------"
  147
+echo "| UPDATING VERSION |"
  148
+echo "--------------------"
  149
+echo
  150
+
  151
+echo "Updating version.txt to $version_new..."
  152
+echo $version_new > version.txt
  153
+
  154
+git commit -a -m "Tagging the $version_new release."
  155
+version_new_time=`git log -1 --pretty=format:"%ad"`
  156
+echo "Committed version.txt at $version_new_time..."
  157
+
  158
+echo "Tagging $version_new..."
  159
+git tag $version_new
  160
+
  161
+echo "Updating version.txt to $version_next..."
  162
+echo $version_next > version.txt
  163
+
  164
+git commit -a -m "Updating the master version to $version_next"
  165
+echo "Committed version.txt..."
  166
+
  167
+echo
  168
+echo "Version update complete."
  169
+echo
  170
+
  171
+
  172
+
  173
+#
  174
+# Push to GitHub
  175
+#
  176
+
  177
+echo
  178
+echo "---------------------"
  179
+echo "| PUSHING TO GITHUB |"
  180
+echo "---------------------"
  181
+echo
  182
+
  183
+echo "Please review the output and generated files as a sanity check."
  184
+echo "Press enter to continue or ctrl+c to abort."
  185
+read
  186
+
  187
+git push
  188
+git push --tags
  189
+
  190
+echo
  191
+echo "Push to GitHub complete."
  192
+echo
  193
+
  194
+
  195
+
  196
+#
  197
+# Update Trac
  198
+#
  199
+
  200
+echo
  201
+echo "-----------------"
  202
+echo "| UPDATING TRAC |"
  203
+echo "-----------------"
  204
+echo
  205
+
  206
+# TODO: automate this
  207
+# NOTE: this will be different for minor and major releases
  208
+milestone=`$remote_cmd/get-latest-milestone`
  209
+
  210
+# Create new milestrone and version
  211
+echo "$version_new was tagged at $version_new_time."
  212
+echo "Create and close $version_new Milestone with the above date and time."
  213
+echo "Create and close $version_new Version with the above date and time."
  214
+echo "Press enter when done."
  215
+read
  216
+
  217
+# Update milestone for all fixed tickets
  218
+echo "Change all $milestone fixed tickets to $version_new."
  219
+echo "Press enter when done."
  220
+read
  221
+
  222
+echo
  223
+echo "Trac updates complete."
  224
+echo
  225
+
  226
+
  227
+
  228
+#
  229
+# Build jQuery UI
  230
+#
  231
+
  232
+echo
  233
+echo "----------------------"
  234
+echo "| BUILDING JQUERY UI |"
  235
+echo "----------------------"
  236
+echo
  237
+
  238
+# check out the tagged version
  239
+echo "Checking out $version_new..."
  240
+git checkout $version_new
  241
+
  242
+# Update the link to the docs (never contains the patch version)
  243
+echo "Updating URL for API docs..."
  244
+sed -i -e "s/UI\/API\/\${release\.version}/UI\/API\/$major_minor/" build.xml >build.xml
  245
+
  246
+# Run the build
  247
+echo "Running build..."
  248
+cd build
  249
+ant
  250
+
  251
+echo
  252
+echo "Build complete."
  253
+echo
  254
+
  255
+
  256
+
  257
+#
  258
+# Upload zip to Google Code
  259
+#
  260
+
  261
+echo
  262
+echo "----------------------"
  263
+echo "| UPDATE GOOGLE CODE |"
  264
+echo "----------------------"
  265
+echo
  266
+
  267
+echo "Upload zip to Google Code."
  268
+echo "  http://code.google.com/p/jquery-ui/downloads/entry"
  269
+echo "  Summary: jQuery UI $version_new (Source, demos, docs, themes, tests) STABLE"
  270
+echo "  Labels: Featured, Type-Source, OpSys-All"
  271
+echo "Modify the previous release to no longer say STABLE at the end."
  272
+echo "Remove the featured label from the previous release."
  273
+echo "Press enter when done."
  274
+read
  275
+
  276
+echo
  277
+echo "Google Code update complete."
  278
+echo
  279
+
  280
+
  281
+
  282
+#
  283
+# Update SVN
  284
+#
  285
+
  286
+echo
  287
+echo "----------------"
  288
+echo "| UPDATING SVN |"
  289
+echo "----------------"
  290
+echo
  291
+
  292
+cd $base_dir
  293
+mkdir svn
  294
+cd svn
  295
+
  296
+echo "Checking out SVN tags..."
  297
+svn co --depth immediates https://jquery-ui.googlecode.com/svn/tags
  298
+cd tags
  299
+
  300
+echo "Unzipping build into tags/$version_new..."
  301
+unzip $repo_dir/build/dist/jquery-ui-$version_new.zip
  302
+mv jquery-ui-$version_new $version_new
  303
+
  304
+echo "Adding files to SVN..."
  305
+svn add $version_new
  306
+
  307
+echo "Setting svn:mime-type..."
  308
+find $version_new -name \*.js -exec svn propset svn:mime-type text/javascript {} \;
  309
+find $version_new -name \*.css -exec svn propset svn:mime-type text/css {} \;
  310
+find $version_new -name \*.html -exec svn propset svn:mime-type text/html {} \;
  311
+find $version_new -name \*.png -exec svn propset svn:mime-type image/png {} \;
  312
+find $version_new -name \*.gif -exec svn propset svn:mime-type image/gif {} \;
  313
+
  314
+# TODO: commit
  315
+echo
  316
+echo "svn commit with the following message:"
  317
+echo "Created $version_new tag from http://jquery-ui.googlecode.com/files/jquery-ui-$version_new.zip"
  318
+echo "Press enter when done."
  319
+read
  320
+
  321
+echo
  322
+echo "SVN update complete."
  323
+echo
  324
+
  325
+
  326
+
  327
+#
  328
+# Generate themes
  329
+# 

0 notes on commit 5a73ed8

Please log in to comment.
Dedicated Server Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
  • Blog
  • Support
  • Training
  • Job Board
  • Shop
  • Contact
  • API
  • Status
  • © 2010 GitHub Inc. All rights reserved.
  • Terms of Service
  • Privacy
  • Security
  • English
  • Deutsch
  • Français
  • 日本語
  • Português (BR)
  • Русский
  • 中文
  • See all available languages

Your current locale selection: English. Choose another?

  • English
  • Afrikaans
  • Català
  • Čeština
  • Deutsch
  • Español
  • Français
  • Hrvatski
  • Indonesia
  • Italiano
  • 日本語
  • Nederlands
  • Norsk
  • Polski
  • Português (BR)
  • Русский
  • Српски
  • Svenska
  • 中文

Keyboard Shortcuts

Site wide shortcuts

s
Focus site search
?
Bring up this help dialog

Commit list

j
Move selected down
k
Move selected up
t
Open tree
p
Open parent
c or o or enter
Open commit

Pull request list

j
Move selected down
k
Move selected up
o or enter
Open issue

Issues

j
Move selected down
k
Move selected up
x
Toggle select target
o or enter
Open issue
I
Mark selected as read
U
Mark selected as unread
e
Close selected
y
Remove selected from view
c
Create issue
l
Create label
i
Back to inbox
u
Back to issues
/
Focus issues search

Network Graph

← or h
Scroll left
→ or l
Scroll right
↑ or k
Scroll up
↓ or j
Scroll down
t
Toggle visibility of head labels
shift ← or shift h
Scroll all the way left
shift → or shift l
Scroll all the way right
shift ↑ or shift k
Scroll all the way up
shift ↓ or shift j
Scroll all the way down