-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Devlink wip * Devlink wip * Devlink v1 * Docs
- Loading branch information
Showing
24 changed files
with
1,267 additions
and
619 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Classes | ||
|
||
## Commands | ||
|
||
- `DeployCommand`: Deploy the packages | ||
- `UnlinkCommand`: Unlink the packages | ||
- `LinkCommand`: Link the packages | ||
- `StatusCommand`: Show the status of Devlink | ||
|
||
## Traits | ||
|
||
- `Art`: Artistic output | ||
- `Backup`: Backup composer.json | ||
- `Check`: Check the status of Devlink | ||
- `Cleanup`: Cleanup the packages | ||
- `Deploy`: Deploy the packages | ||
- `Finalize`: Finalize the packages | ||
- `Link`: Create symlinks for the packages | ||
- `Prepare`: Prepare the folder | ||
- `Restore`: Restore composer.json | ||
- `Show`: Read the JSON and show the status | ||
- `Status`: Write the JSON status file | ||
- `Unlink`: Remove symlinks for the packages | ||
|
||
## Other | ||
|
||
- `devlink.php`: The config file | ||
- `devlink.json`: The generated status file | ||
- `deploy.sh`: The shell script |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Roadmap | ||
|
||
## Current tasks | ||
|
||
- [ ] Private packages are not yet handled (copied and wired with path) | ||
- [ ] Need to delete private packages in the link and unlink steps then | ||
- [ ] There is probably an unclear state, because we do not yet use `-backup` yet | ||
- [ ] For the shell script, we also need to check if `-original` and `-backup` are correct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"status": { | ||
"linked": true, | ||
"deploy": false, | ||
"error": false, | ||
"error_message": "Devlink is active, currently not ready for deployment" | ||
}, | ||
"packages": { | ||
"devlink": { | ||
"active": true, | ||
"linked": true, | ||
"deployed": false | ||
} | ||
} | ||
} |
Oops, something went wrong.