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

Add public wikis as git (Wikipedia...) #30

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

RubenKelevra
Copy link
Contributor

Hey @hsanjuan,

is it possible to get a key for ipns on wikis-as-git.collab.ipfscluster.io for this?

If yes, can we do this in general, to avoid having to create a domain for every single collab cluster - like adding the zone file to git, to allow to make the changes (and the admin just imports them after merge?) :)

@RubenKelevra RubenKelevra changed the title Public Wikis as git (Wikipedia...) Add public wikis as git (Wikipedia...) Jun 18, 2022
@RubenKelevra RubenKelevra marked this pull request as draft June 18, 2022 19:07
@RubenKelevra
Copy link
Contributor Author

Import starts with Wikipedia, with the smallest language versions to the largest.

$ ipfs-c-wikis pin ls
bafykbzaceafjbwte3swpp2ycfviylb4ox2zqceil6bf64i2zv6m6lahrkogam | ii.wikipedia.org | PIN | Repl. Factor: 1--10 | Allocations: [12D3KooWFxeCstFMraYKqoQphcF56j2mQVFY3scVRKTFdmqeecgP] | Recursive | Metadata: no | Exp: ∞ | Added: 2022-06-19 01:36:46
bafykbzaceaujhifftivari4iibuax62e5ea6u2gc6y6xcsclmb3e4wtpvkwgm | rmy.wikipedia.org | PIN | Repl. Factor: 1--10 | Allocations: [12D3KooWFxeCstFMraYKqoQphcF56j2mQVFY3scVRKTFdmqeecgP] | Recursive | Metadata: no | Exp: ∞ | Added: 2022-06-19 01:32:01
bafykbzaceb5rkpvxafs3rxwgrrnckb57mfc2mr4kaav3wkwslu6kholjdfos2 | ch.wikipedia.org | PIN | Repl. Factor: 1--10 | Allocations: [12D3KooWFxeCstFMraYKqoQphcF56j2mQVFY3scVRKTFdmqeecgP] | Recursive | Metadata: no | Exp: ∞ | Added: 2022-06-19 01:38:46
bafykbzacebiulrwvigvr2zgyt4aycz25gzytot2zipvft7k5q26d67y3gjdiu | mus.wikipedia.org | PIN | Repl. Factor: 1--10 | Allocations: [12D3KooWFxeCstFMraYKqoQphcF56j2mQVFY3scVRKTFdmqeecgP] | Recursive | Metadata: no | Exp: ∞ | Added: 2022-06-19 01:34:45
bafykbzacedcvq4vqh55xccz67evp5hopkjzyuia5rul62y5dhbdyvyjseon7c | aa.wikipedia.org | PIN | Repl. Factor: 1--10 | Allocations: [12D3KooWFxeCstFMraYKqoQphcF56j2mQVFY3scVRKTFdmqeecgP] | Recursive | Metadata: no | Exp: ∞ | Added: 2022-06-19 01:11:58

This is how it looks like, data wise:

$ git clone http://localhost/ipfs/bafykbzaceafjbwte3swpp2ycfviylb4ox2zqceil6bf64i2zv6m6lahrkogam test123
Cloning into 'test123'...
warning: redirecting to http://bafykbzaceafjbwte3swpp2ycfviylb4ox2zqceil6bf64i2zv6m6lahrkogam.ipfs.localhost/
Fetching objects: 499, done.
$ cd test123
$ git log | head -n 50
commit 356404b7a6aa76070da08872b82796e77c9b1921
Author: Vituzzu <[email protected]/w/>
Date:   Fri Apr 22 15:56:21 2016 +0000

    *Empty MediaWiki Message*

commit 0695eec6b5895c00556aa4b9f769695125913c2e
Author: Vituzzu <[email protected]/w/>
Date:   Fri Apr 22 15:55:21 2016 +0000

    replacing copyvio

commit 7f5d405adbd58146efda9fa3a16ed9081d28b7a5
Author: Vituzzu <[email protected]/w/>
Date:   Sat Apr 16 14:50:23 2016 +0000

    *Empty MediaWiki Message*

commit 00ac3a7208bf970ff3209556bbe92e87c6a2d1e2
Author: Pathoschild <[email protected]/w/>
Date:   Sun Feb 22 00:38:26 2009 +0000

    redundant with site notice

commit 3b7ec6ea684e0ca2886114a906093ccaf8182535
Author: 84.139.77.108 <[email protected]/w/>
Date:   Fri Aug 17 11:30:17 2007 +0000

    it is. [[:m:Proposals for closing projects/Closure of Yi Wikipedia]]

commit 42265ff8a086f6eadf418b67108a4798f33eefd9
Author: Kaboyose-DSD <[email protected]/w/>
Date:   Sun Aug 12 10:14:21 2007 +0000

    取消由[[Special:Contributions/84.139.109.55|84.139.109.55]] ([[User talk:84.139.109.55|对话]])所作出的修订 11487 It is not yet decided that it is closed.

commit 5324544df41befec7565325c34bcb95945d07132
Author: JAnDbot <[email protected]/w/>
Date:   Fri Aug 10 21:00:34 2007 +0000

    robot  Adding: mt, nds Removing: mus Modifying: hr

commit 39b9c8d94ad26e0c623551ce92e44d4855f6bfa1
Author: Kaboyose-DSD <[email protected]/w/>
Date:   Wed Aug 1 10:48:33 2007 +0000

    from [[zh:2008年|zh]].

commit 33544e74e12d890bb096555b87e0cc8561086a65
Author: 84.139.109.55 <[email protected]/w/>
$ ls -l
total 76
-rw-r--r-- 1 rubenk rubenk  2108 Jun 19 01:37 2007年.mw
-rw-r--r-- 1 rubenk rubenk  1318 Jun 19 01:37 2008年.mw
-rw-r--r-- 1 rubenk rubenk    21 Jun 19 01:37 Main_Page.mw
-rw-r--r-- 1 rubenk rubenk   266 Jun 19 01:37 ꀒꎂ.mw
-rw-r--r-- 1 rubenk rubenk   461 Jun 19 01:37 ꁌꑗ.mw
-rw-r--r-- 1 rubenk rubenk  1170 Jun 19 01:37 ꁧ.mw
-rw-r--r-- 1 rubenk rubenk   614 Jun 19 01:37 ꁭꄲ.mw
-rw-r--r-- 1 rubenk rubenk   745 Jun 19 01:37 ꄆꄒ.mw
-rw-r--r-- 1 rubenk rubenk   724 Jun 19 01:37 ꅪ.mw
-rw-r--r-- 1 rubenk rubenk   250 Jun 19 01:37 ꆃꎭ.mw
-rw-r--r-- 1 rubenk rubenk 14318 Jun 19 01:37 ꆈꌠꁱꂷ.mw
-rw-r--r-- 1 rubenk rubenk  1652 Jun 19 01:37 ꆪ.mw
-rw-r--r-- 1 rubenk rubenk   768 Jun 19 01:37 ꍯ.mw
-rw-r--r-- 1 rubenk rubenk   151 Jun 19 01:37 ꑗ.mw
-rw-r--r-- 1 rubenk rubenk   989 Jun 19 01:37 ꑳꍂ.mw
-rw-r--r-- 1 rubenk rubenk     1 Jun 19 01:37 首页.mw
$ head Main_Page.mw 
#REDIRECT [[首页]]

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

Successfully merging this pull request may close these issues.

1 participant