{"action":"created","issue":{"url":"https://api.github.com/repos/Starcounter/Starcounter/issues/4002","repository_url":"https://api.github.com/repos/Starcounter/Starcounter","labels_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/4002/labels{/name}","comments_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/4002/comments","events_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/4002/events","html_url":"https://github.com/Starcounter/Starcounter/issues/4002","id":194861992,"number":4002,"title":"Starpack: add force app install (upgrade) option.","user":{"login":"mmnosek","id":4943949,"avatar_url":"https://avatars.githubusercontent.com/u/4943949?v=3","gravatar_id":"","url":"https://api.github.com/users/mmnosek","html_url":"https://github.com/mmnosek","followers_url":"https://api.github.com/users/mmnosek/followers","following_url":"https://api.github.com/users/mmnosek/following{/other_user}","gists_url":"https://api.github.com/users/mmnosek/gists{/gist_id}","starred_url":"https://api.github.com/users/mmnosek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmnosek/subscriptions","organizations_url":"https://api.github.com/users/mmnosek/orgs","repos_url":"https://api.github.com/users/mmnosek/repos","events_url":"https://api.github.com/users/mmnosek/events{/privacy}","received_events_url":"https://api.github.com/users/mmnosek/received_events","type":"User","site_admin":false},"labels":[{"id":4413437,"url":"https://api.github.com/repos/Starcounter/Starcounter/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"closed","locked":false,"assignee":{"login":"andwah","id":2656996,"avatar_url":"https://avatars.githubusercontent.com/u/2656996?v=3","gravatar_id":"","url":"https://api.github.com/users/andwah","html_url":"https://github.com/andwah","followers_url":"https://api.github.com/users/andwah/followers","following_url":"https://api.github.com/users/andwah/following{/other_user}","gists_url":"https://api.github.com/users/andwah/gists{/gist_id}","starred_url":"https://api.github.com/users/andwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andwah/subscriptions","organizations_url":"https://api.github.com/users/andwah/orgs","repos_url":"https://api.github.com/users/andwah/repos","events_url":"https://api.github.com/users/andwah/events{/privacy}","received_events_url":"https://api.github.com/users/andwah/received_events","type":"User","site_admin":false},"assignees":[{"login":"andwah","id":2656996,"avatar_url":"https://avatars.githubusercontent.com/u/2656996?v=3","gravatar_id":"","url":"https://api.github.com/users/andwah","html_url":"https://github.com/andwah","followers_url":"https://api.github.com/users/andwah/followers","following_url":"https://api.github.com/users/andwah/following{/other_user}","gists_url":"https://api.github.com/users/andwah/gists{/gist_id}","starred_url":"https://api.github.com/users/andwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andwah/subscriptions","organizations_url":"https://api.github.com/users/andwah/orgs","repos_url":"https://api.github.com/users/andwah/repos","events_url":"https://api.github.com/users/andwah/events{/privacy}","received_events_url":"https://api.github.com/users/andwah/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2016-12-11T22:35:44Z","updated_at":"2016-12-13T09:51:42Z","closed_at":"2016-12-12T13:34:50Z","body":"**Overview**\r\nIn our current project, we try to setup continuous deployment to our test environment. We want to use starpack as I think it should be our standard way to create app packages and install them. Unfortunately, we've faced a problem almost at the end of the process.\r\n\r\nSteps are as follows:\r\n1. Code is merged to develop branch\r\n2. TeamCity is building couple of apps\r\n3. Apps are packed from build artifacts by `starpack` on TeamCity to `app.zip` files\r\n4. `app.zip` files are sent to remote server through sftp\r\n5. There is a service listening for zip files changes, this service is supposed to install a new version of each app by running batch script.\r\n\r\nHere is our problem. Starpack is unable to install a new version because the same app at the same version is already installed. It's understandable in a production-like environment, but in development/testing this limitation is very annoying. We can't uninstall app (there is no this kind of option in starpack).\r\n\r\n**Proposed solution:**\r\nAdd \"force install\" option to starpack. It should not check things like app version or if current app is already installed, just remove old one and install new one.\r\nSimilar to GIT --force option, or linux -f in some commands. WDYT? Is it possible? It would eventually make our life much easier :) Something like `starpack install --force app.zip`\r\n\r\ncc @andwah \r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Starcounter/Starcounter/issues/comments/266694358","html_url":"https://github.com/Starcounter/Starcounter/issues/4002#issuecomment-266694358","issue_url":"https://api.github.com/repos/Starcounter/Starcounter/issues/4002","id":266694358,"user":{"login":"andwah","id":2656996,"avatar_url":"https://avatars.githubusercontent.com/u/2656996?v=3","gravatar_id":"","url":"https://api.github.com/users/andwah","html_url":"https://github.com/andwah","followers_url":"https://api.github.com/users/andwah/followers","following_url":"https://api.github.com/users/andwah/following{/other_user}","gists_url":"https://api.github.com/users/andwah/gists{/gist_id}","starred_url":"https://api.github.com/users/andwah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andwah/subscriptions","organizations_url":"https://api.github.com/users/andwah/orgs","repos_url":"https://api.github.com/users/andwah/repos","events_url":"https://api.github.com/users/andwah/events{/privacy}","received_events_url":"https://api.github.com/users/andwah/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T09:51:42Z","updated_at":"2016-12-13T09:51:42Z","body":"> There is a demand of a tool to install packages without getting them from the warehouse.\r\n\r\nSome customers want to be able to install an apps \"offline\"  (not connected to internet /warehouse ), they may have the \"new\" app on a usb-stick etc."}}
{"actor":{"display_login":"andwah"}}