Skip to content

Partial update proof of concept #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

oker1
Copy link
Contributor

@oker1 oker1 commented Aug 5, 2013

I've created a quick hackish implementation of #40. I've opened the pull request as a starting point to discuss a better way of adding this feature. All feedback is appreciated :)

@cmerot
Copy link

cmerot commented Dec 10, 2013

It solved my problem!

@cmerot
Copy link

cmerot commented Dec 10, 2013

A more constructive feedback: the package array is merged before the dumpDownloads call, which means that the full list of package will be dumped.

unset($config['repositories']);
$config['repositories'] = array(
array('type' => 'vcs', 'url' => $singleRepository),
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of creating a VCS repo like this, I think it should pick one by name (the repositories array can be a json object with names for every repo), number (zero based if you used a plain array for repos) or maybe if you give an url that it looks in the original definition for a repo with the given URL. Otherwise some settings might be lost, not everyone defines their repo with only vcs+url.

@jkufner jkufner mentioned this pull request Jan 10, 2014
@oker1 oker1 closed this Jan 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants