Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
128 changes: 0 additions & 128 deletions .boring

This file was deleted.

46 changes: 1 addition & 45 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,6 @@ test_DEPEND_DIRS = src
DIRS += examples
examples_DEPEND_DIRS = src

BRANCH = 2-2
DEFAULT_REPO = /opt/repositories/controls/darcs/epics/support/seq/branch-$(BRANCH)
GIT_MIRROR = /opt/repositories/controls/git/seq/branch-$(BRANCH)
SEQ_PATH = www/control/SoftDist/sequencer-$(BRANCH)
USER_AT_HOST = wwwcsr@www-csr.bessy.de
DATE = $(shell date -I)
SNAPSHOT = seq-$(BRANCH)-snapshot-$(DATE)
SEQ_TAG = R$(subst .,-,$(SEQ_RELEASE))
SEQ_TAG_TIME = $(shell darcs changes --all --xml-output \
--matches 'exact "TAG $(SEQ_TAG)"' | perl -ne 'print "$$1.$$2" if /date=.(\d{12})(\d{2})/')

include $(TOP)/configure/RULES_TOP

html: src
Expand All @@ -36,37 +25,4 @@ docs.clean:

realclean clean: docs.clean

upload_docs: docs
rsync -r -t $(TOP)/html/ $(USER_AT_HOST):$(SEQ_PATH)/

recreate_git_mirror:
rm -rf $(GIT_MIRROR)
git init $(GIT_MIRROR)
touch $(GIT_MIRROR)/git.marks

upload_repo:
darcs push $(DEFAULT_REPO)
cd $(DEFAULT_REPO) && darcs push --all $(USER_AT_HOST):$(SEQ_PATH)/repo/branch-$(BRANCH)
cd $(DEFAULT_REPO) && darcs convert export --read-marks $(GIT_MIRROR)/darcs.marks --write-marks $(GIT_MIRROR)/darcs.marks |\
(cd $(GIT_MIRROR) && git fast-import --import-marks=git.marks --export-marks=git.marks)
cd $(GIT_MIRROR)/.git && git --bare update-server-info
rsync -r --delete $(GIT_MIRROR)/.git/ $(USER_AT_HOST):$(SEQ_PATH)/repo/branch-$(BRANCH).git/

snapshot:
darcs dist -d $(SNAPSHOT)
rsync $(SNAPSHOT).tar.gz $(USER_AT_HOST):$(SEQ_PATH)/releases/
ssh $(USER_AT_HOST) 'cd $(SEQ_PATH)/releases && ln -f -s $(SNAPSHOT).tar.gz seq-$(BRANCH)-snapshot-latest.tar.gz'
$(RM) $(SNAPSHOT).tar.gz

release: upload_docs upload_repo
darcs show files | xargs touch -t $(SEQ_TAG_TIME)
darcs dist -d seq-$(SEQ_RELEASE) -t '^$(SEQ_TAG)$$'
rsync seq-$(SEQ_RELEASE).tar.gz $(USER_AT_HOST):$(SEQ_PATH)/releases/
$(RM) seq-$(SEQ_RELEASE).tar.gz

changelog: force
DARCS_ALWAYS_COLOR=0 darcs changes -a --from-tag=. | egrep -v '^(Author|Date|patch)' > changelog

force:

.PHONY: html docs docs.clean upload_docs mirror upload_repo snapshot release recreate_git_mirror
.PHONY: html docs docs.clean
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ Plans.txt
New features, ideas, and wishes

You can also view the documentation online at
http://www-csr.bessy.de/control/SoftDist/sequencer/
https://epics-modules.github.io/sequencer/
5 changes: 1 addition & 4 deletions documentation/Installation.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ If you want to help testing, please clone ::

git clone https://github.com/epics-modules/sequencer.git

See `Contribute`_ for a short description how to record and send patches.
See `Contribute`_ for a short description how to prepare changes.

.. _2.2.9: https://github.com/epics-modules/sequencer/releases/tag/R2-2-9
.. _2.2.8: https://github.com/epics-modules/sequencer/releases/tag/R2-2-8
Expand All @@ -89,9 +89,6 @@ See `Contribute`_ for a short description how to record and send patches.
.. _2.2.3: https://github.com/epics-modules/sequencer/releases/tag/R2-2-3
.. _2.2.2: https://github.com/epics-modules/sequencer/releases/tag/R2-2-2
.. _2.2.1: https://github.com/epics-modules/sequencer/releases/tag/R2-2-1
.. _branch-2-1: https://hub.darcs.net/bf/seq-branch-2-1
.. _branch-2-2: https://hub.darcs.net/bf/seq-branch-2-2
.. _branch-2-3: https://hub.darcs.net/bf/seq-branch-2-3

Unpack
------
Expand Down
Loading