...
This commit is contained in:
@@ -19,7 +19,7 @@ pub fn cmd_mdbook(mut cmdroot Command) {
|
||||
|
||||
example:
|
||||
|
||||
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript
|
||||
hero mdbook -u https://git.threefold.info/tfgrid/info_tfgrid/src/branch/main/heroscript
|
||||
|
||||
If you do -gp it will pull newest book content from git and give error if there are local changes.
|
||||
If you do -gr it will pull newest book content from git and overwrite local changes (careful).
|
||||
|
||||
@@ -17,7 +17,7 @@ heroscript has numerous ways to execute actions using your hero tool.
|
||||
|
||||
example:
|
||||
|
||||
hero run -u https://git.ourworld.tf/threefold_coop/info_asimov/src/branch/main/heroscript
|
||||
hero run -u https://git.threefold.info/threefold_coop/info_asimov/src/branch/main/heroscript
|
||||
|
||||
Can also do -e or -st to see sourcetree
|
||||
|
||||
|
||||
@@ -47,10 +47,10 @@ fn test_parser() {
|
||||
|
||||
fn test_parser2() {
|
||||
mut pb := new(
|
||||
text: "!!play.run url:'https://git.ourworld.tf/despiegk/cfg/src/branch/main/myit/hetzner.md'"
|
||||
text: "!!play.run url:'https://git.threefold.info/despiegk/cfg/src/branch/main/myit/hetzner.md'"
|
||||
) or { panic(err) }
|
||||
mut a := pb.actions[0]
|
||||
assert a.actor == 'play'
|
||||
assert a.name == 'run'
|
||||
assert a.params.get('url')! == 'https://git.ourworld.tf/despiegk/cfg/src/branch/main/myit/hetzner.md'
|
||||
assert a.params.get('url')! == 'https://git.threefold.info/despiegk/cfg/src/branch/main/myit/hetzner.md'
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ pub fn play_juggler(mut plbook playbook.PlayBook) ! {
|
||||
port := p.get_int_default('port', 8000)!
|
||||
|
||||
j = juggler.configure(
|
||||
url: 'https://git.ourworld.tf/projectmycelium/itenv'
|
||||
url: 'https://git.threefold.info/projectmycelium/itenv'
|
||||
username: username
|
||||
password: password
|
||||
reset: true
|
||||
|
||||
@@ -11,14 +11,14 @@ fn test_play_publisher() {
|
||||
s2 := "
|
||||
|
||||
!!publisher.new_collection
|
||||
url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections'
|
||||
url:'https://git.threefold.info/tfgrid/info_tfgrid/src/branch/main/collections'
|
||||
reset: false
|
||||
pull: true
|
||||
|
||||
|
||||
!!book.define
|
||||
name:'info_tfgrid'
|
||||
summary_url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/development/books/tech/SUMMARY.md'
|
||||
summary_url:'https://git.threefold.info/tfgrid/info_tfgrid/src/branch/development/books/tech/SUMMARY.md'
|
||||
title:'ThreeFold Technology'
|
||||
collections: 'about,dashboard,farmers,library,partners_utilization,tech,p2p'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user