~somenxavierb

Xavier B.

Math Secondary Teacher

~somenxavierb/candoc-dialeg

Last active 8 days ago
View more

Recent activity

Re: Limits in git? 5 days ago

From Xavier B. to ~sircmpwn/sr.ht-discuss

On Wed, 22 Jun 2022 15:13:04 +0000
"DJ Chase" <u9000@posteo.mx> ha escrit:

> On Wed Jun 22, 2022 at 10:25 AM EDT, Xavier B. wrote:
> > Thanks, Nguyễn, for the offer but it's not necessary.
> >
> > Previously I have my repos in my VPS (git.somenxavier.xyz) hosted in linode but because I mainly have use VPS for hosting git repos, I thought I need something cheaper ($5 x 12 months plus VAT = $72.6 year in linode VS $20 in sr.ht). And no one except me use them.
> 
> If no-one except you uses them, you could just host it on an old laptop
> plugged into your router. It would definitely be able to handle the
> almost nonexistent load. I’m currently doing that for my website and
> gemini capsule (as it’s just a non-bare git repo with potentially-large
> files) and it works perfectly. (You could also just not have a remote if
> you don’t care about people being /able/ to use them.)

Re: Limits in git? 6 days ago

From Xavier B. to ~sircmpwn/sr.ht-discuss

Thanks, Nguyễn, for the offer but it's not necessary.

Previously I have my repos in my VPS (git.somenxavier.xyz) hosted in linode but because I mainly have use VPS for hosting git repos, I thought I need something cheaper ($5 x 12 months plus VAT = $72.6 year in linode VS $20 in sr.ht). And no one except me use them.

I tried repo.or.cz until few weeks ago but the server is down many times.
An alternative is codeberg.

Considering all of this, I think I will return to my VPS ;-)

On Wed, 22 Jun 2022 03:24:41 +0900
Nguyễn Gia Phong <mcsinyx@disroot.org> ha escrit:

> On Tue Jun 21, 2022 at 7:44 PM CEST, Xavier B. wrote:
> > In this repo, I store several videos and images in order to teach

Re: Limits in git? 6 days ago

From Xavier B. to ~sircmpwn/sr.ht-discuss

Thanks, Moritz, for the suggestion

On Tue, 21 Jun 2022 20:17:32 +0200
"Moritz Poldrack" <moritz@poldrack.dev> ha escrit:

> On Tue Jun 21, 2022 at 7:58 PM CEST, Xavier B. wrote:
> > What online medium do you recommend?
> 
> You may want to take a look at disroot's hosted Nextcloud instance[0] if
> you don't have your own server. You can also combine this with
> git-annex[1] to still be able to use it with your git repo.
> 
> [0]: https://disroot.org/en/services/nextcloud
> [1]: https://git-annex.branchable.com/

Re: Limits in git? 6 days ago

From Xavier B. to ~sircmpwn/sr.ht-discuss

OK. I understand. I will migrate soon my repo to another place.
Please, give me some time to do that ;-)

On Tue, 21 Jun 2022 20:11:35 +0200
"Drew DeVault" <sir@cmpwn.com> ha escrit:

> On Tue Jun 21, 2022 at 7:58 PM CEST, Xavier B. wrote:
> > > This is beyond the scope of sourcehut. Storing large binary files in git
> > > repositories is strongly discouraged. You should host these in a more
> > > appropriate medium, and indeed this repository would eventually be
> > > flagged for review.
> >
> > Thanks for the sincerity. What online medium do you recommend?
> > Anyway, I don't expect more traffic against this repo. I'm essentially

Re: Limits in git? 7 days ago

From Xavier B. to ~sircmpwn/sr.ht-discuss

On Tue, 21 Jun 2022 19:46:56 +0200
"Drew DeVault" <sir@cmpwn.com> ha escrit:

> On Tue Jun 21, 2022 at 7:44 PM CEST, Xavier B. wrote:
> > I see in [man
> > pages](https://man.sr.ht/git.sr.ht/#acceptable-resource-usage) that
> > git service has a limit of 3.5GB of data. I have one repo with more
> > size than that [another question is how to find in web UI the size of
> > whole repo].
> 
> Just run du -h or something similar against your local copy.

I mean the user different to submitter.

Limits in git? 7 days ago

From Xavier B. to ~sircmpwn/sr.ht-discuss

Hi,

I see in [man pages](https://man.sr.ht/git.sr.ht/#acceptable-resource-usage) that git service has a limit of 3.5GB of data. I have one repo with more size than that [another question is how to find in web UI the size of whole repo]. This is [this](https://git.sr.ht/~somenxavierb/activitats-idees-d-activitats). In this repo, I store several videos and images in order to teach my classes. I use "Fair use" and other copyright exceptions in order to use copyrighted material, which is only for pose questions and reflections to my students.

I wonder if I have to delete this repo or eventually it will be deleted by you.

Thanks in advance,
Xavier

Re: Per project git page? 9 days ago

From Xavier B. to ~sircmpwn/sr.ht-discuss

I suspect the error cause is my repo size is > 1GB [https://srht.site/limitations]

On Sun, 19 Jun 2022 15:33:28 +0200
"Xavier B." <somenxavier@posteo.net> ha escrit:

> I followed some instructions [https://tdarb.org/blog/jekyll-sourcehut.html] and so I create a custom build [https://builds.sr.ht/~somenxavierb/job/783342]:
> 
> 
> image: alpine/edge
> oauth: pages.sr.ht/PAGES:RW
> environment:
>   site: somenxavierb.srht.site
> sources:
>   - https://git.sr.ht/~somenxavierb/activitats-idees-d-activitats

Re: Per project git page? 9 days ago

From Xavier B. to ~sircmpwn/sr.ht-discuss

I followed some instructions [https://tdarb.org/blog/jekyll-sourcehut.html] and so I create a custom build [https://builds.sr.ht/~somenxavierb/job/783342]:


image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
environment:
  site: somenxavierb.srht.site
sources:
  - https://git.sr.ht/~somenxavierb/activitats-idees-d-activitats
tasks:
- package: |
    cd activitats-idees-d-activitats/
    tar -cvz . > ../site.tar.gz
- upload: |

Re: https://man.sr.ht/ does not display my current wikis 9 days ago

From Xavier B. to ~sircmpwn/sr.ht-discuss

Why?

Can you modify that to include user wikis?
It's a least "unnatural", is it?

On Sun, 19 Jun 2022 14:00:24 +0200
"Drew DeVault" <sir@cmpwn.com> ha escrit:

> This is by design.

Re: Per project git page? 9 days ago

From Xavier B. to ~sircmpwn/sr.ht-discuss

Thanks, this is what I want.

On Fri, 17 Jun 2022 08:21:38 +0000
Numeral <1@thenumeral.one> ha escrit:

> It might be better to use https://man.sr.ht/ if your pages are all written in markdown.
> 
> Alternatively, you might be able to setup a build that scans all your repos and then creates your desired folder structure.
> 
> 
> 
> \--
> 
> Numeral