continuity icon indicating copy to clipboard operation
continuity copied to clipboard

[Request] media type?

Open AkihiroSuda opened this issue 8 years ago • 5 comments

Please consider defining a media type? e.g. application/vnd.stevvooe.continuity.manifest.v1+pb (But I'm not sure what is the de facto standard of a suffix for protobuf. Seems undefined in RFC https://en.wikipedia.org/wiki/Media_type#Suffix )

AkihiroSuda avatar Feb 02 '17 02:02 AkihiroSuda

@AkihiroSuda I am not sure if I want to see my name in a mediatype. :stuck_out_tongue:

application/vnd.continuity.manifest.v1+pb

That looks okay to me.

@dmcgowan Any opinions here?

stevvooe avatar Feb 15 '17 21:02 stevvooe

application/vnd.continuity.manifest.v1+pb is fine by me. Not sure we are in a point where we want to nail down a media type version though.

@AkihiroSuda where do you see this media type as being used?

dmcgowan avatar Feb 15 '17 23:02 dmcgowan

Not sure we are in a point where we want to nail down a media type version though.

More like application/vnd.continuity.manifest.v0+pb or application/vnd.continuity.manifest.vthisisgoingtobreak+pb.

stevvooe avatar Feb 15 '17 23:02 stevvooe

+1 for application/vnd.continuity.manifest.v0+pb.

where do you see this media type as being used?

I'm trying to use continuity as an OCI image layer that can be content-addressable in the granularity of file. So I needed media type information.

My WIP idea is available at https://github.com/AkihiroSuda/filegrain/tree/v20170217 .

I think you have considered something similar to this previously. I'd appreciate if you can give me your feedback. 😃

AkihiroSuda avatar Feb 17 '17 06:02 AkihiroSuda

@AkihiroSuda This was always an intended eventual application of continuity. The main benefit here is the ability to share data between root filesystems.

In general, filegrain looks interesting. I would recommend, as I said in response to your proposal, to move the continuity manifest further down towards the configuration and represent the file requirements in a new dependencies field on manifest to avoid having the distribution stack to understand continuity.

stevvooe avatar Feb 17 '17 23:02 stevvooe