{"action":"created","issue":{"url":"https://api.github.com/repos/LLNL/spack/issues/1154","repository_url":"https://api.github.com/repos/LLNL/spack","labels_url":"https://api.github.com/repos/LLNL/spack/issues/1154/labels{/name}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/1154/comments","events_url":"https://api.github.com/repos/LLNL/spack/issues/1154/events","html_url":"https://github.com/LLNL/spack/pull/1154","id":163299077,"number":1154,"title":"(WIP) Create rpms and update rpms in a DB","user":{"login":"scheibelp","id":1659704,"avatar_url":"https://avatars.githubusercontent.com/u/1659704?v=3","gravatar_id":"","url":"https://api.github.com/users/scheibelp","html_url":"https://github.com/scheibelp","followers_url":"https://api.github.com/users/scheibelp/followers","following_url":"https://api.github.com/users/scheibelp/following{/other_user}","gists_url":"https://api.github.com/users/scheibelp/gists{/gist_id}","starred_url":"https://api.github.com/users/scheibelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheibelp/subscriptions","organizations_url":"https://api.github.com/users/scheibelp/orgs","repos_url":"https://api.github.com/users/scheibelp/repos","events_url":"https://api.github.com/users/scheibelp/events{/privacy}","received_events_url":"https://api.github.com/users/scheibelp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-01T01:03:31Z","updated_at":"2016-07-01T02:21:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/LLNL/spack/pulls/1154","html_url":"https://github.com/LLNL/spack/pull/1154","diff_url":"https://github.com/LLNL/spack/pull/1154.diff","patch_url":"https://github.com/LLNL/spack/pull/1154.patch"},"body":"This builds on #631 (which adds support for installing to a directory that differs from the final intended destination of a package). Using that as a base for comparison may help distinguish the important functionality.\r\n\r\nThis adds the following functionality:\r\n\r\n1. Using a command with similar syntax to \"spack install\", create RPM specs which invoke spack installations to generate RPMs \r\n1. Update RPM packages and use Spack's spec DAG logic to transitively update dependencies \r\n1. Allow in-place updates for RPM package dependencies - achieved by specifying (on a per-package basis) how Spack specs should be projected onto a namespace\r\n\r\nAt the moment it is expected that all packages are managed by Spack. Support for specifying non-Spack RPMs as dependencies is planned.\r\n\r\nThis is currently in the process (mostly finished) of transitioning from using a single one-size-fits-all RPM spec template to allowing users to create their own templates and defining a set of variable substitutions.\r\n\r\nExamples:\r\nUsing [packages.yaml.txt](https://github.com/LLNL/spack/files/342631/packages.yaml.txt)\r\n\r\n`>spack rpm-install --output-dir=rpms1/ --universal-ring=ringX --rpm-db=rpms1/rpmdb.pkl gcc@4.9.3  %gcc@4.8.5 ~gold`\r\n\r\n`>spack rpm-install --specs-dir=rpms1/ --rpm-db-from-spec=gccnogold-4.9.3-binutils-2.25.spec --output-dir=rpms2/ --universal-ring=ringX gcc@4.9.3 %gcc@4.8.5 ~gold ^gmp@6.0.0a`"},"comment":{"url":"https://api.github.com/repos/LLNL/spack/issues/comments/229838555","html_url":"https://github.com/LLNL/spack/pull/1154#issuecomment-229838555","issue_url":"https://api.github.com/repos/LLNL/spack/issues/1154","id":229838555,"user":{"login":"scheibelp","id":1659704,"avatar_url":"https://avatars.githubusercontent.com/u/1659704?v=3","gravatar_id":"","url":"https://api.github.com/users/scheibelp","html_url":"https://github.com/scheibelp","followers_url":"https://api.github.com/users/scheibelp/followers","following_url":"https://api.github.com/users/scheibelp/following{/other_user}","gists_url":"https://api.github.com/users/scheibelp/gists{/gist_id}","starred_url":"https://api.github.com/users/scheibelp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scheibelp/subscriptions","organizations_url":"https://api.github.com/users/scheibelp/orgs","repos_url":"https://api.github.com/users/scheibelp/repos","events_url":"https://api.github.com/users/scheibelp/events{/privacy}","received_events_url":"https://api.github.com/users/scheibelp/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T02:21:20Z","updated_at":"2016-07-01T02:21:20Z","body":"> I would try to avoid parenthetical remarks.\r\n\r\nI'm overly fond of parentheses. I'll be more diligent about eliminating them in the future.\r\n\r\nFYI: The PR description does not specifically address potential reusable functionality for generating conda packages which is IIRC the basis of your interest. I figured I could do a better job of answering clarifying questions after providing a general description.\r\n\r\nThanks!"}}
{"actor":{"display_login":"scheibelp"}}