Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
On 27/05/14 23:37, Kay Schenk wrote: > > > On 05/27/2014 01:30 PM, Marcus (OOo) wrote: >> @Joe: >> See my last my mail. >> >> Lesson learned: >> I've just seen what was updated in my workspace. But there is no hint >> that other commits will be taken into account, too. Until you open this >> link: >> https://cms.apache.org/ooo-site/publish?diff=1 >> >> As here the truth is shown. >> >> So finally, believe in your admin or burn in hell. :-) >> >> Marcus > > Well maybe not burn in hell, but at least gain some truth. Reviewing > this "diff" can be is very important at times. :) I think it is a bad design that even minor changes on one page trigger a complete update of the whole site. It might scale for smaller project with only a few pages and less changes. But it doesn't scale for large projects as AOO where many people in different areas would like to work on changes without conflicting with other changes. The question is if this is really state of the art or if a free alternative would make more sense and would reduce in the end the maintenance work. I am sure their were valid reason for the CMS in the past but I believe today better tools are in place where more than 1 man stand behind. Well it's just my personal opinion and I don't really propose a change ;-) I just wondering and asking this question myself whenever I have to make a simple change. Juergen > >> >> >> >> Am 05/19/2014 11:56 PM, schrieb Joe Schaefer: >>> I think there's some confusion about what is actually happening >>> when you click on the Update link in the webgui. All that does >>> is run >>> >>> % svn up /path/to/underlying/svn/resource >>> >>> on the CMS server. When you publish you are essentially doing >>> >>> % svn rm >>> https://svn.apache.org/repos/infra/websites/production/ooo-site/content >>> % svn cp >>> https://svn.apache.org/repos/infra/websites/staging/ooo-site/trunk/content >>> https://svn.apache.org/repos/infra/websites/production/ooo-site/content >>> >>> >>> but in a single-step using svnmucc. >>> >>> That's all the webgui does- it's just a wrapper around the underlying >>> svn commands. What you are working with in the webgui is an svn >>> checkout of the site. "Update" just brings your current checkout up >>> to date within the portion of the tree that you are browsing. >>> >>> HTH >>> >>> >>> On Monday, May 19, 2014 3:44 PM, Marcus (OOo) >>> wrote: >>> >>> Am 05/19/2014 09:20 PM, schrieb Joe Schaefer: > Sorry but technically the CMS publishes all committed > changes to the staging site. The only way to partition > changes is to partition your commits. but which data will be published: the content of the SVN repository or the content of the personal CMS work space? I guess the work space as I need to update it with the SVN content. Otherwise there is nothing new to publish. Thanks Marcus >> On Monday, May 19, 2014 3:17 PM, Marcus >> (OOo) wrote: >>> Am 05/19/2014 09:51 AM, schrieb Andrea Pescetti: >>> On 29/04/2014 Marcus (OOo) wrote: The main point is *where you are* in the CMS Browse View when you click on the "Update" link. >>> >>> I tried several times, but I'm not sure it works for me. Maybe >>> it works >>> if we see "update" as "update this directory". >>> Example to update and publish only a file: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/index.html". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Edit]" in the row of the >> "index.html" file. 4. Click on the link "[Update]". 5. Do your changes in the file. 6. Commit your changes. 7. On the following page click on the link "[Publish]". >>> >>> In the last days I tried to do this for the main index.html >>> page and for >>> the download/devbuilds.html page. I commit to SVN directly (so >>> I don't >>> use the CMS for editing pages), but the rest works as you >>> describe. So I >>> browse to download/ in the CMS and when I update it downloads >>> my changed >>> devbuilds.html page and nothing else. But then, when I >>> publish, if I >> >> Then you have update the *complete directory* but *not the single >> file*. >> >> OK, I'll do it again: >> >> 1. Open w.oo.o/index.html >> 2. Login via CMS bookmarklet >> 3. Click on [Edit] in the row for "index.html" >> 4. Click on [Update] on the top >> 5. Only this file was updated >> 6. >>> click "View diff" I see all the changes in "download". >>> >>> So maybe committing through SVN means that I'm forced to >>> update the >>> directory, and thus if I change the main index.html file I >>> must publish >>> the whole
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
On 05/27/2014 01:30 PM, Marcus (OOo) wrote: > @Joe: > See my last my mail. > > Lesson learned: > I've just seen what was updated in my workspace. But there is no hint > that other commits will be taken into account, too. Until you open this > link: > https://cms.apache.org/ooo-site/publish?diff=1 > > As here the truth is shown. > > So finally, believe in your admin or burn in hell. :-) > > Marcus Well maybe not burn in hell, but at least gain some truth. Reviewing this "diff" can be is very important at times. :) > > > > Am 05/19/2014 11:56 PM, schrieb Joe Schaefer: >> I think there's some confusion about what is actually happening >> when you click on the Update link in the webgui. All that does >> is run >> >> % svn up /path/to/underlying/svn/resource >> >> on the CMS server. When you publish you are essentially doing >> >> % svn rm >> https://svn.apache.org/repos/infra/websites/production/ooo-site/content >> % svn cp >> https://svn.apache.org/repos/infra/websites/staging/ooo-site/trunk/content >> https://svn.apache.org/repos/infra/websites/production/ooo-site/content >> >> >> but in a single-step using svnmucc. >> >> That's all the webgui does- it's just a wrapper around the underlying >> svn commands. What you are working with in the webgui is an svn >> checkout of the site. "Update" just brings your current checkout up >> to date within the portion of the tree that you are browsing. >> >> HTH >> >> >> On Monday, May 19, 2014 3:44 PM, Marcus (OOo) >> wrote: >> >> >>> >>> >>> Am 05/19/2014 09:20 PM, schrieb Joe Schaefer: Sorry but technically the CMS publishes all committed changes to the staging site. The only way to partition changes is to partition your commits. >>> >>> >>> but which data will be published: the content of the SVN repository or >>> the content of the personal CMS work space? >>> >>> I guess the work space as I need to update it with the SVN content. >>> Otherwise there is nothing new to publish. >>> >>> Thanks >>> >>> Marcus >>> >>> >>> >>> > On Monday, May 19, 2014 3:17 PM, Marcus > (OOo) wrote: >> Am 05/19/2014 09:51 AM, schrieb Andrea Pescetti: >> On 29/04/2014 Marcus (OOo) wrote: >>> The main point is *where you are* in the CMS Browse View when >>> you click >>> on the "Update" link. >> >> I tried several times, but I'm not sure it works for me. Maybe >> it works >> if we see "update" as "update this directory". >> >>> Example to update and publish only a file: >>> 1. In your browser open, e.g., >>> "www.openoffice.org/my-dir/my-subdir/index.html". >>> 2. Open the CMS via the bookmarklet. >>> 3. Click on the link "[Edit]" in the row of the > "index.html" file. >>> 4. Click on the link "[Update]". >>> 5. Do your changes in the file. >>> 6. Commit your changes. >>> 7. On the following page click on the link "[Publish]". >> >> In the last days I tried to do this for the main index.html >> page and for >> the download/devbuilds.html page. I commit to SVN directly (so >> I don't >> use the CMS for editing pages), but the rest works as you >> describe. So I >> browse to download/ in the CMS and when I update it downloads >> my changed >> devbuilds.html page and nothing else. But then, when I >> publish, if I > > Then you have update the *complete directory* but *not the single > file*. > > OK, I'll do it again: > > 1. Open w.oo.o/index.html > 2. Login via CMS bookmarklet > 3. Click on [Edit] in the row for "index.html" > 4. Click on [Update] on the top > 5. Only this file was updated > 6. >> click "View diff" I see all the changes in "download". >> >> So maybe committing through SVN means that I'm forced to >> update the >> directory, and thus if I change the main index.html file I >> must publish >> the whole site, and if I change devbuilds.html I must publish >> the whole >> subtree (download/) containing it? In that setup, indeed I >> wasn't able >> to find a command like "Update this file only". > > No, SVN is outside of this. I do it like you. It's like I wrote on > the top: > > The main point is *where you are* in the CMS Browse View when you > click > on the "Update" link. > > That means: > When you are in a directory, e.g., "download/" and click on > "Update" > then you get every new thing of this directory. > > But when a single file, e.g., "devbuild.html" is shown and you click > on > the "Update" link then only this file is updated and nothing else. > > Please can you try it and confirm? > > Thanks > > > Marcus > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffi
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
@Joe: See my last my mail. Lesson learned: I've just seen what was updated in my workspace. But there is no hint that other commits will be taken into account, too. Until you open this link: https://cms.apache.org/ooo-site/publish?diff=1 As here the truth is shown. So finally, believe in your admin or burn in hell. :-) Marcus Am 05/19/2014 11:56 PM, schrieb Joe Schaefer: I think there's some confusion about what is actually happening when you click on the Update link in the webgui. All that does is run % svn up /path/to/underlying/svn/resource on the CMS server. When you publish you are essentially doing % svn rm https://svn.apache.org/repos/infra/websites/production/ooo-site/content % svn cp https://svn.apache.org/repos/infra/websites/staging/ooo-site/trunk/content https://svn.apache.org/repos/infra/websites/production/ooo-site/content but in a single-step using svnmucc. That's all the webgui does- it's just a wrapper around the underlying svn commands. What you are working with in the webgui is an svn checkout of the site. "Update" just brings your current checkout up to date within the portion of the tree that you are browsing. HTH On Monday, May 19, 2014 3:44 PM, Marcus (OOo) wrote: Am 05/19/2014 09:20 PM, schrieb Joe Schaefer: Sorry but technically the CMS publishes all committed changes to the staging site. The only way to partition changes is to partition your commits. but which data will be published: the content of the SVN repository or the content of the personal CMS work space? I guess the work space as I need to update it with the SVN content. Otherwise there is nothing new to publish. Thanks Marcus On Monday, May 19, 2014 3:17 PM, Marcus (OOo) wrote: Am 05/19/2014 09:51 AM, schrieb Andrea Pescetti: On 29/04/2014 Marcus (OOo) wrote: The main point is *where you are* in the CMS Browse View when you click on the "Update" link. I tried several times, but I'm not sure it works for me. Maybe it works if we see "update" as "update this directory". Example to update and publish only a file: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/index.html". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Edit]" in the row of the "index.html" file. 4. Click on the link "[Update]". 5. Do your changes in the file. 6. Commit your changes. 7. On the following page click on the link "[Publish]". In the last days I tried to do this for the main index.html page and for the download/devbuilds.html page. I commit to SVN directly (so I don't use the CMS for editing pages), but the rest works as you describe. So I browse to download/ in the CMS and when I update it downloads my changed devbuilds.html page and nothing else. But then, when I publish, if I Then you have update the *complete directory* but *not the single file*. OK, I'll do it again: 1. Open w.oo.o/index.html 2. Login via CMS bookmarklet 3. Click on [Edit] in the row for "index.html" 4. Click on [Update] on the top 5. Only this file was updated 6. click "View diff" I see all the changes in "download". So maybe committing through SVN means that I'm forced to update the directory, and thus if I change the main index.html file I must publish the whole site, and if I change devbuilds.html I must publish the whole subtree (download/) containing it? In that setup, indeed I wasn't able to find a command like "Update this file only". No, SVN is outside of this. I do it like you. It's like I wrote on the top: The main point is *where you are* in the CMS Browse View when you click on the "Update" link. That means: When you are in a directory, e.g., "download/" and click on "Update" then you get every new thing of this directory. But when a single file, e.g., "devbuild.html" is shown and you click on the "Update" link then only this file is updated and nothing else. Please can you try it and confirm? Thanks Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
Am 05/27/2014 10:15 PM, schrieb Andrea Pescetti: On 26/05/2014 Marcus (OOo) wrote: Am 05/26/2014 10:34 PM, schrieb Andrea Pescetti: I read his mail in this discussion as "when you publish, you always publish the whole thing" ... Sorry, I still can edit, update and publish a single file. What's the problem to try again on your side? OK, so I did this: 1) Committed a change to the Danish home page: http://svn.apache.org/r1597866 directly with svn 2) http://www.openoffice.org/da/index.html (I manually added "index.html" just in case) 3) Login via CMS bookmarklet 4) Click on [Edit] in the row for "index.html" 5) Click on [Update] on the top Here the URL becomes "https://cms.apache.org/ooo-site/wc/update/pescetti-XXYYZZ/trunk/content/da/index.html and I get: Update complete Status Updating 'usr/local/cms/wc/ooo-site/pescetti-XXYYZZ/trunk/content/da/index.html': U usr/local/cms/wc/ooo-site/pescetti-XXYYZZ/trunk/content/da/index.html Updated to revision 1597866. And if I go to http://ooo-site.staging.apache.org/da/index.html I see my change. But then if I go to https://cms.apache.org/ooo-site/publish?diff=1 I see many more differences than my change, including for example changes in content/download/test/index_droplist.html I didn't publish. But are you able now to do any other edits to the website and get them published without publishing my changes to http://www.openoffice.org/da/index.html ? This would show that selective publication is possible. I've seen your changes as I've done mine in the same minutes. Great for testing this. Now I've updated only my edited files. However in the diff (with your mentioned link above) I can see also your edits on the Danish webpage. And after my publish the Danish webpage has your changes. So, I've not uncovered a hidden feature. Too bad. ;-) But OK, mystery solved. Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
On 26/05/2014 Marcus (OOo) wrote: Am 05/26/2014 10:34 PM, schrieb Andrea Pescetti: I read his mail in this discussion as "when you publish, you always publish the whole thing" ... Sorry, I still can edit, update and publish a single file. What's the problem to try again on your side? OK, so I did this: 1) Committed a change to the Danish home page: http://svn.apache.org/r1597866 directly with svn 2) http://www.openoffice.org/da/index.html (I manually added "index.html" just in case) 3) Login via CMS bookmarklet 4) Click on [Edit] in the row for "index.html" 5) Click on [Update] on the top Here the URL becomes "https://cms.apache.org/ooo-site/wc/update/pescetti-XXYYZZ/trunk/content/da/index.html and I get: Update complete Status Updating 'usr/local/cms/wc/ooo-site/pescetti-XXYYZZ/trunk/content/da/index.html': Uusr/local/cms/wc/ooo-site/pescetti-XXYYZZ/trunk/content/da/index.html Updated to revision 1597866. And if I go to http://ooo-site.staging.apache.org/da/index.html I see my change. But then if I go to https://cms.apache.org/ooo-site/publish?diff=1 I see many more differences than my change, including for example changes in content/download/test/index_droplist.html I didn't publish. But are you able now to do any other edits to the website and get them published without publishing my changes to http://www.openoffice.org/da/index.html ? This would show that selective publication is possible. Regards, Andrea. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
Am 05/26/2014 10:34 PM, schrieb Andrea Pescetti: Marcus (OOo) wrote: But when a single file, e.g., "devbuild.html" is shown and you click on the "Update" link then only this file is updated and nothing else. Please can you try it and confirm? had you already a chance to retry? I believe Joe made it clear that this won't work either. To be precise, then it must be a bug because it's working for me. ;-) I read his mail in this discussion as "when you publish, you always publish the whole thing" since we have one workspace per user (and this would be OK as per your interpretation/instructions), but after committing things go to one staging server (a single server shared among everybody, so my changes and your changes get mixed there already) and publishing will copy pages from that single staging server to the single production server. Sorry, I still can edit, update and publish a single file. What's the problem to try again on your side? Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
Marcus (OOo) wrote: But when a single file, e.g., "devbuild.html" is shown and you click on the "Update" link then only this file is updated and nothing else. Please can you try it and confirm? had you already a chance to retry? I believe Joe made it clear that this won't work either. To be precise, I read his mail in this discussion as "when you publish, you always publish the whole thing" since we have one workspace per user (and this would be OK as per your interpretation/instructions), but after committing things go to one staging server (a single server shared among everybody, so my changes and your changes get mixed there already) and publishing will copy pages from that single staging server to the single production server. Regards, Andrea. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
Am 05/19/2014 09:17 PM, schrieb Marcus (OOo): Am 05/19/2014 09:51 AM, schrieb Andrea Pescetti: On 29/04/2014 Marcus (OOo) wrote: The main point is *where you are* in the CMS Browse View when you click on the "Update" link. I tried several times, but I'm not sure it works for me. Maybe it works if we see "update" as "update this directory". Example to update and publish only a file: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/index.html". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Edit]" in the row of the "index.html" file. 4. Click on the link "[Update]". 5. Do your changes in the file. 6. Commit your changes. 7. On the following page click on the link "[Publish]". In the last days I tried to do this for the main index.html page and for the download/devbuilds.html page. I commit to SVN directly (so I don't use the CMS for editing pages), but the rest works as you describe. So I browse to download/ in the CMS and when I update it downloads my changed devbuilds.html page and nothing else. But then, when I publish, if I Then you have update the *complete directory* but *not the single file*. OK, I'll do it again: 1. Open w.oo.o/index.html 2. Login via CMS bookmarklet 3. Click on [Edit] in the row for "index.html" 4. Click on [Update] on the top 5. Only this file was updated 6. click "View diff" I see all the changes in "download". So maybe committing through SVN means that I'm forced to update the directory, and thus if I change the main index.html file I must publish the whole site, and if I change devbuilds.html I must publish the whole subtree (download/) containing it? In that setup, indeed I wasn't able to find a command like "Update this file only". No, SVN is outside of this. I do it like you. It's like I wrote on the top: The main point is *where you are* in the CMS Browse View when you click on the "Update" link. That means: When you are in a directory, e.g., "download/" and click on "Update" then you get every new thing of this directory. But when a single file, e.g., "devbuild.html" is shown and you click on the "Update" link then only this file is updated and nothing else. Please can you try it and confirm? had you already a chance to retry? Thanks Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
Hi, On 19.05.2014 23:56, Joe Schaefer wrote: I think there's some confusion about what is actually happening when you click on the Update link in the webgui. All that does is run % svn up /path/to/underlying/svn/resource on the CMS server. When you publish you are essentially doing % svn rm https://svn.apache.org/repos/infra/websites/production/ooo-site/content % svn cp https://svn.apache.org/repos/infra/websites/staging/ooo-site/trunk/content https://svn.apache.org/repos/infra/websites/production/ooo-site/content Thus, if I want to publish specific files I have to use the two above svn commands restricted on the the specific files. Right? Best regards, Oliver. but in a single-step using svnmucc. That's all the webgui does- it's just a wrapper around the underlying svn commands. What you are working with in the webgui is an svn checkout of the site. "Update" just brings your current checkout up to date within the portion of the tree that you are browsing. HTH On Monday, May 19, 2014 3:44 PM, Marcus (OOo) wrote: Am 05/19/2014 09:20 PM, schrieb Joe Schaefer: Sorry but technically the CMS publishes all committed changes to the staging site. The only way to partition changes is to partition your commits. but which data will be published: the content of the SVN repository or the content of the personal CMS work space? I guess the work space as I need to update it with the SVN content. Otherwise there is nothing new to publish. Thanks Marcus On Monday, May 19, 2014 3:17 PM, Marcus (OOo) wrote: Am 05/19/2014 09:51 AM, schrieb Andrea Pescetti: On 29/04/2014 Marcus (OOo) wrote: The main point is *where you are* in the CMS Browse View when you click on the "Update" link. I tried several times, but I'm not sure it works for me. Maybe it works if we see "update" as "update this directory". Example to update and publish only a file: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/index.html". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Edit]" in the row of the "index.html" file. 4. Click on the link "[Update]". 5. Do your changes in the file. 6. Commit your changes. 7. On the following page click on the link "[Publish]". In the last days I tried to do this for the main index.html page and for the download/devbuilds.html page. I commit to SVN directly (so I don't use the CMS for editing pages), but the rest works as you describe. So I browse to download/ in the CMS and when I update it downloads my changed devbuilds.html page and nothing else. But then, when I publish, if I Then you have update the *complete directory* but *not the single file*. OK, I'll do it again: 1. Open w.oo.o/index.html 2. Login via CMS bookmarklet 3. Click on [Edit] in the row for "index.html" 4. Click on [Update] on the top 5. Only this file was updated 6. click "View diff" I see all the changes in "download". So maybe committing through SVN means that I'm forced to update the directory, and thus if I change the main index.html file I must publish the whole site, and if I change devbuilds.html I must publish the whole subtree (download/) containing it? In that setup, indeed I wasn't able to find a command like "Update this file only". No, SVN is outside of this. I do it like you. It's like I wrote on the top: The main point is *where you are* in the CMS Browse View when you click on the "Update" link. That means: When you are in a directory, e.g., "download/" and click on "Update" then you get every new thing of this directory. But when a single file, e.g., "devbuild.html" is shown and you click on the "Update" link then only this file is updated and nothing else. Please can you try it and confirm? Thanks Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
I think there's some confusion about what is actually happening when you click on the Update link in the webgui. All that does is run % svn up /path/to/underlying/svn/resource on the CMS server. When you publish you are essentially doing % svn rm https://svn.apache.org/repos/infra/websites/production/ooo-site/content % svn cp https://svn.apache.org/repos/infra/websites/staging/ooo-site/trunk/content https://svn.apache.org/repos/infra/websites/production/ooo-site/content but in a single-step using svnmucc. That's all the webgui does- it's just a wrapper around the underlying svn commands. What you are working with in the webgui is an svn checkout of the site. "Update" just brings your current checkout up to date within the portion of the tree that you are browsing. HTH On Monday, May 19, 2014 3:44 PM, Marcus (OOo) wrote: > > >Am 05/19/2014 09:20 PM, schrieb Joe Schaefer: >> Sorry but technically the CMS publishes all committed >> changes to the staging site. The only way to partition >> changes is to partition your commits. > > >but which data will be published: the content of the SVN repository or >the content of the personal CMS work space? > >I guess the work space as I need to update it with the SVN content. >Otherwise there is nothing new to publish. > >Thanks > >Marcus > > > > >>> On Monday, May 19, 2014 3:17 PM, Marcus (OOo) wrote: Am 05/19/2014 09:51 AM, schrieb Andrea Pescetti: On 29/04/2014 Marcus (OOo) wrote: > The main point is *where you are* in the CMS Browse View when you click > on the "Update" link. I tried several times, but I'm not sure it works for me. Maybe it works if we see "update" as "update this directory". > Example to update and publish only a file: > 1. In your browser open, e.g., > "www.openoffice.org/my-dir/my-subdir/index.html". > 2. Open the CMS via the bookmarklet. > 3. Click on the link "[Edit]" in the row of the >>> "index.html" file. > 4. Click on the link "[Update]". > 5. Do your changes in the file. > 6. Commit your changes. > 7. On the following page click on the link "[Publish]". In the last days I tried to do this for the main index.html page and for the download/devbuilds.html page. I commit to SVN directly (so I don't use the CMS for editing pages), but the rest works as you describe. So I browse to download/ in the CMS and when I update it downloads my changed devbuilds.html page and nothing else. But then, when I publish, if I >>> >>> Then you have update the *complete directory* but *not the single file*. >>> >>> OK, I'll do it again: >>> >>> 1. Open w.oo.o/index.html >>> 2. Login via CMS bookmarklet >>> 3. Click on [Edit] in the row for "index.html" >>> 4. Click on [Update] on the top >>> 5. Only this file was updated >>> 6. click "View diff" I see all the changes in "download". So maybe committing through SVN means that I'm forced to update the directory, and thus if I change the main index.html file I must publish the whole site, and if I change devbuilds.html I must publish the whole subtree (download/) containing it? In that setup, indeed I wasn't able to find a command like "Update this file only". >>> >>> No, SVN is outside of this. I do it like you. It's like I wrote on the top: >>> >>> The main point is *where you are* in the CMS Browse View when you click >>> on the "Update" link. >>> >>> That means: >>> When you are in a directory, e.g., "download/" and click on >>> "Update" >>> then you get every new thing of this directory. >>> >>> But when a single file, e.g., "devbuild.html" is shown and you click >>> on >>> the "Update" link then only this file is updated and nothing else. >>> >>> Please can you try it and confirm? >>> >>> Thanks >>> >>> >>> Marcus > >- >To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >For additional commands, e-mail: dev-h...@openoffice.apache.org > > > >
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
Am 05/19/2014 09:20 PM, schrieb Joe Schaefer: Sorry but technically the CMS publishes all committed changes to the staging site. The only way to partition changes is to partition your commits. but which data will be published: the content of the SVN repository or the content of the personal CMS work space? I guess the work space as I need to update it with the SVN content. Otherwise there is nothing new to publish. Thanks Marcus On Monday, May 19, 2014 3:17 PM, Marcus (OOo) wrote: Am 05/19/2014 09:51 AM, schrieb Andrea Pescetti: On 29/04/2014 Marcus (OOo) wrote: The main point is *where you are* in the CMS Browse View when you click on the "Update" link. I tried several times, but I'm not sure it works for me. Maybe it works if we see "update" as "update this directory". Example to update and publish only a file: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/index.html". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Edit]" in the row of the "index.html" file. 4. Click on the link "[Update]". 5. Do your changes in the file. 6. Commit your changes. 7. On the following page click on the link "[Publish]". In the last days I tried to do this for the main index.html page and for the download/devbuilds.html page. I commit to SVN directly (so I don't use the CMS for editing pages), but the rest works as you describe. So I browse to download/ in the CMS and when I update it downloads my changed devbuilds.html page and nothing else. But then, when I publish, if I Then you have update the *complete directory* but *not the single file*. OK, I'll do it again: 1. Open w.oo.o/index.html 2. Login via CMS bookmarklet 3. Click on [Edit] in the row for "index.html" 4. Click on [Update] on the top 5. Only this file was updated 6. click "View diff" I see all the changes in "download". So maybe committing through SVN means that I'm forced to update the directory, and thus if I change the main index.html file I must publish the whole site, and if I change devbuilds.html I must publish the whole subtree (download/) containing it? In that setup, indeed I wasn't able to find a command like "Update this file only". No, SVN is outside of this. I do it like you. It's like I wrote on the top: The main point is *where you are* in the CMS Browse View when you click on the "Update" link. That means: When you are in a directory, e.g., "download/" and click on "Update" then you get every new thing of this directory. But when a single file, e.g., "devbuild.html" is shown and you click on the "Update" link then only this file is updated and nothing else. Please can you try it and confirm? Thanks Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
Sorry but technically the CMS publishes all committed changes to the staging site. The only way to partition changes is to partition your commits. > On Monday, May 19, 2014 3:17 PM, Marcus (OOo) wrote: > > Am 05/19/2014 09:51 AM, schrieb Andrea Pescetti: >> On 29/04/2014 Marcus (OOo) wrote: >>> The main point is *where you are* in the CMS Browse View when you click >>> on the "Update" link. >> >> I tried several times, but I'm not sure it works for me. Maybe it works >> if we see "update" as "update this directory". >> >>> Example to update and publish only a file: >>> 1. In your browser open, e.g., >>> "www.openoffice.org/my-dir/my-subdir/index.html". >>> 2. Open the CMS via the bookmarklet. >>> 3. Click on the link "[Edit]" in the row of the > "index.html" file. >>> 4. Click on the link "[Update]". >>> 5. Do your changes in the file. >>> 6. Commit your changes. >>> 7. On the following page click on the link "[Publish]". >> >> In the last days I tried to do this for the main index.html page and for >> the download/devbuilds.html page. I commit to SVN directly (so I don't >> use the CMS for editing pages), but the rest works as you describe. So I >> browse to download/ in the CMS and when I update it downloads my changed >> devbuilds.html page and nothing else. But then, when I publish, if I > > Then you have update the *complete directory* but *not the single file*. > > OK, I'll do it again: > > 1. Open w.oo.o/index.html > 2. Login via CMS bookmarklet > 3. Click on [Edit] in the row for "index.html" > 4. Click on [Update] on the top > 5. Only this file was updated > 6. >> click "View diff" I see all the changes in "download". >> >> So maybe committing through SVN means that I'm forced to update the >> directory, and thus if I change the main index.html file I must publish >> the whole site, and if I change devbuilds.html I must publish the whole >> subtree (download/) containing it? In that setup, indeed I wasn't able >> to find a command like "Update this file only". > > No, SVN is outside of this. I do it like you. It's like I wrote on the top: > > The main point is *where you are* in the CMS Browse View when you click > on the "Update" link. > > That means: > When you are in a directory, e.g., "download/" and click on > "Update" > then you get every new thing of this directory. > > But when a single file, e.g., "devbuild.html" is shown and you click > on > the "Update" link then only this file is updated and nothing else. > > Please can you try it and confirm? > > Thanks > > > Marcus > > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
Am 05/19/2014 01:39 AM, schrieb Kay Schenk: On Sun, May 18, 2014 at 3:58 PM, Marcus (OOo) wrote: Re-post This mail has not got the attention it deserves as everybody is looking for this. ;-) Marcus Am 04/29/2014 08:52 PM, schrieb Marcus (OOo): Am 04/29/2014 03:45 PM, schrieb Jürgen Schmidt: Keep in mind that when you publish a page all pending changes will be published as well. It is no local update of your changes only. Just as reminder, it's a not so nice side effect of the CMS It seems this wonderful feature is unknown. So let me explain how to publish only your updates: :-) The main point is *where you are* in the CMS Browse View when you click on the "Update" link. Example to update and publish only a file: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/index.html". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Edit]" in the row of the "index.html" file. 4. Click on the link "[Update]". 5. Do your changes in the file. 6. Commit your changes. 7. On the following page click on the link "[Publish]". Now only the changed "index.html" file is published. Why? Because you have only updated this file in your local workspace repository on the Apache CMS server [1]. Example to update and publish only the content of a specific sub-dir: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Update this directory]". 4. Do your changes in one or more files. 5. Commit your changes. 6. On the following page click on the link "[Publish]". Now only the changed files in this directory are published. Why? Because you have only updated this drectory in your local workspace repository on the Apache CMS server [1]. [1] You can see your local repo on the top right. Example: marcus- > trunk> content> download> index.html HTH Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org Any chance you'd like to update the instructions we have already? :) http://openoffice.apache.org/docs/edit-cms.html What you're describing can be used whether do command line svn or not. It pertains to publishing. Sure I will document this. But first I want some confirmations as it seems it's an undocumented feature of the CMS. Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
Am 05/19/2014 09:51 AM, schrieb Andrea Pescetti: On 29/04/2014 Marcus (OOo) wrote: The main point is *where you are* in the CMS Browse View when you click on the "Update" link. I tried several times, but I'm not sure it works for me. Maybe it works if we see "update" as "update this directory". Example to update and publish only a file: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/index.html". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Edit]" in the row of the "index.html" file. 4. Click on the link "[Update]". 5. Do your changes in the file. 6. Commit your changes. 7. On the following page click on the link "[Publish]". In the last days I tried to do this for the main index.html page and for the download/devbuilds.html page. I commit to SVN directly (so I don't use the CMS for editing pages), but the rest works as you describe. So I browse to download/ in the CMS and when I update it downloads my changed devbuilds.html page and nothing else. But then, when I publish, if I Then you have update the *complete directory* but *not the single file*. OK, I'll do it again: 1. Open w.oo.o/index.html 2. Login via CMS bookmarklet 3. Click on [Edit] in the row for "index.html" 4. Click on [Update] on the top 5. Only this file was updated 6. click "View diff" I see all the changes in "download". So maybe committing through SVN means that I'm forced to update the directory, and thus if I change the main index.html file I must publish the whole site, and if I change devbuilds.html I must publish the whole subtree (download/) containing it? In that setup, indeed I wasn't able to find a command like "Update this file only". No, SVN is outside of this. I do it like you. It's like I wrote on the top: The main point is *where you are* in the CMS Browse View when you click on the "Update" link. That means: When you are in a directory, e.g., "download/" and click on "Update" then you get every new thing of this directory. But when a single file, e.g., "devbuild.html" is shown and you click on the "Update" link then only this file is updated and nothing else. Please can you try it and confirm? Thanks Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
On 29/04/2014 Marcus (OOo) wrote: The main point is *where you are* in the CMS Browse View when you click on the "Update" link. I tried several times, but I'm not sure it works for me. Maybe it works if we see "update" as "update this directory". Example to update and publish only a file: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/index.html". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Edit]" in the row of the "index.html" file. 4. Click on the link "[Update]". 5. Do your changes in the file. 6. Commit your changes. 7. On the following page click on the link "[Publish]". In the last days I tried to do this for the main index.html page and for the download/devbuilds.html page. I commit to SVN directly (so I don't use the CMS for editing pages), but the rest works as you describe. So I browse to download/ in the CMS and when I update it downloads my changed devbuilds.html page and nothing else. But then, when I publish, if I click "View diff" I see all the changes in "download". So maybe committing through SVN means that I'm forced to update the directory, and thus if I change the main index.html file I must publish the whole site, and if I change devbuilds.html I must publish the whole subtree (download/) containing it? In that setup, indeed I wasn't able to find a command like "Update this file only". Regards, Andrea. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
On Sun, May 18, 2014 at 3:58 PM, Marcus (OOo) wrote: > Re-post > > This mail has not got the attention it deserves as everybody is looking > for this. ;-) > > Marcus > > > > Am 04/29/2014 08:52 PM, schrieb Marcus (OOo): > > Am 04/29/2014 03:45 PM, schrieb Jürgen Schmidt: >> >>> Keep in mind that when you publish a page all pending changes will be >>> published as well. It is no local update of your changes only. Just as >>> reminder, it's a not so nice side effect of the CMS >>> >> >> It seems this wonderful feature is unknown. So let me explain how to >> publish only your updates: :-) >> >> The main point is *where you are* in the CMS Browse View when you click >> on the "Update" link. >> >> Example to update and publish only a file: >> >> 1. In your browser open, e.g., >> "www.openoffice.org/my-dir/my-subdir/index.html". >> 2. Open the CMS via the bookmarklet. >> 3. Click on the link "[Edit]" in the row of the "index.html" file. >> 4. Click on the link "[Update]". >> 5. Do your changes in the file. >> 6. Commit your changes. >> 7. On the following page click on the link "[Publish]". >> >> Now only the changed "index.html" file is published. >> >> Why? Because you have only updated this file in your local workspace >> repository on the Apache CMS server [1]. >> >> Example to update and publish only the content of a specific sub-dir: >> >> 1. In your browser open, e.g., >> "www.openoffice.org/my-dir/my-subdir/". >> 2. Open the CMS via the bookmarklet. >> 3. Click on the link "[Update this directory]". >> 4. Do your changes in one or more files. >> 5. Commit your changes. >> 6. On the following page click on the link "[Publish]". >> >> Now only the changed files in this directory are published. >> >> Why? Because you have only updated this drectory in your local workspace >> repository on the Apache CMS server [1]. >> >> [1] You can see your local repo on the top right. Example: >> marcus- > trunk > content > download > index.html >> >> HTH >> >> Marcus >> > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > > Any chance you'd like to update the instructions we have already? :) http://openoffice.apache.org/docs/edit-cms.html What you're describing can be used whether do command line svn or not. It pertains to publishing. -- - MzK "Life is either a daring adventure, or nothing." -- Helen Keller
Re: How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
Re-post This mail has not got the attention it deserves as everybody is looking for this. ;-) Marcus Am 04/29/2014 08:52 PM, schrieb Marcus (OOo): Am 04/29/2014 03:45 PM, schrieb Jürgen Schmidt: Keep in mind that when you publish a page all pending changes will be published as well. It is no local update of your changes only. Just as reminder, it's a not so nice side effect of the CMS It seems this wonderful feature is unknown. So let me explain how to publish only your updates: :-) The main point is *where you are* in the CMS Browse View when you click on the "Update" link. Example to update and publish only a file: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/index.html". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Edit]" in the row of the "index.html" file. 4. Click on the link "[Update]". 5. Do your changes in the file. 6. Commit your changes. 7. On the following page click on the link "[Publish]". Now only the changed "index.html" file is published. Why? Because you have only updated this file in your local workspace repository on the Apache CMS server [1]. Example to update and publish only the content of a specific sub-dir: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Update this directory]". 4. Do your changes in one or more files. 5. Commit your changes. 6. On the following page click on the link "[Publish]". Now only the changed files in this directory are published. Why? Because you have only updated this drectory in your local workspace repository on the Apache CMS server [1]. [1] You can see your local repo on the top right. Example: marcus- > trunk > content > download > index.html HTH Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
How to update, commit and publish only a single file/directory? [WAS: Re: need wiki help]
Am 04/29/2014 03:45 PM, schrieb Jürgen Schmidt: Keep in mind that when you publish a page all pending changes will be published as well. It is no local update of your changes only. Just as reminder, it's a not so nice side effect of the CMS It seems this wonderful feature is unknown. So let me explain how to publish only your updates: :-) The main point is *where you are* in the CMS Browse View when you click on the "Update" link. Example to update and publish only a file: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/index.html". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Edit]" in the row of the "index.html" file. 4. Click on the link "[Update]". 5. Do your changes in the file. 6. Commit your changes. 7. On the following page click on the link "[Publish]". Now only the changed "index.html" file is published. Why? Because you have only updated this file in your local workspace repository on the Apache CMS server [1]. Example to update and publish only the content of a specific sub-dir: 1. In your browser open, e.g., "www.openoffice.org/my-dir/my-subdir/". 2. Open the CMS via the bookmarklet. 3. Click on the link "[Update this directory]". 4. Do your changes in one or more files. 5. Commit your changes. 6. On the following page click on the link "[Publish]". Now only the changed files in this directory are published. Why? Because you have only updated this drectory in your local workspace repository on the Apache CMS server [1]. [1] You can see your local repo on the top right. Example: marcus- > trunk > content > download > index.html HTH Marcus - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org