Skip to content

Commit

Permalink
MAINT: rebrand everything to dserver
Browse files Browse the repository at this point in the history
  • Loading branch information
jotelha committed Feb 13, 2024
1 parent e518295 commit 18d9442
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ This change log uses principles from `keep a changelog <http://keepachangelog.co
[Unreleased]
------------

- rebranded everything from ``dtool_lookup_client`` to ``dserver_client``

Added
^^^^^

Expand Down
16 changes: 8 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
README
======

Dtool plugin for interacting with dtool lookup server
tool plugin for interacting with dserver

Installation
------------

To install the dtool_lookup_client package.
To install the dserver_client package.

.. code-block:: bash
pip install dtool_lookup_client
pip install dserver_client
This plugin depends on having a `dtool-lookup-server
<https://github.com/jic-dtool/dtool-lookup-server>`_ to talk to.
This plugin depends on having a `dserver
<https://github.com/jic-dtool/dserver>`_ to talk to.

Configuration
-------------

The plugin needs to know the URL of the lookup server::

export DTOOL_LOOKUP_SERVER_URL=http://localhost:5000
export DSERVER_URL=http://localhost:5000

You also need to specify the access token::

export DTOOL_LOOKUP_SERVER_TOKEN=$(flask user token olssont)
export DSERVER_TOKEN=$(flask user token olssont)

For testing purposes, it is possible to disable SSL certificates validation with::

export DTOOL_LOOKUP_CLIENT_IGNORE_SSL=true
export DSERVER_CLIENT_IGNORE_SSL=true

Looking up datasets by UUID
---------------------------
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ exclude=env*,.tox,.git,*.egg,build,docs

[tool:pytest]
testpaths = tests
addopts = --cov=dtool_lookup_client
addopts = --cov=dserver_client
#addopts = -x --pdb

[cov:run]
source = dtool_lookup_client
source = dserver_client
File renamed without changes.

0 comments on commit 18d9442

Please sign in to comment.