GithubHelp home page GithubHelp logo

sdm-local's People

Contributors

atomist-bot avatar cdupuis avatar ddgenome avatar jessitron avatar johnsonr avatar jrday avatar lievendoclo avatar ojacques avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sdm-local's Issues

add-git-hooks doesn't work

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 $ 

I have to restart the SDM to see new commits

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.

Remove-git-hooks must work when there is no SDM running.

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)

Import command doesn't work

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.

Update goals on console

Use something like jetty to update goals in place rather than scrolling, mimicking lifecycle

Design how to set build notifications

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:

  • Have SDM passed to LocalBuilder (breaking change), using it instead of sending to Atomist in general
  • Reset a global build status updater
  • Enumerate all builders and set the local SDM as their build status updater

Add endpoint for event publication

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.

Strategic configuration solution

  • Should we remove the environment variables to make it easier to set up?
  • Should we introduce a JSON config?
  • How can we switch from local SDM to a cloud SDM with minimal change?
  • Is SDM a project that can run your code or a module that your code brings in?
  • Can you run more than one local SDM? How are slalom commands resolved?

Add a generator for an SDM

Runs a generator from within Slalom

First action is to create an SDM project, specifying repo tree and name

Prevent too many deployments

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.

Ability for an SDM to deliver itself

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.