Skip to content

Commit

Permalink
Updated changes.md for 7.7.0 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed May 12, 2018
1 parent f3902ab commit 7961bd5
Show file tree
Hide file tree
Showing 8 changed files with 208 additions and 52 deletions.
143 changes: 116 additions & 27 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,96 @@
# Selected Cylc Changes

For the full list of all changes for each release see [closed
milestones](https://github.com/cylc/cylc/milestones?state=closed).
Internal changes that do not directly affect users may not be listed here. For
all changes see the [closed
milestones](https://github.com/cylc/cylc/milestones?state=closed) for each
release.

-------------------------------------------------------------------------------
## __cylc-7.7.0 (2018-05-12)__

### Enhancements

[#2582](https://github.com/cylc/cylc/pull/2582) - improve client/server
interface, including: `cylc message` can send multiple messages at once, with
different severities; server ignores messages from superseded job submits;
running jobs detect that the suite has been cold-started under them and will
not attempt to connect; ssh-based indirect client-server communication now
works automatically for all clients, not just messaging.

[#2624](https://github.com/cylc/cylc/pull/2624) - rewrite `cylc cat-log`
for enhanced functionality and some bug fixes.

[#2582](https://github.com/cylc/cylc/pull/2582),
[#2624](https://github.com/cylc/cylc/pull/2624), and earlier changes: all job
host actions are now done by remote `cylc` subcommands that are compatible with
ssh whitelisting.

[#2590](https://github.com/cylc/cylc/pull/2590) - replaced the fixed process
pool with direct management of individual sub-processes (for external commands
executed by the server program).

[#2561](https://github.com/cylc/cylc/pull/2561) - pass resolved triggering
dependencies to `$CYLC_TASK_DEPENDENCIES` in job environments.

[#2639](https://github.com/cylc/cylc/pull/2639) - date-time cycling: document
availability of 365-day (never a leap year) and 366-day (always a leap year)
calendars.

[#2597](https://github.com/cylc/cylc/pull/2597) - emit a "late" event if a task
has not triggered by a user-defined real-time offset relative to cycle point.

[#2648](https://github.com/cylc/cylc/pull/2648) - improve version reporting.
Note than non-standard lowercase `cylc -v` is now gone; use `cylc -V` or `cylc
--version`, with optional `--long` format to print as well as version.

[#2620](https://github.com/cylc/cylc/pull/2620) - re-document the long-dated
`[special tasks]sequential` and recommend using explicit dependencies in the
graph instead.

[#2584](https://github.com/cylc/cylc/pull/2584) - internal queues now release
task jobs on a FIFO (First In, First Out) basis, rather than randomly.

[#2538](https://github.com/cylc/cylc/pull/2538) - remove leading whitespace
from multi-line `script` items in task definitions, for cleaner job scripts.

### Fixes

[#2593](https://github.com/cylc/cylc/pull/2593) - fix polling after job
execution timeout (configured pre-poll delays were being ignored).

[#2656](https://github.com/cylc/cylc/pull/2656) - fix suicide triggers with
multiple prerequisites in the same graph line.

[#2638](https://github.com/cylc/cylc/pull/2618) - fix duplicate "failed" task
events after `cylc stop --kill`.

[#2653](https://github.com/cylc/cylc/pull/2653) - tidy and correct the main `cylc
help` documentation.

[#2644](https://github.com/cylc/cylc/pull/2644),
[#2646](https://github.com/cylc/cylc/pull/2646) - fix some graph parsing edge
cases.

[#2649](https://github.com/cylc/cylc/pull/2649) - respect suite
UTC mode when recording job submit time (database and GUI tree view).

[#2631](https://github.com/cylc/cylc/pull/2631) - fix "failed" task event after
bad host select.

[#2626](https://github.com/cylc/cylc/pull/2626) - `cylc gui`: fix error when
a task job completes just before "view task prerequisites" (menu) is actioned.

[#2600](https://github.com/cylc/cylc/pull/2600) - correct task prerequisite
manipulation on state changes.

[#2596](https://github.com/cylc/cylc/pull/2596) - fix reference to parameter
values containing `+` or `-` characters.

[#2592](https://github.com/cylc/cylc/pull/2592) - permit syntax errors in edit
runs, so that the job file still gets written.

[#2579](https://github.com/cylc/cylc/pull/2579) - `cylc gscan`: fix a
re-spawning error dialog.

-------------------------------------------------------------------------------
## __cylc-7.6.1 (2018-03-28)__
Expand Down Expand Up @@ -67,23 +156,23 @@ state reset:
[#2410](https://github.com/cylc/cylc/pull/2410) - new CUSTOM severity task
messages that can trigger a custom event handler

[#2420](https://github.com/cylc/cylc/pull/2420) - <code>cylc monitor</code> now
[#2420](https://github.com/cylc/cylc/pull/2420) - `cylc monitor` now
reconnects automatically if its target suite gets restarted on a different port

[#2430](https://github.com/cylc/cylc/pull/2430) - <code>cylc gscan</code>,
<code>cylc gui</code> - significant reduction in impact on suite server
[#2430](https://github.com/cylc/cylc/pull/2430) - `cylc gscan`,
`cylc gui` - significant reduction in impact on suite server
programs

[#2433](https://github.com/cylc/cylc/pull/2433) - "group" (used to group suites
in <code>cylc gscan</code>) is now defined under the suite "[[meta]]" section
in `cylc gscan`) is now defined under the suite "[[meta]]" section

[#2424](https://github.com/cylc/cylc/pull/2424) - task job scripts now run in
<code>bash -l</code> (login shell) instead of explicitly sourcing your
<code>.profile</code> file. <em>WARNING</em>: if you have a
<code>.bash_profile</code> and were using <code>.profile</code>as well just for
`bash -l` (login shell) instead of explicitly sourcing your
`.profile` file. *WARNING*: if you have a
`.bash_profile` and were using `.profile` as well just for
Cylc, the latter file will now be ignored because bash gives precendence to the
former. If so, just move your Cylc settings into
</code>.bash_profile</code> or consult the Cylc User Guide for
`.bash_profile` or consult the Cylc User Guide for
other ways to configure the task job environment.

[#2441](https://github.com/cylc/cylc/pull/2441) -
Expand All @@ -105,8 +194,8 @@ arguments:

[#2468](https://github.com/cylc/cylc/pull/2468) - initialize task remotes
asynchronously via the multiprocessing pool, to avoid holding up suite start-up
unnecessarily. <em>WARNING</em> this introduces new remote commands: <code>cylc
remote-init</code> and <code>cylc remote-tidy</code> that will affect sites
unnecessarily. *WARNING* this introduces new remote commands: `cylc
remote-init` and `cylc remote-tidy` that will affect sites
using ssh whitelisting

[#2449](https://github.com/cylc/cylc/pull/2449) -
Expand Down Expand Up @@ -144,22 +233,22 @@ definitions

[#2489](https://github.com/cylc/cylc/pull/2489) -
[#2557](https://github.com/cylc/cylc/pull/2557) -
<code>cylc gscan</code> -
`cylc gscan` -
* configurable menubar visibility at start-up
* grouped suites now retain their grouped status once stopped

[#2515](https://github.com/cylc/cylc/pull/2515) -
[#2529](https://github.com/cylc/cylc/pull/2529) -
[#2517](https://github.com/cylc/cylc/pull/2517) -
[#2560](https://github.com/cylc/cylc/pull/2560) -
<code>cylc gui</code>
`cylc gui`
* put prompt dialogss above all windows
* load new-suite log files after switching to another suite via the File menu
* graph view: reinstate the right-click menu for ghost nodes (lost at cylc-7.5.0)
* job log files:
* fix and document the "extra log files" setting
* add "view in editor" support for extra log files
* add text-editor functionality to <code>cylc jobscript</code>
* add text-editor functionality to `cylc jobscript`
* add "preview jobscript" functionality to the GUI

[#2527](https://github.com/cylc/cylc/pull/2527) -
Expand All @@ -175,7 +264,7 @@ improved parameter support:
* allow positive offset for parameter index on graph
* allow negative integer parameters
* allow custom templating of parameter environment variables, in addition to
the built-in <code>CYLC_TASK_PARAM\_&lt;param-name&gt;</code>
the built-in `CYLC_TASK_PARAM\_&lt;param-name&gt;`
* allow bare parameter values as task names
* allow explicit parameter values in "inherit" items under "[runtime]"
* fix parameters inside (as opposed to beginning or end) of family names
Expand All @@ -186,7 +275,7 @@ version to 2.10. This fixes the block scope problem introduced in the previous
version

[#2558](https://github.com/cylc/cylc/pull/2558) - new options to print out JSON
format from <code>cylc show</code> and <code>cylc scan</code>
format from `cylc show` and `cylc scan`

### Fixes

Expand All @@ -207,11 +296,11 @@ cause HTTPS client failure due to SSL certificate host name mismatch
[#2434](https://github.com/cylc/cylc/pull/2434) - correctly strip "at TIME"
from the end of multi-line task messages

[#2440](https://github.com/cylc/cylc/pull/2440) - <code>cylc suite-state</code>
[#2440](https://github.com/cylc/cylc/pull/2440) - `cylc suite-state`
- fixed DB query of tasks with custom outputs that have not been generated yet

[#2444](https://github.com/cylc/cylc/pull/2444) - added <code>cylc
report-timings</code> to main command help
[#2444](https://github.com/cylc/cylc/pull/2444) - added `cylc
report-timings` to main command help

[#2449](https://github.com/cylc/cylc/pull/2449):
* server suite and task URLs from suite server programs, rather than parsing
Expand All @@ -232,7 +321,7 @@ communication method (broken at cylc-7.5.0)
[#2467](https://github.com/cylc/cylc/pull/2467) - fixed an error in reverse
date-time subtraction (first\_point - last\_point)

[#2474](https://github.com/cylc/cylc/pull/2474) - <code>cylc graph</code> -
[#2474](https://github.com/cylc/cylc/pull/2474) - `cylc graph` -
better handle suite parsing errors on view refresh

[#2496](https://github.com/cylc/cylc/pull/2496) - ensure that broadcasted
Expand All @@ -248,7 +337,7 @@ dangerous, but it could be done before, and the stop point in the GUI status
bar would still refer to the original)

[#2562](https://github.com/cylc/cylc/pull/2562) - improved advice on how to
generate an initial user config file (<code>global.rc</code>)
generate an initial user config file (`global.rc`)

-------------------------------------------------------------------------------
## __cylc-7.5.0 (2017-08-29)__
Expand Down Expand Up @@ -791,7 +880,7 @@ tasks in the 'runahead' state.
[#2025](https://github.com/cylc/cylc/pull/2025): Provide a configurable event
mail footer (suite or site/user configuration).

[#2032](https://github.com/cylc/cylc/pull/2032): <code>cylc gui</code> -
[#2032](https://github.com/cylc/cylc/pull/2032): `cylc gui` -
removed the annoying warning dialog for connection failed. Take note of the
connection countdown in the status bar instead.

Expand All @@ -801,18 +890,18 @@ connection countdown in the status bar instead.
occasionally generated by the gcylc GUI log view window.

[#2018](https://github.com/cylc/cylc/pull/2018): Restored the incremental
printing of dots to stdout from the <code>cylc suite-state</code> polling
printing of dots to stdout from the `cylc suite-state` polling
command (lost at 6.11.1).

[#2014](https://github.com/cylc/cylc/pull/2014): Fixed "remove after spawning".
Since 6.9.0 this would not force-spawn the successor of a waiting task.

[#2031](https://github.com/cylc/cylc/pull/2031): <code>cylc gscan</code> -
[#2031](https://github.com/cylc/cylc/pull/2031): `cylc gscan` -
fixed occasional jumping status icons introduced in 6.11.1.

[#2040](https://github.com/cylc/cylc/pull/2040): Corrected documentation for
the <code>cylc cat-log</code> command (it was using the alias <code>cylc
log</code>).
the `cylc cat-log` command (it was using the alias `cylc
log`).


## __cylc-6.11.1 (2016-09-22)__
Expand Down
76 changes: 59 additions & 17 deletions INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,14 @@
# Cylc Installation.

**See [The Cylc User Guide](https://cylc.github.io/cylc/documentation.html) for
detailed instructions.**
**See also [The Cylc User Guide](https://cylc.github.io/cylc/documentation.html).**

Cylc must be installed on suite and task job hosts. Third-party dependencies
(below) are not required on job hosts.

### Required Third-party Software Packages
### Third-party Software Packages

These can be installed on suite hosts, and updated very infrequently.

* graphviz
* pygraphviz
Install the packages listed in the **Installation** section of the User Guide.
See also *Check Software Installation* below.

### Installing Cylc

Expand All @@ -37,11 +34,9 @@ When you type `make`:
* The Cylc documentation is generated from source and put in doc/install/ (if
you have pdflatex, tex4ht, and several other LateX packages installed).

Cylc commands should be invoked via a central wrapper script that you need to
copy from sbin/cylc-wrapper to (say) /usr/local/bin/ and rename it as "cylc".
The wrapper selects between available versions, allowing long-running suites
(and their task jobs) to stick with older versions if necessary. The wrapper
should be edited to point to the Cylc install location:
Now copy the wrapper script `sbin/cylc-wrapper` to (say) `/usr/local/bin/`,
rename it as just `cylc`, and edit it - as per instructions in the file - to
point to the Cylc install location:

```bash
cp /opt/cylc-7.7.0/sbin/cylc-wrapper /usr/local/bin/cylc
Expand All @@ -52,7 +47,54 @@ Finally, make a symlink to the latest installed version:
```bash
ln -s /opt/cylc-7.7.0 /opt/cylc
```
(The wrapper will invoke this version if \lstinline=$CYLC_VERSION= is not set).
The central wrapper will invoke `cylc-$CYLC_VERSION` if `$CYLC_VERSION` is set
and that version is installed, or else the symlinked version as default. (Or
developers can set `$CYLC_HOME` to point to their local Cylc clone). Suite
server programs set `$CYLC_VERSION` to ensure that client programs invoked by
running task jobs (for messaging etc.) run from the same version as the
server.

### Check Software Installation

```
$ cylc check-software
Checking your software...
Individual results:
===============================================================================
Package (version requirements) Outcome (version found)
===============================================================================
*REQUIRED SOFTWARE*
Python (2.6+, <3).....................FOUND & min. version MET (2.7.12.final.0)
*OPTIONAL SOFTWARE for the GUI & dependency graph visualisation*
Python:pygtk (2.0+)...........................FOUND & min. version MET (2.24.0)
graphviz (any)...................................................FOUND (2.38.0)
Python:pygraphviz (any)...........................................FOUND (1.3.1)
*OPTIONAL SOFTWARE for the HTML User Guide*
ImageMagick (any)...............................................FOUND (6.8.9-9)
*OPTIONAL SOFTWARE for the HTTPS communications layer*
Python:urllib3 (any).............................................FOUND (1.13.1)
Python:OpenSSL (any).............................................FOUND (17.2.0)
Python:requests (2.4.2+).......................FOUND & min. version MET (2.9.1)
*OPTIONAL SOFTWARE for the LaTeX User Guide*
TeX:framed (any)....................................................FOUND (n/a)
TeX (3.0+)................................FOUND & min. version MET (3.14159265)
TeX:preprint (any)..................................................FOUND (n/a)
TeX:tex4ht (any)....................................................FOUND (n/a)
TeX:tocloft (any)...................................................FOUND (n/a)
TeX:texlive (any)...................................................FOUND (n/a)
===============================================================================
Summary:
****************************
Core requirements: ok
Full-functionality: ok
****************************
```

### Installing The Documentation

Expand All @@ -62,7 +104,7 @@ After running `make`, copy the `doc/install` directory to a location such as
### Cloning The Cylc Repository

To participate in Cylc development fork [Cylc on
GitHub](https://github.com/cylc/cylc) and clone it locally. Changes should be
developed in feature branches then pushed to your GitHub fork before issuing a
Pull Request to the team. Please post an Issue to discuss proposed changes
before you begin any signficant work.
GitHub](https://github.com/cylc/cylc) and make a local clone of your own fork
to work in. Changes should be developed in feature branches then pushed to
your GitHub fork before issuing a Pull Request to the team. Please post an
Issue to discuss proposed changes before you begin any signficant work.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You should have received a copy of the GNU General Public License along with
cylc. If not, see [GNU licenses](http://www.gnu.org/licenses/).

## Cylc Documentation
* See [The Cylc Home Page](https://cylc.github.io/cylc)
* See [The Cylc Web Page](https://cylc.github.io/cylc)

## Code Contributors
<!-- git shortlog -s -n -->
Expand Down
6 changes: 3 additions & 3 deletions dev/bin/make-tarball
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ if [[ ! -d .git && ! -f .git ]]; then
exit 1
fi

# sbin/
# dev/bin/
THIS_DIR=$( cd $( dirname $0 ); pwd; )
# dev/bin/get-repo-version
VERSION=$( "$THIS_DIR/../dev/bin/get-repo-version" )
# sbin/get-repo-version
VERSION=$( "$THIS_DIR/../../sbin/get-repo-version" )

RELEASE=cylc-$VERSION
TARBALL=${RELEASE}.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion doc/src/cylc-user-guide/cug.tex
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ \section{Installation}

Cylc runs on Unix variants, usually Linux, and including Apple OS X.

\subsection{External Software Packages}
\subsection{Third-Party Software Packages}

{\bf Python \lstinline@>=@ 2.6} is required (but not yet Python 3). Python
should already be installed in your Linux system. \url{https://python.org}.
Expand Down
3 changes: 3 additions & 0 deletions doc/src/cylc-user-guide/job-host.tex
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ \section{Remote Job Host Interaction}

\lstset{language=jobhosts}

{\em This section is slightly out of date: all Cylc (but not Rose) commands
now act via \lstinline=cylc= sub-commands on remote job hosts.}

This appendix shows transcripts of all \lstinline=ssh=, \lstinline=scp=, and
\lstinline=rsync= invocations from a Cylc suite called \lstinline=test= started by
\lstinline=rose suite-run= on \lstinline=vagrant@localhost=. The suite
Expand Down
Loading

0 comments on commit 7961bd5

Please sign in to comment.