{"action":"created","issue":{"url":"https://api.github.com/repos/dalehenrich/filetree/issues/142","labels_url":"https://api.github.com/repos/dalehenrich/filetree/issues/142/labels{/name}","comments_url":"https://api.github.com/repos/dalehenrich/filetree/issues/142/comments","events_url":"https://api.github.com/repos/dalehenrich/filetree/issues/142/events","html_url":"https://github.com/dalehenrich/filetree/issues/142","id":56195017,"number":142,"title":"problem with dependency handling","user":{"login":"eMBee","id":321874,"avatar_url":"https://avatars.githubusercontent.com/u/321874?v=3","gravatar_id":"","url":"https://api.github.com/users/eMBee","html_url":"https://github.com/eMBee","followers_url":"https://api.github.com/users/eMBee/followers","following_url":"https://api.github.com/users/eMBee/following{/other_user}","gists_url":"https://api.github.com/users/eMBee/gists{/gist_id}","starred_url":"https://api.github.com/users/eMBee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eMBee/subscriptions","organizations_url":"https://api.github.com/users/eMBee/orgs","repos_url":"https://api.github.com/users/eMBee/repos","events_url":"https://api.github.com/users/eMBee/events{/privacy}","received_events_url":"https://api.github.com/users/eMBee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-02T04:31:20Z","updated_at":"2015-02-12T18:00:52Z","closed_at":null,"body":"i can't pin down the the issue yet, but it seems to be a problem git filetree handling packages with dependencies:\r\n\r\ni created a new meta-package which depends on a few other packages. most of those were new too, but one was an existing package. aside from the fact that this existing package got committed in its entirety (which is hard to avoid because we would need a git history for it otherwise), for the meta-package an entry was created, listing all the other packages as dependencies using the version-names as created by monticello.\r\n\r\ngit filetree renumbers those version-names to start from 1. for the new packages that was fine because they are already 1, but for the existing package, monticello created a new version 97.  git filetree turns that into version 1, and when i try to load the meta-package it fails because monticello is looking for version 97.\r\n\r\nnot sure how this should be solved.\r\ndoes git filetree know about dependencies yet? \r\nas far as i can tell, it only tracks ancestors per package. but if multiple packages are committed to the same repo, no dependency is created among them, even though git itself implies a dependency.\r\n\r\nmaybe dependencies could be modeled by committing each package into a separate branch and the meta-package as a merge-commit. the dependencies would then be all the parents of that commit.\r\n\r\nthis may not be enough though, because it wasn't until i unloaded the meta-package, fixed the version number and then loaded the fixed package that the error about not finding version 97 went away. though it may have to do with the commit-ids not being updated, so that monticello didn't recognize the change."},"comment":{"url":"https://api.github.com/repos/dalehenrich/filetree/issues/comments/74119482","html_url":"https://github.com/dalehenrich/filetree/issues/142#issuecomment-74119482","issue_url":"https://api.github.com/repos/dalehenrich/filetree/issues/142","id":74119482,"user":{"login":"dalehenrich","id":623951,"avatar_url":"https://avatars.githubusercontent.com/u/623951?v=3","gravatar_id":"","url":"https://api.github.com/users/dalehenrich","html_url":"https://github.com/dalehenrich","followers_url":"https://api.github.com/users/dalehenrich/followers","following_url":"https://api.github.com/users/dalehenrich/following{/other_user}","gists_url":"https://api.github.com/users/dalehenrich/gists{/gist_id}","starred_url":"https://api.github.com/users/dalehenrich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dalehenrich/subscriptions","organizations_url":"https://api.github.com/users/dalehenrich/orgs","repos_url":"https://api.github.com/users/dalehenrich/repos","events_url":"https://api.github.com/users/dalehenrich/events{/privacy}","received_events_url":"https://api.github.com/users/dalehenrich/received_events","type":"User","site_admin":false},"created_at":"2015-02-12T18:00:52Z","updated_at":"2015-02-12T18:00:52Z","body":"Do you have some code I could look at?\r\n\r\nI'm not sure what you mean by \"visible to git, not filetree\".... \r\n\r\nPackage dependencies are a purely Monticello mechanism and from that perspective the dependency info should go into monticello.meta. Yet another thing that will need auto-merge support:)\r\n\r\n"}}