@@ -30,12 +30,12 @@ python -c 'import matplotlib'
3030
3131
3232echo " Will use $BLUE '$EDITOR '$NOR to edit files when necessary"
33- echo -n " PREV_RELEASE (X.y.z) [$PREV_RELEASE ]: "
34- read input
35- PREV_RELEASE=${input:- $PREV_RELEASE }
36- echo -n " MILESTONE (X.y) [$MILESTONE ]: "
37- read input
38- MILESTONE=${input:- $MILESTONE }
33+ # echo -n "PREV_RELEASE (X.y.z) [$PREV_RELEASE]: "
34+ # read input
35+ # PREV_RELEASE=${input:-$PREV_RELEASE}
36+ # echo -n "MILESTONE (X.y) [$MILESTONE]: "
37+ # read input
38+ # MILESTONE=${input:-$MILESTONE}
3939echo -n " VERSION (X.y.z) [$VERSION ]:"
4040read input
4141VERSION=${input:- $VERSION }
9090 read
9191fi
9292
93- if ask_section " Gen Stats, and authors"
94- then
95-
96- echo
97- echo $BLUE " here are all the authors that contributed to this release:" $NOR
98- git log --format=" %aN <%aE>" $PREV_RELEASE ... | sort -u -f
99-
100- echo
101- echo $BLUE " If you see any duplicates cancel (Ctrl-C), then edit .mailmap."
102- echo $GREEN " Press enter to continue:" $NOR
103- read
104-
105- echo $BLUE " generating stats" $NOR
106- python tools/github_stats.py --milestone $MILESTONE > stats.rst
107-
108- echo $BLUE " stats.rst files generated." $NOR
109- echo $GREEN " Please merge it with the right file (github-stats-X.rst) and commit." $NOR
110- echo $GREEN " press enter to continue." $NOR
111- read
112-
113- fi
114-
115- if ask_section " Generate API difference (using frapuccino)"
116- then
117- echo $BLUE " Checking out $PREV_RELEASE " $NOR
118- git checkout tags/$PREV_RELEASE
119- sleep 1
120- echo $BLUE " Saving API to file $PREV_RELEASE " $NOR
121- frappuccino IPython IPython.kernel IPython.lib IPython.qt IPython.lib.kernel IPython.html IPython.frontend IPython.external --save IPython-$PREV_RELEASE .json
122- echo $BLUE " coming back to $BRANCH " $NOR
123- git switch $BRANCH
124- sleep 1
125- echo $BLUE " comparing ..." $NOR
126- frappuccino IPython IPython.kernel IPython.lib --compare IPython-$PREV_RELEASE .json
127- echo $GREEN " Use the above guideline to write an API changelog ..." $NOR
128- echo $GREEN " Press any keys to continue" $NOR
129- read
130- fi
93+ # if ask_section "Gen Stats, and authors"
94+ # then
95+ #
96+ # echo
97+ # echo $BLUE"here are all the authors that contributed to this release:"$NOR
98+ # git log --format="%aN <%aE>" $PREV_RELEASE... | sort -u -f
99+ #
100+ # echo
101+ # echo $BLUE"If you see any duplicates cancel (Ctrl-C), then edit .mailmap."
102+ # echo $GREEN"Press enter to continue:"$NOR
103+ # read
104+ #
105+ # echo $BLUE"generating stats"$NOR
106+ # python tools/github_stats.py --milestone $MILESTONE > stats.rst
107+ #
108+ # echo $BLUE"stats.rst files generated."$NOR
109+ # echo $GREEN"Please merge it with the right file (github-stats-X.rst) and commit."$NOR
110+ # echo $GREEN"press enter to continue."$NOR
111+ # read
112+ #
113+ # fi
114+
115+ # if ask_section "Generate API difference (using frapuccino)"
116+ # then
117+ # echo $BLUE"Checking out $PREV_RELEASE"$NOR
118+ # git checkout tags/$PREV_RELEASE
119+ # sleep 1
120+ # echo $BLUE"Saving API to file $PREV_RELEASE"$NOR
121+ # frappuccino IPython IPython.kernel IPython.lib IPython.qt IPython.lib.kernel IPython.html IPython.frontend IPython.external --save IPython-$PREV_RELEASE.json
122+ # echo $BLUE"coming back to $BRANCH"$NOR
123+ # git switch $BRANCH
124+ # sleep 1
125+ # echo $BLUE"comparing ..."$NOR
126+ # frappuccino IPython IPython.kernel IPython.lib --compare IPython-$PREV_RELEASE.json
127+ # echo $GREEN"Use the above guideline to write an API changelog ..."$NOR
128+ # echo $GREEN"Press any keys to continue"$NOR
129+ # read
130+ # fi
131131
132132echo " Cleaning repository"
133133git clean -xfdi
0 commit comments