Task #2829
closedAs a developer, Pulp2 Vagrant file uses the libvirt name 'pulp2_devel' and Pulp3 Vagrant file uses 'pulp3_devel'
0%
Updated by amacdona@redhat.com almost 6 years ago
Some roles may work for both Pulp 2 and Pulp 3. Others could be converted to do the parts that are common between the 2, and call other tasks for Pulp2/Pulp3. This would be nice, but it would increase the "backwards compatibility tax", so I think we should keep them completely separate. Pulp 2 will have a decreasing importance, and we don't want to waste resources maintaining our dev-setup to work for both.
Updated by bmbouter almost 6 years ago
+1 to keeping the roles totally separate.
One question I've been wondering about is how many pulp checkouts will there be. Say a "set of checkouts: consists of all the repos that back a single Vagrant environment, i.e. pulp, pulp_rpm, pulp_puppet, etc. I think if we have to have two sets of checkouts then the practical benefit goes down because if you have two sets of checkouts you can just checkout the devel folder twice also and you'll also have two Vagrantfiles.
I think the only issue there is that they both register the same libvirtd name, so maybe we should just change the libvirtdname insead?
If we did want to use just one set of checkouts I imagine you can switch your branches to master with checkout.py, run `vagrant up pulp2`, leave it on, switch to 3.0-dev with checkout.py, and run `vagrant up pulp3`. My only concern is that each Vagrant up needs to not disturb the NFS mount of the other machine so we would need to test this. If we did this, for each environment you leave you, you would just make sure to have the branches checked out correctly and then run `prestart` before you use it.
Given that is how this would be used, maybe just making the two libvirt names be pulp2_devel and pulp3_devel would be easier.
What do you think?
Updated by amacdona@redhat.com almost 6 years ago
- Description updated (diff)
bmbouter wrote:
Given that is how this would be used, maybe just making the two libvirt names be pulp2_devel and pulp3_devel would be easier.
Yeah. I think thats all we need.
Updated by bmbouter over 5 years ago
- Subject changed from As a developer I can easily work on Pulp 2 and Pulp 3 to As a developer, Pulp2 Vagrant file uses the libvirt name 'pulp2_devel' and Pulp2 Vagrant file uses 'pulp3_devel'
- Sprint Candidate changed from No to Yes
Updated by mhrivnak over 5 years ago
- Subject changed from As a developer, Pulp2 Vagrant file uses the libvirt name 'pulp2_devel' and Pulp2 Vagrant file uses 'pulp3_devel' to As a developer, Pulp2 Vagrant file uses the libvirt name 'pulp2_devel' and Pulp3 Vagrant file uses 'pulp3_devel'
Updated by amacdona@redhat.com over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to amacdona@redhat.com
Added by amacdona@redhat.com over 5 years ago
Added by amacdona@redhat.com over 5 years ago
Avoid collisions with Pulp 3 dev env
re #2829
Updated by amacdona@redhat.com over 5 years ago
- Status changed from ASSIGNED to MODIFIED
Updated by pcreech over 5 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
Avoid collision with Pulp2 dev env
re 2829