Skip to content
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

Spec v2 #70

Merged
merged 21 commits into from
Feb 18, 2022
Merged

Spec v2 #70

merged 21 commits into from
Feb 18, 2022

Conversation

K-Meech
Copy link
Contributor

@K-Meech K-Meech commented Feb 17, 2022

fixes #51, #68 and #67

Finally got around to updating mobie.github.io for the new MoBIE version! This is a huge diff, so it's probably easiest to just browse from the index.md for this branch: https://github.com/mobie/mobie.github.io/blob/spec_v2/index.md

@tischi @constantinpape Anything else need adding here?

@tischi
Copy link
Contributor

tischi commented Feb 17, 2022

Thanks a lot!
I would just merge it and then fix bugs.
Looking at the diff is too cumbersome...
OK?

@constantinpape
Copy link
Contributor

I will have a quick look at the diff later and then merge @tischi.

@tischi
Copy link
Contributor

tischi commented Feb 17, 2022

OK, browsing from the index works 😄

One issue:

Service endpoint - the location of your S3 object store

I would write something that this only applies if using an AWS managed object store. If one uses some other object store, e.g. at EMBL-EBI this should be left blank.

@tischi
Copy link
Contributor

tischi commented Feb 17, 2022

Another thing, I would probably make CLI calls be code, e.g.

Instead of

$ aws s3 sync /path/to/my/project https://s3.embl.de/my-bucket

Do this (with the back ticks)

$ aws s3 sync /path/to/my/project https://s3.embl.de/my-bucket

Copy link
Contributor

@constantinpape constantinpape left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @K-Meech! I had a brief look through the diff, but only found a single heading that could be improved. I also agree with @tischi that commands should be markdown rendered via backticks, besides these two minor points this is good to be merged from my side and we can fix more small issues as we find them.

tutorials/creating_your_own_views.md Outdated Show resolved Hide resolved
@K-Meech
Copy link
Contributor Author

K-Meech commented Feb 18, 2022

Good points! I'll make these changes

@K-Meech
Copy link
Contributor Author

K-Meech commented Feb 18, 2022

I would write something that this only applies if using an AWS managed object store. If one uses some other object store, e.g. at EMBL-EBI this should be left blank.

@tischi - do you have an example of this? How does the project know where to fetch images from if this is blank?

@tischi
Copy link
Contributor

tischi commented Feb 18, 2022

I don't have an example, but here:

https://github.com/mobie/platybrowser-project/blob/8a04f91a32fd2cad013d9d1aa30c105b9bcc1864/data/1.0.1/images/remote/prospr-6dpf-1-whole-ache.xml#L28

This would also work like this:

    <ImageLoader format="bdv.n5.s3">
      <Key>0.6.3/images/local/prospr-6dpf-1-whole-ache.n5</Key>
      <SigningRegion></SigningRegion>
      <ServiceEndpoint>https://s3.embl.de</ServiceEndpoint>
      <BucketName>platybrowser</BucketName>
    </ImageLoader>

@K-Meech
Copy link
Contributor Author

K-Meech commented Feb 18, 2022

Ah ok - you mean the signingRegion? Not the serviceEndpoint?

@tischi
Copy link
Contributor

tischi commented Feb 18, 2022

yes, sorry if i mixed it up.

@K-Meech
Copy link
Contributor Author

K-Meech commented Feb 18, 2022

I make all the fixes in the last commit :)

@K-Meech
Copy link
Contributor Author

K-Meech commented Feb 18, 2022

I'll go ahead and merge this.

@K-Meech K-Meech merged commit b2c1881 into master Feb 18, 2022
@tischi
Copy link
Contributor

tischi commented Feb 18, 2022

did you bump the patch version?!

@K-Meech
Copy link
Contributor Author

K-Meech commented Feb 18, 2022

No I didn't. Should I do that now? (it's already merged...)

@tischi
Copy link
Contributor

tischi commented Feb 18, 2022

Yes, you could do it directly in develop.

@K-Meech
Copy link
Contributor Author

K-Meech commented Feb 18, 2022

I'll just do this straight into master, as there's no develop branch for the docs repo

@K-Meech
Copy link
Contributor Author

K-Meech commented Feb 18, 2022

I take it back - there is a develop branch! I just didn't know it existed haha

@K-Meech
Copy link
Contributor Author

K-Meech commented Feb 18, 2022

Ah I can't bump the version - because there is no pom in this repo, it's only markdown. If there's anywhere else to change the version, let me know.

@constantinpape
Copy link
Contributor

constantinpape commented Feb 18, 2022

Given that this repo only contains the schema and docs it does not make sense to add a pom. We can instead use github releases (which just map to git tags) to keep track of version changes.

We currently don't have a release yet, but it's easy to create one via the Create new release button.
image

But we should define what exactly a release here means, as it makes most sense to use it to keep track of changes in the sepc (as defined by the jsonschema)

My initial thought was to create a 0.2.0 once the current spec is fixed (which I think is the case now).

@K-Meech
Copy link
Contributor Author

K-Meech commented Feb 18, 2022

Sounds good to me! I'll make a separate issue for this.

@K-Meech K-Meech mentioned this pull request Feb 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updating mobie.github.io for mobie2
3 participants