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

AF-2164: Preparation for BPMN release #11

Merged
merged 6 commits into from
Aug 27, 2019
Merged

Conversation

tiagobento
Copy link
Contributor

@tiagobento tiagobento commented Aug 22, 2019

As the client-side editors are coming, I'd like to change the structure a bit so that when they're here we can integrate them more easily.

@jesuino I created this 'package' called unpacked-gwt-editors, so that it is the one responsible for unpacking the WARs. The other modules depending on the DMN/BPMN editors will then point to this 'package'. I think it makes thinks simpler and more organized. When we have the definitive pom.xml we can just edit the build:fast script on the packages/unpacked-gwt-editors/package.json file.

@domhanak Could you please review that? I also changed the output path of the JUnit report to target/ so that we don't commit it by accident.

@tiagobento tiagobento changed the title Preparation for DMN/BPMN editors Preparation for BPMN release Aug 22, 2019
@@ -26,7 +26,7 @@ export function run(testsRoot: string, callback: (error: any, failures?: number)
reporter: "mocha-jenkins-reporter",
reporterOptions: {
junit_report_name: "VSCode Extension Tests",
junit_report_path: "vscode-it-test-report.xml",
junit_report_path: "target/vscode-it-test-report.xml",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch :)

@tiagobento tiagobento requested review from domhanak and ederign August 26, 2019 17:42
@tiagobento
Copy link
Contributor Author

@domhanak Could you please review it asap? Also, I think there's something wrong with the CI since I see it green on Jenkins and yellow here :(

image

@ederign ederign merged commit 420f6aa into apache:master Aug 27, 2019
@tiagobento tiagobento changed the title Preparation for BPMN release AF-2164: Preparation for BPMN release Aug 27, 2019
@domhanak
Copy link
Contributor

@tiagobento it was a Jenkins problem :) it needed restart and these checks got a little bit messed up

kelvah pushed a commit to kelvah/kogito-tooling that referenced this pull request Nov 25, 2020
…delete-bug

Scorecard POC: fixed bug about mining schema field deletion
tiagobento added a commit that referenced this pull request Aug 31, 2021
* Bump version to 0.6.0

* Bump editors to 7.40.0.20200703

* Update README and CHANGELOG files

