fix: Rename freeflowuniverse to incubaid

This commit is contained in:
Mahmoud-Emad
2025-10-12 12:30:19 +03:00
parent 801c4abb43
commit 8f2d187b17
1593 changed files with 8753 additions and 8300 deletions

View File

@@ -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(

View File

@@ -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 {

View File

@@ -1,6 +1,6 @@
module elements
import freeflowuniverse.herolib.ui.console
import incubaid.herolib.ui.console
fn test_charparser1() {
mut txt := ''

View File

@@ -1,6 +1,6 @@
module elements
import freeflowuniverse.herolib.core.texttools
import incubaid.herolib.core.texttools
@[heap]
pub struct Doc {

View File

@@ -1,6 +1,6 @@
module elements
import freeflowuniverse.herolib.core.playbook
import incubaid.herolib.core.playbook
@[heap]
pub struct Action {

View File

@@ -1,6 +1,6 @@
module elements
import freeflowuniverse.herolib.core.playbook
import incubaid.herolib.core.playbook
@[heap]
pub struct Codeblock {

View File

@@ -1,6 +1,6 @@
module elements
import freeflowuniverse.herolib.core.playbook
import incubaid.herolib.core.playbook
// NOT USED FOR NOW

View File

@@ -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 {

View File

@@ -1,6 +1,6 @@
module elements
// import freeflowuniverse.herolib.ui.console
// import incubaid.herolib.ui.console
@[heap]
pub struct Paragraph {

View File

@@ -1,7 +1,7 @@
module elements
import regex
// import freeflowuniverse.herolib.ui.console
// import incubaid.herolib.ui.console
@[heap]
pub struct Table {

View File

@@ -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 {

View File

@@ -1,7 +1,7 @@
module elements
import os
// import freeflowuniverse.herolib.ui.console
// import incubaid.herolib.ui.console
// is a char parser

View File

@@ -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

View File

@@ -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]

View File

@@ -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() {

View File

@@ -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: '')!

View File

@@ -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)')!

View File

@@ -1,6 +1,6 @@
module markdown
import freeflowuniverse.herolib.data.markdown.elements
import incubaid.herolib.data.markdown.elements
const text = '
# Farmerbot

View File

@@ -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).

View File

@@ -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

View File

@@ -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

View File

@@ -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 := '

View File

@@ -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 := '