[WIP] proto3 proposal #17

Closed
lyoshenka wants to merge 3 commits from proto3 into master
4 changed files with 12 additions and 11 deletions
Showing only changes of commit 69807aaae5 - Show all commits

View file

@ -4,4 +4,8 @@ package pb;
message Channel {
bytes public_key = 1;
string name = 2;
jackrobison commented 2019-02-26 22:45:11 +01:00 (Migrated from github.com)
Review

this is different from the name used to make the claim? is this like a title?

this is different from the name used to make the claim? is this like a title?
kauffj commented 2019-02-27 16:00:33 +01:00 (Migrated from github.com)
Review

yes

yes
string description = 3;
string thumbnail_url = 4; // url or claim ID?
string cover_url = 5; // url or claim ID?
}
kauffj commented 2019-02-14 16:46:05 +01:00 (Migrated from github.com)
Review

we may want a short description, limited to a reasonable number of characters and no markup, as well as an unbounded (well, bounded by claim size) field that would be shown on the full profile view

we may want a short description, limited to a reasonable number of characters and no markup, as well as an unbounded (well, bounded by claim size) field that would be shown on the full profile view
tzarebczan commented 2019-02-15 17:57:34 +01:00 (Migrated from github.com)
Review

regarding: https://github.com/lbryio/types/pull/17#issuecomment-463418314 - I think Name could be the channels real name, or whatever they want to nickname their channel...i.e. my channel is @iloveLBRY, but the name would be "I Love LBRY!"

How does everyone feel about adding some of my other suggestions from https://github.com/lbryio/types/issues/8 -at least Language (and/or Location? - that's what YT has) and Featured Video (lbry URL/claimid).

regarding: https://github.com/lbryio/types/pull/17#issuecomment-463418314 - I think Name could be the channels real name, or whatever they want to nickname their channel...i.e. my channel is @iloveLBRY, but the name would be "I Love LBRY!" How does everyone feel about adding some of my other suggestions from https://github.com/lbryio/types/issues/8 -at least Language (and/or Location? - that's what YT has) and Featured Video (lbry URL/claimid).
tzarebczan commented 2019-02-16 15:48:32 +01:00 (Migrated from github.com)
Review
  • should cover and thumbnail be web URLs or LBRY URLs or claim IDs? - I think this should be similar to our current thumbnail system, and if we decide to support LBRY urls/hashes there, then we should here too. For now, http urls / spee.ch links should work fine.
* should `cover` and `thumbnail` be web URLs or LBRY URLs or claim IDs? - I think this should be similar to our current thumbnail system, and if we decide to support LBRY urls/hashes there, then we should here too. For now, http urls / spee.ch links should work fine.

View file

@ -7,9 +7,8 @@ import "channel.proto";
kauffj commented 2019-01-25 22:37:14 +01:00 (Migrated from github.com)
Review

Do we need this?

Do we need this?
kauffj commented 2019-01-25 22:37:14 +01:00 (Migrated from github.com)
Review

Do we need this?

