atomist / sdm-local Goto Github PK
View Code? Open in Web Editor NEWLocal software delivery machine support
License: Apache License 2.0
Local software delivery machine support
License: Apache License 2.0
cdupuis@imac-pro:~/Desktop/generate $ slalom add-git-hooks
addGitHooks: Adding git post-commit script to project at /Users/cdupuis/Desktop/generate//atm-bankomat/automation-client-samples-ts
addGitHooks: Adding git post-commit script to project at /Users/cdupuis/Desktop/generate//atm-bankomat/i-forgot
addGitHooks: Adding git post-commit script to project at /Users/cdupuis/Desktop/generate//atm-bankomat/microgrammar
cdupuis@imac-pro:~/Desktop/generate $ cd atm-bankomat/automation-client-samples-ts/
✔ ~/Desktop/generate/atm-bankomat/automation-client-samples-ts [master ↑·2|✔]
10:25 $ git ca -m "test"
.git/hooks/post-commit: line 2: /Users/cdupuis/Desktop/generate/script/atomist-hook.sh: No such file or directory
[master 441621a] test
1 file changed, 2 insertions(+), 1 deletion(-)
✔ ~/Desktop/generate/atm-bankomat/automation-client-samples-ts [master ↑·3|✔]
10:25 $
Currently produces error output
Secrets should be sourced from the environment if not provided
When running my inspection, if I change the code in a project and commit to master, it doesn't notice that code. It's still looking at an old commit.
If I restart the SDM then it inspects the latest master.
This will allow better usage patterns and experimentation
Enable different behavior within SDM programming model
This will require different ports to be set, and clients to be able to connect on different ports
If they want to take atomist hooks out, we can't require them to get an SDM running.
(is there a concept of more than one SDM adding hooks? if so, we could give them an option to remove all of them without an SDM running)
cdupuis@imac-pro:~/Desktop/generate $ slalom import --owner atomsit --repo lifecycle-automation
Cloning into 'lifecycle-automation'...
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/atomsit/lifecycle-automation/'
Error: Command failed: git clone http://github.com/atomsit/lifecycle-automation
Cloning into 'lifecycle-automation'...
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/atomsit/lifecycle-automation/'
Probably related to 2FA.
Use something like jetty to update goals in place rather than scrolling, mimicking lifecycle
create spring
vs create spring kotlin
rejects rootPackage
parameter
Presently we need to configure builders to report status to the local SDM. This breaks portability between local and cloud SDMs, which is unacceptable.
Ideas:
Try create spring
in sample-sdm
and don't enter rootPackage
. The parameter isn't prompted.
Automation client claims in logs it "cannot post to" listener endpoints, but all expected messages are received
We could pull command metadata and generate CLI completions from it at the time when we initialize yargs
.
version
gets bound as a boolean
Fetch hooks should return information about committer if available.
Should parse Slack response to get actionable messages. Affects demon.
Local lifecycle should use nicer goal rendering. Should investigate reuse of code from lifecycle project.
This will enable local SDM to notify itself, e.g. of builds, using the regular payload structure.
This will preserve the promise of no code changes to switch to connecting to Atomist service.
Allow env var / config / override on command line
I clicked a button in one of my messages. The command failed, and nothing was sent to the listen terminal.
It should say that it failed. Probably also say something on start and complete.
slalom
commands resolved?Runs a generator from within Slalom
First action is to create an SDM project, specifying repo tree and name
Affects Spring support.
When editing many projects with local deployment enabled, it's possible to end up with a huge number of deployments and massive memory usage. Need some safeguard to avoid this.
Note: this code is currently in sample-sdm
.
See localPostProcess:137
, where invokeCommandHandler
is invoked
This probably means having a distinct SDM with no other responsibilities. We could have an embedded SDM. Otherwise the SDM would need to shut itself down
Enable people to rev seeds without committing
Avoid extra commit
Put in a script?
Use npm search atomist extension pack node
Parse result, allow selection and provide a transform
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.