Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release-candidate-checklist make target #7588

Merged
merged 22 commits into from
Aug 5, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
569e741
Add release-candidate-checklist make target
jiahao Jul 13, 2014
a5477a0
Add dependency on release and doc builds
jiahao Jul 30, 2014
6d00209
Update manual checklist items
jiahao Jul 30, 2014
39e7a4e
Run test suite as part of checklist
jiahao Jul 30, 2014
6ee9dab
Run examples and benchmarks as part of checklist
jiahao Jul 30, 2014
a368d3d
Make source-dist tarballs
jiahao Jul 30, 2014
85c81ba
Remove examples check (already part of tests)
jiahao Jul 30, 2014
2626f55
Add suggestions from @staticfloat
jiahao Jul 30, 2014
1bfe63a
Add check if checklist produced dirty repo state
jiahao Jul 30, 2014
994d510
Replace hard-coded make with $(MAKE) variable
jiahao Jul 30, 2014
39209ed
Bump juliadoc so that we run the proper version of julia when running…
staticfloat Jul 30, 2014
f727f0e
Add a few more steps regarding packaging
staticfloat Jul 31, 2014
1b1c889
Run DocCheck to detect undocumented items
jiahao Aug 4, 2014
50693d8
Make target: release-candidate-checklist -> release-candidate
jiahao Aug 4, 2014
9cd5cbf
Add a few more steps
staticfloat Aug 5, 2014
956d46d
We can't run source-dist if we haven't bumped VERSION yet. ;)
staticfloat Aug 5, 2014
4a2fcf4
Make these "negative steps" fail-early options
staticfloat Aug 5, 2014
d481350
Keno's recent backtraces work has added backtraces for these errors!
staticfloat Aug 5, 2014
397d26f
We had the wrong condition here
staticfloat Aug 5, 2014
d761c0b
Looks like helpbd.jl has some new syntax rules
staticfloat Aug 5, 2014
6dbbd07
Match up the backticks
staticfloat Aug 5, 2014
849431c
Let's silence this comment as well
staticfloat Aug 5, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,45 @@ debug release: | $(DIRS) $(build_datarootdir)/julia/base $(build_datarootdir)/ju
@export private_libdir=$(private_libdir) && \
$(MAKE) $(QUIET_MAKE) LD_LIBRARY_PATH=$(build_libdir):$(LD_LIBRARY_PATH) JULIA_EXECUTABLE="$(JULIA_EXECUTABLE_$@)" $(build_private_libdir)/sys.$(SHLIB_EXT)

release-candidate: release test
@#Check documentation
@./julia doc/NEWS-update.jl #Add missing cross-references to NEWS.md
@./julia doc/DocCheck.jl > doc/UNDOCUMENTED.rst 2>&1 #Check for undocumented items
@if [ -z "$(cat doc/UNDOCUMENTED.rst)" ]; then \
rm doc/UNDOCUMENTED.rst; \
else \
echo "Undocumented functions found in doc/UNDOCUMENTED.rst; document them, then retry"; \
exit 1; \
fi
@$(MAKE) -C doc html SPHINXOPTS="-W" #Rebuild Julia HTML docs pedantically
@$(MAKE) -C doc latex SPHINXOPTS="-W" #Rebuild Julia PDF docs pedantically
@$(MAKE) -C doc doctest #Run Julia doctests
@$(MAKE) -C doc linkcheck #Check all links
@$(MAKE) -C doc helpdb.jl #Rebuild Julia online documentation for help(), apropos(), etc...

@# Check to see if the above make invocations changed anything important
@if [ -n "$(git status --porcelain)" ]; then \
echo "Git repository dirty; Verify and commit changes to the repository, then retry"; \
exit 1; \
fi

@#Check that benchmarks work
@$(MAKE) -C test/perf
@#Check that netload tests work
@#for test in test/netload/*.jl; do julia $$test; if [ $$? -ne 0 ]; then exit 1; fi; done
@echo
@echo To complete the release candidate checklist:
@echo

@echo 1. Remove deprecations in base/deprecated.jl
@echo 2. Bump VERSION
@echo 3. Create tag, push to github "\(git tag v\`cat VERSION]\` && git push --tags\)"
@echo 4. Replace github release tarball with tarball created from make source-dist
@echo 5. Follow packaging instructions in DISTRIBUTING.md to create binary packages for all platforms
@echo 6. Upload to AWS, update http://julialang.org/downloads links
@echo 7. Announce on mailing lists
@echo

julia-debug-symlink:
@ln -sf $(build_bindir)/julia-debug julia

Expand Down
Loading