Do we need this?
message Claim {
enum Type {
UNKNOWN = 0;
kauffj commented 2019-01-25 22:37:14 +01:00 (Migrated from github.com)
Review

Do we need this?

Do we need this?
STREAM = 1;
kauffj commented 2019-01-25 22:37:14 +01:00 (Migrated from github.com)
Review

Do we need this?

Do we need this?
CHANNEL = 2;
kauffj commented 2019-01-25 22:37:14 +01:00 (Migrated from github.com)
Review

Do we need this?

Do we need this?
STREAM = 0;
kauffj commented 2019-01-25 22:37:14 +01:00 (Migrated from github.com)
Review

Do we need this?

Do we need this?
CHANNEL = 1;
kauffj commented 2019-01-25 22:37:14 +01:00 (Migrated from github.com)
Review

Do we need this?

Do we need this?
}
Type type = 1; // do we need this?

kauffj commented 2019-01-25 22:37:14 +01:00 (Migrated from github.com)
Review

Do we need this?

Do we need this?
kauffj commented 2019-01-25 22:37:14 +01:00 (Migrated from github.com)
Review

Do we need this?

Do we need this?

View file

@ -4,10 +4,9 @@ package pb;
message Fee {
enum Currency {
UNKNOWN = 0;
LBC = 1;
BTC = 2;
USD = 3;
LBC = 0;
BTC = 1;
USD = 2;
}
Currency currency = 1;

View file

@ -17,8 +17,7 @@ message Stream {
kauffj commented 2019-01-25 22:35:11 +01:00 (Migrated from github.com)
Review

This seems very safe to include in the top 15, I think.

This seems very safe to include in the top 15, I think.
kauffj commented 2019-01-25 22:35:28 +01:00 (Migrated from github.com)
Review

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.
kauffj commented 2019-01-25 22:35:36 +01:00 (Migrated from github.com)
Review

What is this?

What is this?
lyoshenka commented 2019-02-13 23:48:34 +01:00 (Migrated from github.com)
Review

i actually don't know. we have it today

i actually don't know. we have it today
kauffj commented 2019-01-25 22:35:11 +01:00 (Migrated from github.com)
Review

This seems very safe to include in the top 15, I think.

This seems very safe to include in the top 15, I think.
kauffj commented 2019-01-25 22:35:28 +01:00 (Migrated from github.com)
Review

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.
kauffj commented 2019-01-25 22:35:36 +01:00 (Migrated from github.com)
Review

What is this?

What is this?
lyoshenka commented 2019-02-13 23:48:34 +01:00 (Migrated from github.com)
Review

i actually don't know. we have it today

i actually don't know. we have it today
Fee fee = 16;
string license_url = 17;
string thumbnail = 18;
kauffj commented 2019-01-25 22:35:11 +01:00 (Migrated from github.com)
Review

This seems very safe to include in the top 15, I think.

This seems very safe to include in the top 15, I think.
kauffj commented 2019-01-25 22:35:28 +01:00 (Migrated from github.com)
Review

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.
kauffj commented 2019-01-25 22:35:36 +01:00 (Migrated from github.com)
Review

What is this?

What is this?
lyoshenka commented 2019-02-13 23:48:34 +01:00 (Migrated from github.com)
Review

i actually don't know. we have it today

i actually don't know. we have it today
string preview = 19;
kauffj commented 2019-01-25 22:35:11 +01:00 (Migrated from github.com)
Review

This seems very safe to include in the top 15, I think.

This seems very safe to include in the top 15, I think.
kauffj commented 2019-01-25 22:35:28 +01:00 (Migrated from github.com)
Review

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.
kauffj commented 2019-01-25 22:35:36 +01:00 (Migrated from github.com)
Review

What is this?

What is this?
lyoshenka commented 2019-02-13 23:48:34 +01:00 (Migrated from github.com)
Review

i actually don't know. we have it today

i actually don't know. we have it today
bool nsfw = 20;
kauffj commented 2019-01-25 22:35:11 +01:00 (Migrated from github.com)
Review

This seems very safe to include in the top 15, I think.

This seems very safe to include in the top 15, I think.
kauffj commented 2019-01-25 22:35:28 +01:00 (Migrated from github.com)
Review

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.
kauffj commented 2019-01-25 22:35:36 +01:00 (Migrated from github.com)
Review

What is this?

What is this?
lyoshenka commented 2019-02-13 23:48:34 +01:00 (Migrated from github.com)
Review

i actually don't know. we have it today

i actually don't know. we have it today
uint32 duration = 21;
kauffj commented 2019-01-25 22:35:11 +01:00 (Migrated from github.com)
Review

This seems very safe to include in the top 15, I think.

This seems very safe to include in the top 15, I think.
kauffj commented 2019-01-25 22:35:28 +01:00 (Migrated from github.com)
Review

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.
kauffj commented 2019-01-25 22:35:36 +01:00 (Migrated from github.com)
Review

What is this?

What is this?
lyoshenka commented 2019-02-13 23:48:34 +01:00 (Migrated from github.com)
Review

i actually don't know. we have it today

i actually don't know. we have it today
string thumbnail_url = 18;
kauffj commented 2019-01-25 22:35:11 +01:00 (Migrated from github.com)
Review

This seems very safe to include in the top 15, I think.

This seems very safe to include in the top 15, I think.
kauffj commented 2019-01-25 22:35:28 +01:00 (Migrated from github.com)
Review

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.
kauffj commented 2019-01-25 22:35:36 +01:00 (Migrated from github.com)
Review

What is this?

What is this?
lyoshenka commented 2019-02-13 23:48:34 +01:00 (Migrated from github.com)
Review

i actually don't know. we have it today

i actually don't know. we have it today
uint32 duration = 19;
kauffj commented 2019-01-25 22:35:11 +01:00 (Migrated from github.com)
Review

This seems very safe to include in the top 15, I think.

This seems very safe to include in the top 15, I think.
kauffj commented 2019-01-25 22:35:28 +01:00 (Migrated from github.com)
Review

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.
kauffj commented 2019-01-25 22:35:36 +01:00 (Migrated from github.com)
Review

What is this?

What is this?
lyoshenka commented 2019-02-13 23:48:34 +01:00 (Migrated from github.com)
Review

i actually don't know. we have it today

i actually don't know. we have it today
repeated string tags = 20;
kauffj commented 2019-01-25 22:35:11 +01:00 (Migrated from github.com)
Review

This seems very safe to include in the top 15, I think.

This seems very safe to include in the top 15, I think.
kauffj commented 2019-01-25 22:35:28 +01:00 (Migrated from github.com)
Review

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.
kauffj commented 2019-01-25 22:35:36 +01:00 (Migrated from github.com)
Review

What is this?

What is this?
lyoshenka commented 2019-02-13 23:48:34 +01:00 (Migrated from github.com)
Review

i actually don't know. we have it today

i actually don't know. we have it today
}
kauffj commented 2019-01-25 22:34:45 +01:00 (Migrated from github.com)
Review

this field should die entirely

this field should die entirely
lyoshenka commented 2019-01-28 22:38:05 +01:00 (Migrated from github.com)
Review

should it be changed to creator? if im publishing public-domain work that i did not create, how do i note that?

should it be changed to creator? if im publishing public-domain work that i did not create, how do i note that?
kauffj commented 2019-01-29 00:33:03 +01:00 (Migrated from github.com)
Review

Fair, something like this probably needs to exist. But if we're supporting that kind of thing we'd still want that to be a first-class entity (at some point, we're obviously not too close to that).

I'd recommend keeping this out of the 15 because I do not think a single plain text field will be the ultimate solution for how distinguishing authorship.

Fair, something like this probably needs to exist. But if we're supporting that kind of thing we'd still want that to be a first-class entity (at some point, we're obviously not too close to that). I'd recommend keeping this out of the 15 because I do not think a single plain text field will be the ultimate solution for how distinguishing authorship.

kauffj commented 2019-01-25 22:35:11 +01:00 (Migrated from github.com)
Review

This seems very safe to include in the top 15, I think.

This seems very safe to include in the top 15, I think.
kauffj commented 2019-01-25 22:35:28 +01:00 (Migrated from github.com)
Review

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.
kauffj commented 2019-01-25 22:35:36 +01:00 (Migrated from github.com)
Review

What is this?

What is this?
lyoshenka commented 2019-02-13 23:48:34 +01:00 (Migrated from github.com)
Review

i actually don't know. we have it today

i actually don't know. we have it today
kauffj commented 2019-01-25 22:35:11 +01:00 (Migrated from github.com)
Review

This seems very safe to include in the top 15, I think.

This seems very safe to include in the top 15, I think.
kauffj commented 2019-01-25 22:35:28 +01:00 (Migrated from github.com)
Review

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.

If this is metadata 2.0 this should be fixed/expanded, or simply moved into a tag.
kauffj commented 2019-01-25 22:35:36 +01:00 (Migrated from github.com)
Review

What is this?

What is this?
lyoshenka commented 2019-02-13 23:48:34 +01:00 (Migrated from github.com)
Review

i actually don't know. we have it today

i actually don't know. we have it today