* Pass operating system to EditorContext on envelopes
jomarko referenced this pull request in jomarko/kie-tools Sep 10, 2021
ederign pushed a commit that referenced this pull request Jan 26, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (#11)

* feat: add fs.promises (#12)

* fix: ignore trailing slash (#14)

* Update README.md (#17)

* feat: make threadsafe with mutex (#19)

* fix(HttpBackend): fs.readFile should throw on 404s (#24)

* fix(rename): don't accidentally file if new filename invalid (#26)

* fix(unlink): deleting symlinks should not delete file contents (#30)

* fix(writeFile): preserve file mode when saving files (#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (#25)

* Fix for reading from nested symlinks (#35)

* feat: add 'backFile' function to add http-backed files to superblock (#32)

* fix: reading through symlinks to http-backed files (#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (#42)

* feat: add du method (#45)

* fix: add du to README (#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (#63)

* fix: allow changing 'backend' during 'init' (#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
hasys pushed a commit to hasys/kie-tools that referenced this pull request Jan 31, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 11, 2022
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 11, 2022
* Fix DiagramEditorPropertiesScreen: content was gone when opening the tab twice.

* Simplify DockPlaceHolder.

* Remove AuthoringPerspectives

* Remove the need to have an association between perspective and docks.
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 11, 2022
* Remove BeanFactory

* Minor reorganization

* Remove  dependency where not needed.

* Remove ActivityBeansCache.

* Minor reorganization

* Remove PerspectiveActivity.

* Remove PathPlaceRequest.

* Simplify ActivityManager, PlaceManager and PanelManager.

* Simplify WorkbenchPanelPresenter and WorkbenchPanelView.

* Remove test files of deleted classes.

* Remove ActivityResourceType.PERSPECTIVE.

* Simplify WorkbenchPanelPresenter and WorkbenchPanelView.

* Simplify PlaceManager.

* Revert back some reorg.

* More cleanups.

* Remove some js/css files that are not being used.
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 11, 2022
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 11, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 11, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 12, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 16, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 18, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
handreyrc pushed a commit to handreyrc/kie-tools that referenced this pull request Mar 21, 2022
* Initial commit

* Add package-lock.json

* Add tab-delimited printer/parser and abstract backend.

* Add a makeIndex utility

* Add HTTP fallback mechanism

* Update README

* fix: Azure pipelines tarball filepath

* fix: bind methods to fs instance

* fix: temporarily disable Safari MacOS testing (sauce seems broken today?)

* fix: add semantic-release npm script

* fix: ACTUALLY INSTALL semantic-release

* fix: trimStart is apparently too new

* chore: add UMD build to npm package

* fix: readFile returns UInt8Array instead of Buffer

BREAKING CHANGE: Reduces UMD build size from 34kb to 12kb so I think its worth it.

* chore: fix bug in tests only for Safari Mobile 11.x

* feat: add 'rename' function

BREAKING CHANGE: The IndexedDB database format changed - the primary key is now an inode number rather than a filepath string. Adding this layer of indirection make renaming files and directories fast. (Before, renaming a directory would have required recursively copying all the files to a new location.) Rather than bloat the code with a migration script, I recommend simply creating a fresh filesystem or blowing the old filesystem away with the `wipe` argument. Maybe you can load v2 and v3 at the same time, and recursively read from the v2 instance  and write to the v3 instance? Database migrations are hard, and I apologize. But this should be the first and last backwards incompatible change to the database format.

BREAKING CHANGE: the `stat` function now returns `mtimeMs` rather than `mtimeSeconds` and `mtimeNanoseconds` to match what Node's `stat` function returns instead of catering to an implementation detail of `isomorphic-git`.

* fix: remove console.log

* fix: bind 'rename' to fs instance

* fix: 'rename' was forgetting to save the superblock

* fix: fix awful inode autoincrement bug

* feat: symlink support (apache#11)

* feat: add fs.promises (apache#12)

* fix: ignore trailing slash (apache#14)

* Update README.md (apache#17)

* feat: make threadsafe with mutex (apache#19)

* fix(HttpBackend): fs.readFile should throw on 404s (apache#24)

* fix(rename): don't accidentally file if new filename invalid (apache#26)

* fix(unlink): deleting symlinks should not delete file contents (apache#30)

* fix(writeFile): preserve file mode when saving files (apache#33)

* fix(readdir, rmdir): should throw ENOTDIR if used on files (apache#34)

* fix: @wmhilton/idb-keyval -> @isomorphic-git/idb-keyval (apache#25)

* Fix for reading from nested symlinks (apache#35)

* feat: add 'backFile' function to add http-backed files to superblock (apache#32)

* fix: reading through symlinks to http-backed files (apache#36)

* chore: add note that `readdir` output is not sorted

* fix: a shot in the dark at fixing the "Mutex double-freed" error (apache#39)

* a shot in the dark at fixing the "Mutex double-freed" error
* skip MS Edge for now since it is not launching

* chore: disable Android testing too for now sheesh

* fix: eliminate reliance on setInterval (apache#40)

BREAKING CHANGE: bumped the supported / tested browsers to match [email protected].

* fix: add a margin of safety to renew mutex early

* feat: reinitialize FS via 'init' and provide custom store names (apache#42)

* feat: add du method (apache#45)

* fix: add du to README (apache#46)

* fix: default mode for symlinks should be 0o120000 not 0o666

Co-authored-by: Chris Thompson <[email protected]>

* feat: add 'defer' param to 'init'

* chore: rename 'master' branch to 'main'

* chore: sauce labs no longer has Safari 13.0

* Add typescript typings

* Minor fix

* Moved the promises to the correct location.

* Replaced never with void where appropriate

* Added path typings.

* Accidentally overwrote the last commit.

* Made the option arguments of the promise api optional!

* Moved PromisifiedFS into the FS namespace.

* Update index.d.ts

Co-authored-by: Alex <[email protected]>

* feat: add custom `backend` parameter (apache#63)

* fix: allow changing 'backend' during 'init' (apache#65)

* Adding idbBackendDelegate and writeFileBulk

* Add readFileBulk

* Add unlinkBulk

* Changing TypeScript definitions

* Undo formatting

* Adding Dexie as devDependency and bulk tests

* Fix tests

* Prefix test names to differentiate

* Add 'dexie' as peerDependency

* Removing transactions from DexieBackend

* Tests passing

* Forking LightningFS into kie-sandbox-fs

* Fix name

Co-authored-by: William Hilton <[email protected]>
Co-authored-by: Jakub T. Jankiewicz <[email protected]>
Co-authored-by: fuzzyTew <[email protected]>
Co-authored-by: Chris <[email protected]>
Co-authored-by: Chris Thompson <[email protected]>
Co-authored-by: raldone01 <[email protected]>
Co-authored-by: Alex <[email protected]>
rgdoliveira added a commit to rgdoliveira/kie-tools that referenced this pull request May 13, 2024
ricardozanini pushed a commit to ricardozanini/kogito-tooling that referenced this pull request Sep 23, 2024
ricardozanini added a commit to ricardozanini/kogito-tooling that referenced this pull request Nov 7, 2024
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.

3 participants