Re: Abstract of git push pull to plone app theming.concepts

krishnatejaperannagari <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
portal resource objects in the sense the theme is stored in the zodb
internally as resource objects

Zodb stores everything in the form of oobuckets and oobtrees.Even the git
repo will have the same format.rhe contents of a folder are stored in the
form of nodes of a branch(like a tree hiereachy)for example the git objects
wil be under the object branch.

We will create all git objects by using persistence.so the http request will
fetch the data and  When the HTTP request completes, Zope transaction
manager will automatically update all changed persistent objects to the
database.there is no need of pushing or pulling

sometimes developers clone entire repo to their local disk make
modifications to theme and then push them back.in this case we need to add
remote repository references,remote heads for heads in the repository and
also setup one head to track changes in local repo.

*i cannot find branch merge pull and push in dulwich docs.if thats not
present then we must restrict the idea to only one branch and one
developer.but we get advantage of all git featuresonly clone and fetch are
present in dulwich.*


*however to summarize the git workflow will be as follows:*
when developer wants to modify the theme the repo is initiated he will first
choose the head.when there are branches the developer decides which branch
he wants to work and then chooses the appropriate head,in case of a cloned
repo the head will be the one that is set to track changes in the local repo

the files that appear are derived from the commits that the chosen head
points to.I have a doubt abou*t how this is done in object oriented databse
where theme is resource object?*

wen the changes are saved a new commit is made and the corresponding head
now points to the new commit.

the options that will be present to developers are:
branch, commit checkout(switch branch or go to old state),pull push llog.




--
View this message in context: http://plone.293351.n2.nabble.com/Re-Abstract-of-git-push-pull-to-plone-app-theming-concepts-tp7570525p7570602.html
Sent from the Core Developers mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.