switch to OSDN for iso hosting #236
Labels
No labels
Done
bug
buildiso
buildpkg
buildtree
critical
deployiso
duplicate
enhancement
help wanted
in progress
invalid
manjaro-chroot
note
old-not-relevant
optional
question
sonar
todo
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tools/manjaro-tools#236
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: udeved
This looks good, it doesn't state that a project needs to start the shell server manually like on SF.
It seems to be available if a project is hosted there.
https://en.osdn.jp/docs/ShellServer
Created by: philmmanjaro
I created a project called manjaro. Will create another one called manjaro-spins.
Created by: philmmanjaro
Seems you can only upload with sftp. You have ssh for homepage management. The structure however is totally different. With sf.net you have [more options](https://sourceforge.net/p/forge/documentation/File Management/) to manage your files. Using rsync there is no shell server needed.
Folder structure can be created before, which seems to be the only handycap here. sshpass can be used if you use a bash script to upload your files without a password request. If not used, the password gets asked to type in. Since OSDN doesn't support rsync upload yet, I see no option to follow up this further ...
Created by: udeved
ah, ok.
Yes, SF is ok, but, folder creation is ugly with rsync as workaround to ssh shell, which is available, but you need to start it manually, it lasts iirc 1 hour.
Can you also delete projects on SF? There are too many projects with manjaro hosting iso on SF.
Created by: philmmanjaro
No, I can only delete projects which I own. Which is manjarolinux, manjarodev and manjarotest.
Created by: udeved
I also have 3 basically play projects on SF with manjaro in name. But how/where can I delete it on SF?
Created by: philmmanjaro
Regarding the shell. You need it only to get the file structure done. That I do mostly in front with the webservices directly on SF.net as I can hide the folder for 3 days. Then I modify my release script and use that for uploading:
Created by: udeved
deployiso does the same but with ssh keys instead of pwd files, and creates eventually missing folders with a switch with rsync.
But folder creation would be much better with ssh shell, because rsync can only automatically create one child folder in the parent.
For each subfolder, one rsync call, ugly.
Created by: philmmanjaro
Ok, so in which case the shell is needed then? Regarding deletion of a project, you have to talk to a staff member.
Created by: udeved
No, current state does missing subfolders with rsync on switch, but each subfolder one rsync call.
Ideally, we create folders with shell, and then rsync the files or folder.
There is no way without shell to check for folder existence.
ugly, and on switch, pretty static.
Created by: udeved
This is the unused code, if there was a permanent shell access, that could be run always, no extra switch.
For each rsync call, one login is used, advantage ssh.
Created by: udeved
Would it be better to spilt the deployment in a separate package that depends on ruby?
Created by: philmmanjaro
You mean deployiso? Regarding Sado's email you were CCed in?
https://osdn.jp/docs/FileRelease_Guide
https://osdn.jp/projects/osdn-codes/wiki/APIGuide
https://osdn.jp/projects/osdn-codes/wiki/CommandLineInterface
Let us test it first how it works. Maybe we are on to something here. If we need some, Sado told me that the development team will implement it.
Created by: udeved
I have added a ruby-osdn-cli package.
https://github.com/manjaro/packages-extra/tree/master/ruby-osdn-cli
This installs the osdn-cli gem systemwide, I created also a osdn branch I'll push soon.
The downside, it amounts to 7 ruby gem packages in total to get osdn cli working.
Created by: udeved
buildlist:
pkg.list.d/osdn.list
Created by: udeved
https://osdn.jp/projects/deployment-test/
This is my testing and evaluation account.
Created by: udeved
Tested ruby gem packages
Created by: philmmanjaro
Can this tool resume the upload if for example the connection breaks down?
Created by: udeved
Haven't found info on that.
I tested a bit yesterday osdn-cli.
It has its downside, but I read on osdn, that they also offer ssh and rsync, which I would prefer.
osdn-cli seems to be pretty new tool, and perhaps not feature complete.
I missed bandwidth control.
I also find the osdn login command not so nice, because I need to manually enter a generated token, no idea how to automatically get this token yet.
But, the login token expires after 24 hours, which is nice.
We would also need to come up with different server directory structure. The osdn can't handle more than two levels depth of directories.