fix: Rename freeflowuniverse to incubaid
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
module markdown
|
||||
|
||||
import freeflowuniverse.herolib.data.paramsparser { Param, Params }
|
||||
import freeflowuniverse.herolib.data.markdown.elements { Action }
|
||||
import freeflowuniverse.herolib.core.texttools
|
||||
import freeflowuniverse.herolib.ui.console
|
||||
import incubaid.herolib.data.paramsparser { Param, Params }
|
||||
import incubaid.herolib.data.markdown.elements { Action }
|
||||
import incubaid.herolib.core.texttools
|
||||
import incubaid.herolib.ui.console
|
||||
|
||||
fn test_action_empty_params() {
|
||||
mut docs := new(
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
module elements
|
||||
|
||||
import freeflowuniverse.herolib.core.pathlib
|
||||
// import freeflowuniverse.herolib.core.smartid
|
||||
// import freeflowuniverse.herolib.data.paramsparser
|
||||
import freeflowuniverse.herolib.core.playbook
|
||||
// import freeflowuniverse.herolib.ui.console
|
||||
// import freeflowuniverse.herolib.core.base
|
||||
import incubaid.herolib.core.pathlib
|
||||
// import incubaid.herolib.core.smartid
|
||||
// import incubaid.herolib.data.paramsparser
|
||||
import incubaid.herolib.core.playbook
|
||||
// import incubaid.herolib.ui.console
|
||||
// import incubaid.herolib.core.base
|
||||
|
||||
@[heap]
|
||||
pub struct DocBase {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module elements
|
||||
|
||||
import freeflowuniverse.herolib.ui.console
|
||||
import incubaid.herolib.ui.console
|
||||
|
||||
fn test_charparser1() {
|
||||
mut txt := ''
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module elements
|
||||
|
||||
import freeflowuniverse.herolib.core.texttools
|
||||
import incubaid.herolib.core.texttools
|
||||
|
||||
@[heap]
|
||||
pub struct Doc {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module elements
|
||||
|
||||
import freeflowuniverse.herolib.core.playbook
|
||||
import incubaid.herolib.core.playbook
|
||||
|
||||
@[heap]
|
||||
pub struct Action {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module elements
|
||||
|
||||
import freeflowuniverse.herolib.core.playbook
|
||||
import incubaid.herolib.core.playbook
|
||||
|
||||
@[heap]
|
||||
pub struct Codeblock {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module elements
|
||||
|
||||
import freeflowuniverse.herolib.core.playbook
|
||||
import incubaid.herolib.core.playbook
|
||||
|
||||
// NOT USED FOR NOW
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
module elements
|
||||
|
||||
import freeflowuniverse.herolib.core.texttools
|
||||
import incubaid.herolib.core.texttools
|
||||
import os
|
||||
// import freeflowuniverse.herolib.ui.console
|
||||
// import incubaid.herolib.ui.console
|
||||
|
||||
@[heap]
|
||||
pub struct Link {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module elements
|
||||
|
||||
// import freeflowuniverse.herolib.ui.console
|
||||
// import incubaid.herolib.ui.console
|
||||
|
||||
@[heap]
|
||||
pub struct Paragraph {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module elements
|
||||
|
||||
import regex
|
||||
// import freeflowuniverse.herolib.ui.console
|
||||
// import incubaid.herolib.ui.console
|
||||
|
||||
@[heap]
|
||||
pub struct Table {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module elements
|
||||
|
||||
import freeflowuniverse.herolib.core.playbook
|
||||
// import freeflowuniverse.herolib.data.paramsparser
|
||||
import incubaid.herolib.core.playbook
|
||||
// import incubaid.herolib.data.paramsparser
|
||||
|
||||
@[heap]
|
||||
pub interface Element {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module elements
|
||||
|
||||
import os
|
||||
// import freeflowuniverse.herolib.ui.console
|
||||
// import incubaid.herolib.ui.console
|
||||
|
||||
// is a char parser
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module elements
|
||||
|
||||
import freeflowuniverse.herolib.core.texttools
|
||||
// import freeflowuniverse.herolib.ui.console
|
||||
import incubaid.herolib.core.texttools
|
||||
// import incubaid.herolib.ui.console
|
||||
|
||||
// DO NOT CHANGE THE WAY HOW THIS WORKS, THIS HAS BEEN DONE AS A STATEFUL PARSER BY DESIGN
|
||||
// THIS ALLOWS FOR EASY ADOPTIONS TO DIFFERENT REALITIES
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
module markdown
|
||||
|
||||
import freeflowuniverse.herolib.core.pathlib
|
||||
import freeflowuniverse.herolib.data.markdown.elements
|
||||
import freeflowuniverse.herolib.data.markdown.parsers
|
||||
import incubaid.herolib.core.pathlib
|
||||
import incubaid.herolib.data.markdown.elements
|
||||
import incubaid.herolib.data.markdown.parsers
|
||||
import os
|
||||
|
||||
@[params]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module markdown
|
||||
|
||||
import freeflowuniverse.herolib.data.markdown { new }
|
||||
import freeflowuniverse.herolib.data.markdown.elements { Frontmatter2 }
|
||||
import incubaid.herolib.data.markdown { new }
|
||||
import incubaid.herolib.data.markdown.elements { Frontmatter2 }
|
||||
import os
|
||||
|
||||
fn test_get_content_without_frontmatter() {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module markdown
|
||||
|
||||
import freeflowuniverse.herolib.data.markdown.elements
|
||||
// import freeflowuniverse.herolib.ui.console
|
||||
import incubaid.herolib.data.markdown.elements
|
||||
// import incubaid.herolib.ui.console
|
||||
|
||||
fn test_empty() {
|
||||
mut mydoc := new(content: '')!
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module markdown
|
||||
|
||||
import freeflowuniverse.herolib.data.markdown.elements
|
||||
import freeflowuniverse.herolib.ui.console
|
||||
import incubaid.herolib.data.markdown.elements
|
||||
import incubaid.herolib.ui.console
|
||||
|
||||
fn test_link1() {
|
||||
mut docs := new(content: '[Architecture](architecture/architecture.md)')!
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module markdown
|
||||
|
||||
import freeflowuniverse.herolib.data.markdown.elements
|
||||
import incubaid.herolib.data.markdown.elements
|
||||
|
||||
const text = '
|
||||
# Farmerbot
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
module markdown
|
||||
|
||||
import freeflowuniverse.herolib.data.paramsparser { Param, Params }
|
||||
import freeflowuniverse.herolib.data.markdown.elements { Action, Codeblock, Header, Link, List, Paragraph, Table, Text }
|
||||
import freeflowuniverse.herolib.ui.console
|
||||
import incubaid.herolib.data.paramsparser { Param, Params }
|
||||
import incubaid.herolib.data.markdown.elements { Action, Codeblock, Header, Link, List, Paragraph, Table, Text }
|
||||
import incubaid.herolib.ui.console
|
||||
|
||||
const text = "
|
||||
# Farmerbot
|
||||
@@ -19,7 +19,7 @@ The farmerbot has been implemented using the actor model principles. It contains
|
||||
|
||||
The first actor is the nodemanager which is in charge of executing jobs related to nodes (e.g. finding a suitable node). The second actor is the powermanager which allows us to power on and off nodes in the farm.
|
||||
|
||||
Actors can schedule the execution of jobs for other actors which might or might not be running on the same system. For example, the nodemanager might schedule the execution of a job to power on a node (which is meant for the powermanager). The repository [baobab](https://github.com/freeflowuniverse/baobab) contains the logic for scheduling jobs.
|
||||
Actors can schedule the execution of jobs for other actors which might or might not be running on the same system. For example, the nodemanager might schedule the execution of a job to power on a node (which is meant for the powermanager). The repository [baobab](https://github.com/incubaid/baobab) contains the logic for scheduling jobs.
|
||||
|
||||
Jobs don't have to originate from the system running the farmerbot. It may as well be scheduled from another system (with another twin id). The job to find a suitable node for example will come from the TSClient (which is located on another system). These jobs will be send from the TSClient to the farmerbot via [RMB](https://github.com/threefoldtech/rmb-rs).
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module parsers
|
||||
|
||||
import freeflowuniverse.herolib.data.markdown.elements
|
||||
// import freeflowuniverse.herolib.ui.console
|
||||
import incubaid.herolib.data.markdown.elements
|
||||
// import incubaid.herolib.ui.console
|
||||
|
||||
// DO NOT CHANGE THE WAY HOW THIS WORKS, THIS HAS BEEN DONE AS A STATEFUL PARSER BY DESIGN
|
||||
// THIS ALLOWS FOR EASY ADOPTIONS TO DIFFERENT RELIALITIES
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module parsers
|
||||
|
||||
import freeflowuniverse.herolib.data.markdown.elements
|
||||
import incubaid.herolib.data.markdown.elements
|
||||
// is a line parser, useful to quickly parse a file in any format as long as it is line based
|
||||
|
||||
// error while parsing
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
module markdown
|
||||
|
||||
import freeflowuniverse.herolib.data.markdown.elements { Table }
|
||||
import incubaid.herolib.data.markdown.elements { Table }
|
||||
|
||||
fn test_table_no_rows_invalid() {
|
||||
mut content := '
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
module tools
|
||||
|
||||
import os
|
||||
import freeflowuniverse.herolib.ui.console
|
||||
import incubaid.herolib.ui.console
|
||||
|
||||
fn test_markdown_min_header_basic() {
|
||||
txt := '
|
||||
|
||||
Reference in New Issue
Block a user