-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
59 changed files
with
949 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
coverage: | ||
range: 50..90 | ||
round: down | ||
precision: 0 | ||
|
||
comment: | ||
layout: "diff, files" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
version: 2 | ||
|
||
build: | ||
image: latest | ||
|
||
sphinx: | ||
configuration: docs/source/conf.py | ||
|
||
formats: all | ||
|
||
python: | ||
version: 3.6 | ||
|
||
requirements_file: requirements_docs.txt | ||
version: 3.7 | ||
install: | ||
- requirements: docs/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include LICENSE README.md | ||
include requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
-r requirements_dev.txt | ||
-r ../requirements-dev.txt | ||
|
||
sphinx | ||
sphinx_rtd_theme | ||
sphinx_autodoc_typehints | ||
pygments-github-lexers | ||
ipython | ||
nbsphinx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
How to Release a New HTMap Version | ||
================================== | ||
|
||
.. py:currentmodule:: htmap | ||
To release a new version of HTMap: | ||
|
||
1. Merge the version PR into ``master`` via GitHub. | ||
1. Make a GitHub release from https://github.com/htcondor/htmap/releases . | ||
Name it exactly ``vX.Y.Z``, and link to the release notes for that version | ||
(like https://htmap.readthedocs.io/en/latest/versions/vX_Y_Z.html ) | ||
in the description (the page will not actually exist yet). | ||
1. Delete anything in the ``dist/`` directory in your copy of the repository. | ||
1. On your machine, make sure ``master`` is up-to-date, then run | ||
``python3 setup.py sdist bdist_wheel`` to create the source distribution | ||
and the wheel. (This is where the files in ``dist/`` are created.) | ||
1. Install Twine: ``pip install twine``. | ||
1. Upload to PyPI: | ||
``python3 -m twine upload dist/*``. | ||
You will be prompted for your PyPI login. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
v0.5.0 | ||
====== | ||
|
||
New Features | ||
------------ | ||
|
||
* HTMap CLI commands that operate on tags can now pattern-match for tags using | ||
glob syntax. Try adding ``-p "<pattern>"`` to commands like ``htmap remove`` | ||
or ``htmap release``! | ||
Issue: https://github.com/htcondor/htmap/issues/159 | ||
* Component status tracking is now preserved between sessions, so it won't be | ||
performed from scratch every time. This will only work if the HTCondor Python | ||
bindings version is 8.9.3 or greater. You can upgrade your bindings version | ||
roughly-independently of HTMap by running ``pip install --upgrade htcondor``. | ||
Issue: https://github.com/htcondor/htmap/issues/166 | ||
* :class:`htmap.Map`, :class:`htmap.MapStdOut`, :class:`htmap.MapStdErr`, | ||
and :class:`htmap.MapOutputFiles` now all support in the ``in`` operator to check | ||
if a component index is in the map. | ||
|
||
|
||
Deprecated Features | ||
------------------- | ||
|
||
* The various iteration methods on :class:`htmap.Map` no longer have a | ||
``callback`` argument. | ||
|
||
|
||
Bug Fixes | ||
--------- | ||
|
||
* It should now be much harder to accidentally get a dangling, inaccessible map | ||
due to an interrupted ``remove``. | ||
Issue: https://github.com/htcondor/htmap/issues/127 | ||
* When an execution errors occurs, the exception and traceback will be printed | ||
to stderr execute-side (in addition to being brought back submit-side). This | ||
should make some debugging patterns work as expected. | ||
Issue: https://github.com/htcondor/htmap/issues/178 | ||
* The CLI command ``htmap status --live`` now has much better behavior when | ||
the table width is nearly the width of the terminal. It should now never wrap | ||
unless the table is actually wider than the terminal, instead of a few | ||
characters before the actual width. | ||
* HTMap now handles late materialized jobs much more smoothly: maps with | ||
unmaterialized components can be removed, and various CLI commands that output | ||
color won't fail when acting on maps with unmaterialized components. However, | ||
unmaterialized components do not show as `IDLE`, which mirrors the behavior | ||
of `condor_q`. This does make it hard to know how many components are in a | ||
late-materialized map at a glance; we are thinking about how to address this. | ||
Issue: https://github.com/htcondor/htmap/issues/158 | ||
|
||
|
||
Known Issues | ||
------------ | ||
|
||
* Execution errors that result in the job being terminated but no output being | ||
produced are still not handled entirely gracefully. Right now, the component | ||
state will just show as ``ERRORED``, but there won't be an actual error report. | ||
* Map component state may become corrupted when a map is manually vacated. | ||
Force-removal may be needed to clean up maps if HTCondor and HTMap disagree | ||
about the state of their components. | ||
Issue: https://github.com/htcondor/htmap/issues/129 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@echo off | ||
|
||
SET CONTAINER_TAG=htmap-tests | ||
|
||
ECHO Building HTMap testing container... | ||
|
||
docker build --quiet -t %CONTAINER_TAG% --file tests/_inf/Dockerfile . | ||
docker run -it --rm %CONTAINER_TAG% %* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,8 @@ | |
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
FROM continuumio/anaconda3:2019.03 | ||
FROM continuumio/anaconda3:2019.07 | ||
ENV PATH=/opt/conda/bin/:${PATH} | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.