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

[Suggestion] Potential Method for non-append system? #8

Open
Merith-TK opened this issue Apr 13, 2023 · 4 comments
Open

[Suggestion] Potential Method for non-append system? #8

Merith-TK opened this issue Apr 13, 2023 · 4 comments

Comments

@Merith-TK
Copy link
Contributor

Why not go back to something like DSCLI a little?

Why not make the bot use an "forum channel" like this,
image
Where the "initial message" contains file information, and then is uploaded in chunks?

or is there not yet discord bot mappings for that?

@Merith-TK
Copy link
Contributor Author

Have the "forum title" be the file name, its max character limit is 100, so maybe

title: filename.dat
postMSG: <contain file information data>
replies: <the file data>

@darenliang
Copy link
Owner

One of the main motivators for dsfs is that it addresses the shortcomings of dscli.

Filenames no longer have a limit and there is support for an arbitrary number of files and folders, along with fuse support.

I'm afraid it isn't possible to use the same system dscli uses anymore. If you had files stored via dscli you can move it over to dsfs or continue to access the files via dscli.

The transaction formats for dsfs aren't stable at the moment so there could be backwards incompatible changes but I will find a way to address that. Discord recently increased the file limit from 8MB to 25MB but dsfs can't safely use the new file limit size without breaking existing dsfs servers.

@Merith-TK
Copy link
Contributor Author

Merith-TK commented Apr 13, 2023 via email

@darenliang
Copy link
Owner

Yes that's a good approach. To make it more future proof I think it would be a good idea to add a tx version number and write migration code to automatically convert old versions to newer versions.

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

No branches or pull requests

2 participants