Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
请问哪位朋友知道tw的升级……
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
~She.Saran~  
View profile   Translate to Translated (View Original)
 More options Jun 3, 11:19 pm
From: "~She.Saran~" <she.sa...@gmail.com>
Date: Wed, 3 Jun 2009 20:19:16 -0700 (PDT)
Local: Wed, Jun 3 2009 11:19 pm
Subject: 请问哪位朋友知道tw的升级……
请问有哪位朋友知道 tiddlywiki 的升级流程,及源码。

我记得以前有看到过一个升级用的插件,可惜那时候没有保留下来。
想了解下 JavaScript 是如何SVN的。
请指教。


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BramChen  
View profile   Translate to Translated (View Original)
(1 user)  More options Jun 4, 2:06 am
From: BramChen <bram.c...@gmail.com>
Date: Thu, 4 Jun 2009 14:06:58 +0800
Local: Thurs, Jun 4 2009 2:06 am
Subject: Re: 请问哪位朋友知道tw的升级……

1)
TW 2.4.0 以後的版本已支援更新機制,見附圖。

TW 2.4.0 以前的舊版升級,參考這裡:
http://docs.google.com/View?docid=dhcg9zff_12frzqjz

2)
所稱之套件已納入核心,其 TW 更新機制與 svn 無關
http://trac.tiddlywiki.org/browser/Trunk/core/js/Upgrade.js

也許可以安裝於舊版本,請自行測試。
(若是欲升級至最新版本,安裝的意義不大,升級後移除?)

3)
svn 相關的討論串:
http://groups.google.com/group/TiddlyWiki-zh/browse_thread/thread/923...

svn 基本指令教學:
http://plog.longwin.com.tw/my_note-programming/2007/07/10/svn_tutoria...

4)
雖然常見之 svn client 於 desktop ap 多以 c, c++, java, python,web ap 則以 cgi, server
side scripts 實作。

沒聽過有直接用 javascript 的,實務上,可先以 c, c++ or java 寫個可供 javascript 呼叫 svn  api
的中介,問題會單純些。

Bram Chen
Website: http://ptw.sf.net/

2009/6/4 ~She.Saran~ <she.sa...@gmail.com>

  Upgrade.png
37K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
~She.Saran~  
View profile   Translate to Translated (View Original)
 More options Jun 4, 4:36 am
From: "~She.Saran~" <she.sa...@gmail.com>
Date: Thu, 4 Jun 2009 01:36:36 -0700 (PDT)
Local: Thurs, Jun 4 2009 4:36 am
Subject: Re: 请问哪位朋友知道tw的升级……
哦~原来tw与svn无关系。

那么tw的升级是怎样进行的呢?
tw升级过程是不是这样
先访问 http://www.tiddlywiki.com/upgrade/ 检测
//<![CDATA[
var version = {title: "TiddlyWiki", major: 2, minor: 4, revision: 0,
beta: 3, date: new Date("Apr 24, 2008"), extensions: {}};
//]]>
的版本是否和本地的一样,如果不是,就把这个tw下载回来,然后在自动导入进原来旧版tw内的条目,自动保存。

但是看了http://trac.tiddlywiki.org/browser/Trunk/core/js/Upgrade.js 处的代码,可是
里面没有出现过地址,那么tw又是怎么知道去那跟新源码呢?
又或者说,怎么知道有没有新版本出来了呢?

另外找到这个地址http://svn.tiddlywiki.org/Trunk/
在这个地址,应该是tw的源码之类的吧,但是似乎被分割了,这个地址里的文件是用来做啥的呢?和升级有关吗?

On 6月4日, 下午2时06分, BramChen <bram.c...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BramChen  
View profile   Translate to Translated (View Original)
(1 user)  More options Jun 4, 5:28 am
From: BramChen <Bram.C...@gmail.com>
Date: Thu, 4 Jun 2009 02:28:38 -0700 (PDT)
Local: Thurs, Jun 4 2009 5:28 am
Subject: Re: 请问哪位朋友知道tw的升级……
1)
TW 2.0.10 啟用的「公開」TW 源碼專案網站:
http://trac.tiddlywiki.org/wiki

 TW 開發維護的方式都是「分開」進行,在進行組裝合併。
目前多數的延伸版本都是使用這種方式。

關於這個 http://svn.tiddlywiki.org/Trunk/ 的說明,詳見:
http://trac.tiddlywiki.org/wiki/GettingTheSource

2)
所有 core mcros 的起始宣告都在核心源碼中:
....
config.macros = {
        today: {},
        version: {},
...
...
        upgrade: {
                source: "http://www.tiddlywiki.com/upgrade/",
                backupExtension: "pre.core.upgrade"
        },
...
...

};

可自定版本的更新服務來源,例如:
config.macros.upgrade.source = "http://yoururl/upgrade/yournew.html" ;

On 6月4日, 下午4時36分, "~She.Saran~" <she.sa...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
molezz  
View profile   Translate to Translated (View Original)
 More options Jun 4, 10:00 pm
From: molezz <mol...@gmail.com>
Date: Thu, 4 Jun 2009 19:00:35 -0700 (PDT)
Local: Thurs, Jun 4 2009 10:00 pm
Subject: Re: 请问哪位朋友知道tw的升级……
受教了,多谢啊

On 6月4日, 下午5時28分, BramChen <Bram.C...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BramChen  
View profile   Translate to Translated (View Original)
 More options Jun 4, 11:02 pm
From: BramChen <Bram.C...@gmail.com>
Date: Thu, 4 Jun 2009 20:02:05 -0700 (PDT)
Local: Thurs, Jun 4 2009 11:02 pm
Subject: Re: 请问哪位朋友知道tw的升级……
不客氣。

這些一直都是 TW 公開的資訊。

On 6月5日, 上午10時00分, molezz <mol...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google