On 05/02/2022 19:06, Robert Riebisch via Svardos-users wrote:
That's something I don't understand.
Wait... Probably I understand indeed.
Current process is:
1. I tell you I uploaded a package to http://www.bttr-software.de/tmp/
2. You pull that package to your laptop to the "package" folder.
3. You run all your script stuff locally an your laptop, which will
generate the web repo packages.
4. Results will be synced to OSDN.
Is this correct?
Yes. Currently "updating or adding a package" means copying it to the
"packages" directory and then running build.sh followed by sync.sh. With
the painful limitation that "packages" must be populated with the exact
same content as I have on my laptop...
1. all packages are stored in SVN
Um, typically one doesn't store blobs in SVN/Git.
Git handles such blobs poorly, but svn is very good at it. The advantage
would be that it becomes easy to keep the packages base synchronized
among more than 1 person.
The disadvantage is, obviously, that it's harder to find a svn hosting
for this than some basic 1G web (http) storage.
But with the web repo packages you already have non-libre stuff, e.g.,
"btitanic" at OSDN, don't know?
True, yes, but I try to be discrete about it for the time being so they
don't care to notice :-)
But if I start dumping proprietary blobs into their svn they might not
like it at all.
I mean, having some gigs of web storage somewhere plus a script running
every hour to check for new uploads and rebuild whatever is needed,
doesn't sound very hard to me. -- Although I never did such a thing. *g*
But then you still have to host somewhere the rebuilding script... It
does not make simpler.
Would that be something like a Git hook action?
This is usually done through a svn post-commit hook, yes.
I will think on it all, and should put something in place next week, so
packages-related cooperation will be much easier. Stay tuned!
Mateusz
_______________________________________________
Svardos-users mailing list
Svardos-users@lists.osdn.me
https://lists.osdn.me/mailman/listinfo/svardos-users