[Building Sakai] Cafe trunk checkout is broken

David Horwitz david.horwitz at uct.ac.za
Thu Oct 15 00:10:55 PDT 2009


Ok from my diging on the externals:

1) cm-api is a compile time requirement for site-manage, this can now be
satified ex-repo
2) nothing in cafe should need , gradebook, sections, privacy or edu-person
3) The commons project now also creates an archive-assemebly that is
deployed by the cafe profile in the deployer


D

Steve Swinsburg wrote:
> I'll maintain the cafe profile since I'm working more on a full trunk  
> source now than a cafe source. Once we get the dependencies sorted, we  
> can then push any updates back to the cafe .externals and pom.
>
> It's important to note though, that because some sources have been  
> removed from a default trunk source checkout and rolled into two  
> single binary artifacts that come down at deploy time, ie:
>
> * cm-service, gradebook-service and sections-service are in Edu- 
> Services [1]
> * archive, privacy and eduperson are in Common [2]
>
> then unless cafe checks the additional sources that have been removed,  
> what is deployed is going to be a bit larger than it currently is,  
> since it will need to pull in both of those bundles to get the  
> necessary services in, assuming they are all needed.
>
> Unless we can pull down only part of these binary artifacts?
>
> cheers,
> Steve
>
> [1]https://source.sakaiproject.org/svn/edu-services/trunk/
> [2] https://source.sakaiproject.org/svn/common/trunk/
>
>
>
>
>
> On 15/10/2009, at 12:24 AM, Aaron Zeckoski wrote:
>
>   
>> I should point out that cafe has gone with almost no changes since it
>> was created. The maint on it is pretty low.
>>
>> Aslo, as long as the cafe profile does the same thing as the cafe
>> build it is fine. If it deviates a good bit then there is going to be
>> confusion.
>> -AZ
>>
>>
>> On Wed, Oct 14, 2009 at 2:22 PM, Anthony Whyte <arwhyte at umich.edu>  
>> wrote:
>>     
>>> I think it is important that one or more people raise their hands  
>>> and commit
>>> to maintaining cafe trunk/branches/tags in svn for n-period of  
>>> time; perhaps
>>> even create a Jira project to support the effort so that issues can  
>>> be filed
>>> and tracked; that way we avoid cafe going the way of mini.
>>>
>>> I think too that changing the -Pcafe profile name in trunk to  
>>> something
>>> other than "cafe" will create more confusion; the profile simply  
>>> mimics a
>>> cafe build/deploy should one choose to check out Sakai trunk in its
>>> entirety.
>>>
>>> Cheers,
>>>
>>> Anth
>>>
>>>
>>> On Oct 14, 2009, at 8:54 AM, Steve Swinsburg wrote:
>>>
>>>       
>>>> Possibly, but it would be good to see the cafe source checkout stay
>>>> alive so that we can have a smaller checkout if desired. We used to
>>>> have the 'mini' profile in the main full source, but that was out of
>>>> date so we removed it and replaced it with what cafe does, but in a
>>>> full source checkout.  So you can so either source, but still have a
>>>> smaller deployment.
>>>>
>>>> Probably a confusing choice of profile name in the full source
>>>> version, should have called it 'mccafe' ;)
>>>>
>>>> cheers,
>>>> Steve
>>>>
>>>>
>>>>
>>>>
>>>> On 14/10/2009, at 11:32 PM, Jim Eng wrote:
>>>>
>>>>         
>>>>> Cafe and mini allowed people to do a minimal checkout and minimal
>>>>> build/deploy.  Instead of that, the proposal is to have a full
>>>>> checkout and then a smaller build/deploy (not quite as minimal as
>>>>> cafe).  Is that correct?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Jim
>>>>>
>>>>>
>>>>>
>>>>> On Oct 14, 2009, at 6:12 AM, Aaron Zeckoski wrote:
>>>>>
>>>>>           
>>>>>> I don't follow. The kernel should already be the smallest it is
>>>>>> possible to be. If it is possible to have a "cafe" kernel then
>>>>>> something is wrong.
>>>>>>
>>>>>> I wouldn't think there is a need for that. Just adjust the  
>>>>>> profile so
>>>>>> it only builds and deploys the CM api and it should be fine right?
>>>>>> It's not like the CM impl is part of the kernel (I hope).
>>>>>>
>>>>>> -AZ
>>>>>>
>>>>>>
>>>>>> On Wed, Oct 14, 2009 at 11:07 AM, David Horwitz <david.horwitz at uct.ac.za
>>>>>>             
>>>>>>> wrote:
>>>>>>> Cool was thinking -
>>>>>>>
>>>>>>> We have a cafe profile in the kernel-deploy (and maybe others)  
>>>>>>> That
>>>>>>> will
>>>>>>> deploy a couple of chery picked components from the bundles that
>>>>>>> are needed.
>>>>>>>
>>>>>>> What do you think?
>>>>>>>
>>>>>>> D
>>>>>>>
>>>>>>>
>>>>>>> Aaron Zeckoski wrote:
>>>>>>>
>>>>>>> Both sadly. It is one of those things I complained about when it
>>>>>>> went
>>>>>>> it but there was no time to really do much about it.
>>>>>>> However, ideally we should not force the impl on people who do  
>>>>>>> not
>>>>>>> need any course management code.
>>>>>>> -AZ
>>>>>>>
>>>>>>> On Wed, Oct 14, 2009 at 10:56 AM, David Horwitz
>>>>>>> <david.horwitz at uct.ac.za
>>>>>>>               
>>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>> Is the CM-api a runtime or compile time dependency?
>>>>>>>
>>>>>>> D
>>>>>>>
>>>>>>> Aaron Zeckoski wrote:
>>>>>>>
>>>>>>> It looks like things are getting out of sync with all the  
>>>>>>> shifting
>>>>>>> around that is going on but we should deprecate cafe-trunk if the
>>>>>>> profile is being maintained. That said, they are not currently  
>>>>>>> the
>>>>>>> same (cafe should only have the CM api in it and not all of CM)  
>>>>>>> so
>>>>>>> some more work remains to be done here before that can happen.
>>>>>>> -AZ
>>>>>>>
>>>>>>> On Wed, Oct 14, 2009 at 2:13 AM, Steve Swinsburg
>>>>>>> <steve.swinsburg at gmail.com> wrote:
>>>>>>>
>>>>>>>
>>>>>>> It looks like we are going to need to add core-deploy to the cafe
>>>>>>> POMs
>>>>>>> (ie in the cafe source and the build profile in trunk) and the
>>>>>>> cafe .externals otherwise it will be missing the archive-api
>>>>>>> altogether (which is part of common), and the cm-api (which is  
>>>>>>> part
>>>>>>> of
>>>>>>> edu-services). This will cause failures on startup in a fresh
>>>>>>> Tomcat.
>>>>>>>
>>>>>>> Adding core-deploy should fix both.
>>>>>>>
>>>>>>> The cafe .externals also checks out it's own version of an  
>>>>>>> archive
>>>>>>> module and pom. It can be removed from the cafe .externals. It's
>>>>>>> already out of the pom so it won't build, its just redundant.
>>>>>>>
>>>>>>> I'll fix the trunk cafe build profile.
>>>>>>>
>>>>>>> cheers,
>>>>>>> Steve
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 14/10/2009, at 9:41 AM, Steve Swinsburg wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Just a note that you can also run a cafe build from a full trunk
>>>>>>> source via the -Pcafe profile as Anthony says below. That profile
>>>>>>> has been in for about a week and works just like the cafe source
>>>>>>> does, if you don't want to do another source checkout. But the  
>>>>>>> cafe
>>>>>>> source is great!
>>>>>>>
>>>>>>> cheers,
>>>>>>> Steve
>>>>>>>
>>>>>>>
>>>>>>> On 14/10/2009, at 3:16 AM, Anthony Whyte wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> For trunk, do an svn update and then:
>>>>>>>
>>>>>>> mvn -Pcafe clean install -Dmaven.test.skip=true sakai:deploy
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Anth
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Oct 13, 2009, at 12:08 PM, Jim Eng wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> It looks like revision 67589 has broken the Cafe build:
>>>>>>>
>>>>>>>  http://source.sakaiproject.org/viewsvn?view=rev&revision=67589
>>>>>>>
>>>>>>> Cafe trunk can no longer be checked out because archive-api
>>>>>>> (https://source.sakaiproject.org/svn/archive/trunk/archive-api
>>>>>>> ) no longer exists in trunk even though it is specified in the
>>>>>>> externals:
>>>>>>>
>>>>>>>  https://source.sakaiproject.org/svn/cafe/trunk/.externals
>>>>>>>
>>>>>>> It's possible some of the other projects have moved as well, but
>>>>>>> attempting to checkout Cafe trunk fails at that point.
>>>>>>>
>>>>>>> I'm just wondering whether Cafe is being abandoned, or if it's
>>>>>>> just a
>>>>>>> lag in maintenance to deal with recent upheaval in subversion?
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> Jim
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> sakai-dev mailing list
>>>>>>> sakai-dev at collab.sakaiproject.org
>>>>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>>>>>
>>>>>>> TO UNSUBSCRIBE: send email to
>>>>>>> sakai-dev-unsubscribe at collab.sakaiproject.org
>>>>>>> with a subject of "unsubscribe"
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> sakai-dev mailing list
>>>>>>> sakai-dev at collab.sakaiproject.org
>>>>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>>>>>
>>>>>>> TO UNSUBSCRIBE: send email to
>>>>>>> sakai-dev-unsubscribe at collab.sakaiproject.org
>>>>>>> with a subject of "unsubscribe"
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> sakai-dev mailing list
>>>>>>> sakai-dev at collab.sakaiproject.org
>>>>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>>>>>
>>>>>>> TO UNSUBSCRIBE: send email to
>>>>>>> sakai-dev-unsubscribe at collab.sakaiproject.org
>>>>>>> with a subject of "unsubscribe"
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>               
>>>>>>
>>>>>> --
>>>>>> Aaron Zeckoski (azeckoski (at) vt.edu)
>>>>>> Senior Research Engineer - CARET - University of Cambridge
>>>>>> https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
>>>>>> http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile
>>>>>> _______________________________________________
>>>>>> sakai-dev mailing list
>>>>>> sakai-dev at collab.sakaiproject.org
>>>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>>>>
>>>>>> TO UNSUBSCRIBE: send email to
>>>>>> sakai-dev-unsubscribe at collab.sakaiproject.org
>>>>>> with a subject of "unsubscribe"
>>>>>>             
>>>>> _______________________________________________
>>>>> sakai-dev mailing list
>>>>> sakai-dev at collab.sakaiproject.org
>>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>>>
>>>>> TO UNSUBSCRIBE: send email to
>>>>> sakai-dev-unsubscribe at collab.sakaiproject.org
>>>>> with a subject of "unsubscribe"
>>>>>           
>>>> _______________________________________________
>>>> sakai-dev mailing list
>>>> sakai-dev at collab.sakaiproject.org
>>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>>
>>>> TO UNSUBSCRIBE: send email to
>>>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>>>> "unsubscribe"
>>>>
>>>>
>>>>         
>>> _______________________________________________
>>> sakai-dev mailing list
>>> sakai-dev at collab.sakaiproject.org
>>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>>
>>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
>>> with a subject of "unsubscribe"
>>>
>>>
>>>       
>>
>> -- 
>> Aaron Zeckoski (azeckoski (at) vt.edu)
>> Senior Research Engineer - CARET - University of Cambridge
>> https://twitter.com/azeckoski - http://www.linkedin.com/in/azeckoski
>> http://aaronz-sakai.blogspot.com/ - http://tinyurl.com/azprofile
>>     
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091015/abef1683/attachment.html 


More information about the sakai-dev mailing list