Giter VIP home page Giter VIP logo

slap's People

Contributors

gotgenes avatar lobsteropteryx avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

slap's Issues

Distinguish between add and remove in --git mode

Currently, slap doesn't handle the case where an MXD is deleted. We should get the operation status from git, and only delete the service without republishing if a source file is removed from the repo.

Add TravisCI

Add build process to run tests, and show test status on readme page.

lazyload arcpy

It's nice if you can run something like slap -h without waiting for arcpy to load; we can do this by only importing arcpy after we've parsed command line arguments and determined we need to.

Add sha parameter for --git argument

The --git argument currently only diffs against a single commit; we should pass in one (or two?) arguments, so that we can diff arbitrary commit sets (i.e., jenkins' GIT_PREVIOUS_SUCCESSFUL_COMMIT and or GIT_COMMIT)

Add method to register data source with server

Currently, the script will never copy data to server, and it assumes any data sources have already been registered. We should probably build a set of unique data sources, and register them all if they haven't been already.

Handle both federated and unfederated AGS instances

We may need to add some logic to handle token requests for publishing, since it looks like some of the ArcPy.mapping calls make requests from the AGS server itself (needing the token set to "referrer" and the URL of the AGS box), while some calls will be made from the client (or wherever the script is running from).

Map config changes to map document in --git mode

Currently, slap doesn't handle the case where the config file changes without a corresponding mxd change. We need to somehow map the line number(s) of the new config version to the MXD(s) that need to be updated.

Extract Arcpy calls into their own module

The Publisher module is getting pretty large; it probably makes sense to extract all the Arcpy calls out to their own module, and keep that dependency in a single place.

Add support for 10.1

It looks like the services/exists endpoint doesn't exist at AGS 10.1, so publishing to 10.1 currently fails. We should be able to just hit the service and check 404 or something similar to support 10.1.

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.