suttacentral/bilara-data

Linebyline translations in Russian

Opened this issue · 9 comments

o28o commented

Good day once again venerable @sujato

Unfortunately github doesn't allow to attach json format files.

But here is a link to these files in fdg repo

https://github.com/o28o/fdg/tree/main/assets/texts/sutta/mn

o28o commented

Good day.

I got confirmation from Russian translator. That they are aware about cc0 and line by line translations can be published.

If it is possible can you show translators name not like "SV" but "SV theravada.ru"

Added with this commit:

ce429d7

o28o commented

That's so great. Thank you🙏🤗🙏

o28o commented

Good day venerable @sujato and @ccronje

We have some more suttas from mn ready.

Can I try to upload them myself of we need to do like the last time?

Updates are here https://github.com/o28o/fdg/tree/main/assets%2Ftexts%2Fsutta%2Fmn

You have write access to the Bilara-data repo, so you can simply add the texts as they become ready.

We basically have two branches, unpublished and published. Normally we work with unpublished on Bilara, then push to published, which will make them available for the website. In fact, it seems I forgot to do this, hence the delay in making them live. I have done it now, so they should update within a few days.

For adding texts manually to bilara-data, here's what to do. We will add files to both branches so that they stay in sync.

I assume you have git installed locally? If not, let me know! The following should work, hopefully.

  • cd bilara-data
  • git checkout unpublished
  • git pull
  • add files locally
  • git commit -a -m "such and such files added"
  • git push
  • git checkout published
  • git pull
  • EITHER add files locally OR git checkout unpublished translation/ru/sv/sutta/mn (adjust path as needed)
  • git commit -a -m "such and such files added"
  • git push
o28o commented

Good day venerable @sujato and @ccronje

Great. Thank you so much. Waiting when 1st portion will appear online and I'll figure out how to add new.

By the way I use sc-data as a master but i saw that its depreciated should I switch to bilara-data instead? (Only Pali, English, Thai and Russian html involved in my case) and I still get updates e.g. SV mn translation in sc-data

o28o commented

Good day venerable @sujato and @ccronje

Hope you're doing well.

I've tried to upload new mn suttas via command line and via github web.

In both cases I get an error that my user is not authorized to push to this branch. I have only one user o28o (o28o@mail.ru). Could you please check do it really has access?

.../sutta/mn $ git push
Enumerating objects: 26, done.
Counting objects: 100% (26/26), done.
Delta compression using up to 8 threads
Compressing objects: 100% (18/18), done.
Writing objects: 100% (20/20), 57.91 KiB | 651.00 KiB/s, done.
Total 20 (delta 2), reused 0 (delta 0), pack-reused 0

remote: Resolving deltas: 100% (2/2), completed with 2 local objects
remote: error: GH006: Protected branch update failed for refs/heads/unpublished.
**remote: error: You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information.
To github.com:suttacentral/bilara-data
 ! [remote rejected]         unpublished -> unpublished (protected branch hook declined)**
error: failed to push some refs to 'github.com:suttacentral/bilara-data'

Small update. I've tried the same against the published branch. Same result. Unauthorized