Closed Bug 556140 Opened 10 years ago Closed 10 years ago

Create live.mozillamessaging.com/autoconfig/v1.1/

Categories

(Webtools :: ISPDB Server, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: BenB, Assigned: gozer)

References

Details

Attachments

(1 file, 1 obsolete file)

Bug 531267 changed the config file reading to allow new format features like a second <incomingServer>. We need this for bug 532590 to add a POP server in addition to the IMAP server (and allow the user to choose). However, such a second <incomingServer> would break TB 3.0 (that's exactly what the bug fixed), so we need a different server URL and fork the files.

Step 1:
- mkdir autoconfig/v31/
- cp -a autoconfig/*.* autoconfig/v31/
Step 2:
- Change TB client (3.1 only) to hit the new URL.
  One-liner, we could do this in this bug.
Step 3:
- Change configs to add POP server and generally to new format.
  This will be handled in a separate bug.

The URL is up for debate. Alternatives e.g.
- autoconfig/v3.1/
- autoconfig/v1.1/
- autoconfig-v31/
- autoconfig-v1.1/
For reference, and as a vote, /v3.1/ is what the ISPDB uses, but I think /v1.1/ would be a better choice, to divorce it from Thunderbird's version number.

Thanks,
Blake.
(In reply to comment #1)
> For reference, and as a vote, /v3.1/ is what the ISPDB uses, but I think /v1.1/
> would be a better choice, to divorce it from Thunderbird's version number.

I agree with the 1.1 - otherwise we'd be implying we have to update the version number for each version of Thunderbird that we release, whether we make changes or not.
OK
Summary: Create live.mozillamessaging.com/autoconfig/v31/ → Create live.mozillamessaging.com/autoconfig/v1.1/
(In reply to comment #0)
> Bug 531267 changed the config file reading to allow new format features like a
> second <incomingServer>. We need this for bug 532590 to add a POP server in
> addition to the IMAP server (and allow the user to choose). However, such a
> second <incomingServer> would break TB 3.0 (that's exactly what the bug fixed),
> so we need a different server URL and fork the files.

What's the plan for continuing to provide updates for the files in the 3.0 format?

My suggestion would be a tool/script that can produce 3.0 safe files from the new format ones. That way, we just switch over to the new format, and let that tool take care of down-converting these new files into something TB 3.0 can digest.
> What's the plan for continuing to provide updates for the files in the 3.0
> format?

As shortly discussed on tb-planning:
- First, we just copy
- Then, we sync manually as needed
- Or we write a converter, as you and bwinton suggested.

> My suggestion would be a tool/script that can produce 3.0 safe files from the
> new format ones.

That'd be my preference. Maybe we can use some code from ISPDB, or maybe it's simple to write a simple tool from scratch. Should be easy enough (2h?). I probably won't do it myself, though.
My plan was that we convert the files manually until it gets too annoying, then someone pokes me in the head until I write a converter.  ;)

Later,
Blake.
live.mozillamessaging.com/autoconfig/v1.1/ is now visible and was just a svn copy.
Cool, thanks!
Attached patch Change URL in client (obsolete) — Splinter Review
Step 2
Attachment #436579 - Flags: review?(bwinton)
Attachment #436579 - Flags: review?(bugzilla)
This also changes the URL for fetch from ISPs to 1.1, per bwinton.
Attachment #436579 - Attachment is obsolete: true
Attachment #436592 - Flags: review?(bwinton)
Attachment #436579 - Flags: review?(bwinton)
Attachment #436579 - Flags: review?(bugzilla)
Attachment #436592 - Attachment description: Changes URL in client → Change URLs in client
Filed bug 556729 about improving the v1.1 config files.
Depends on: 556729
Depends on: 557401
Filed bug 557401 about the converter from v1.1 to v1.0.
Comment on attachment 436592 [details] [diff] [review]
Change URLs in client

bwinton: trivial patch, please review
Comment on attachment 436592 [details] [diff] [review]
Change URLs in client

Looks good to me.
Attachment #436592 - Flags: review?(bwinton) → review+
Commited as <http://hg.mozilla.org/comm-central/rev/83e6b3354052>

FIXED
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Component: ispdb → ISPDB Server
Product: Mozilla Messaging → Webtools
You need to log in before you can comment on or make changes to this bug.