-
Notifications
You must be signed in to change notification settings - Fork 2
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
Migrate to copier #159
Merged
Merged
Migrate to copier #159
Changes from 5 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
9fcd898
adopt copier 1.0.0
d-perl 229e747
update copier to 2.2.0
d-perl 34c3dcd
fix some settings and tests
d-perl 6f29baf
restore docs
d-perl ad7bc8f
Merge branch 'main' into 158_migrate_to_copier
d-perl 532e94d
pin p4p
d-perl 9f30ae7
fix some ruff
d-perl d18790e
run ruff unsafe fixes to fix fstrings
d-perl a0aff64
run precommit to add newlines
d-perl 1d16784
address more ruff
d-perl 7160b03
remove 3.12 from CI tests
d-perl bd7971d
fix pyright errors
d-perl b33b29d
fix tests
d-perl cb07290
fix owner name
d-perl 4dc37bb
Merge branch 'main' into 158_migrate_to_copier
d-perl 000f6e0
add newline
d-perl 2c44242
fix typing
d-perl 0a0d40d
give package name a hyphen
d-perl 223cf8b
remove typeignore
d-perl 223d542
pin dodal
d-perl f161198
unpin dodal
d-perl ad47831
replace reference to mx_bluesky in docs
d-perl 156d168
except where they refer to module...
d-perl b653b0b
and file paths...
d-perl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
|
@@ -5,12 +5,12 @@ author_email: [email protected] | |
author_name: Dominic Oram | ||
component_owner: group:data-acquisition | ||
description: Bluesky tools for MX Beamlines at DLS | ||
distribution_name: mx_bluesky | ||
distribution_name: mx-bluesky | ||
docker: true | ||
docs_type: sphinx | ||
git_platform: github.com | ||
github_org: DiamondLightSource | ||
package_name: mx_bluesky | ||
pypi: true | ||
repo_name: mx_bluesky | ||
repo_name: mx-bluesky | ||
type_checker: pyright |
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
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
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,19 +1,19 @@ | ||
Get Started with mx_bluesky | ||
Get Started with mx-bluesky | ||
--------------------------- | ||
======================= | ||
Development Environment | ||
======================= | ||
|
||
- Clone this repo: ``[email protected]:DiamondLightSource/mx_bluesky.git`` | ||
- To install a ``dev`` environment run ``./dls_dev_setup.sh``. Note that this will also clone and install a local version of ``dodal``, as the ``mx_bluesky`` package makes use of the devices instantiated there. | ||
- Clone this repo: ``[email protected]:DiamondLightSource/mx-bluesky.git`` | ||
- To install a ``dev`` environment run ``./dls_dev_setup.sh``. Note that this will also clone and install a local version of ``dodal``, as the ``mx-bluesky`` package makes use of the devices instantiated there. | ||
|
||
The recommended IDE is vscode, and a workspace which includes dodal has been set up in the repo. This can be used on a DLS machine as follows: | ||
|
||
.. code-block:: bash | ||
|
||
cd /path/to/mx_bluesky | ||
cd /path/to/mx-bluesky | ||
module load vscode | ||
code ./.vscode/mx_bluesky.code-workspace | ||
code ./.vscode/mx-bluesky.code-workspace | ||
|
||
- If you use vs code, you may need to set the python interpreter for both repositories to the one from the virtual environment created in ``.venv`` | ||
|
||
|
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
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
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,15 +1,15 @@ | ||
Run in a container | ||
================== | ||
|
||
Pre-built containers with mx_bluesky and its dependencies already | ||
Pre-built containers with mx-bluesky and its dependencies already | ||
installed are available on `Github Container Registry | ||
<https://ghcr.io/DiamondLightSource/mx_bluesky>`_. | ||
<https://ghcr.io/DiamondLightSource/mx-bluesky>`_. | ||
|
||
Starting the container | ||
---------------------- | ||
|
||
To pull the container from github container registry and run:: | ||
|
||
$ docker run ghcr.io/DiamondLightSource/mx_bluesky:main --version | ||
$ docker run ghcr.io/DiamondLightSource/mx-bluesky:main --version | ||
|
||
To get a released version, use a numbered release instead of ``main``. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made DiamondLightSource/python-copier-template#188 for this warning