|
Bugzilla – Full Text Bug Listing |
| Summary: | improvement ideas for drpmsync | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE.org | Reporter: | Forgotten User OS1JNCFbCX <forgotten_OS1JNCFbCX> |
| Component: | Download Infrastructure | Assignee: | Lars Vogdt <lars.vogdt> |
| Status: | VERIFIED WONTFIX | QA Contact: | Lars Vogdt <lars.vogdt> |
| Severity: | Enhancement | ||
| Priority: | P5 - None | CC: | adrian.schroeter, aj, mls |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | SUSE Other | ||
| Whiteboard: | |||
| Found By: | Beta-Customer | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Forgotten User OS1JNCFbCX
2005-10-24 06:42:20 UTC
Thanks for playing with deltarpm!
1) the current development version already supports multiple "have" parameters.
2) Hmm, that's a bit difficult as there is no such thing as a relative filename. The server uses "combinedeltarpm" to combine multiple deltas into one, the resulting delta is not stored in the filesystem.
3) This is easy to implement. Note, however, that there is almost no startup time if the server's cache is up to date.
4) Not really, as it is work in progress. Basically the client sends standard HTTP requests, the answer is of the format:
"DRPMSYNC" or "DRPMSYNK" for "keepalive" mode
4 bytes version in hex
4 bytes answer ID
8 bytes path len in hex
8 bytes answer block in hex
path data
answer block
32 bytes md5sum of answer block in hex
answer block depends in the ID:
GONE: file is gone
FILE: file mode + mtime + file data
FILZ: file mode + mtime + compressed file data
RPM : file mode + mtime of resulting rpm (12 bytes)
8 bytes number of deltarpms in hex
8 bytes number of rpms in hex (always 0 or 1)
number of deltarpms deltarpm info blocks:
file mode + mtime (12 bytes)
32*3 bytes deltarpm name
8 bytes deltarpm size
deltarpm data
rpm data
file mode is 4 bytes hex: TMMM
T = 0: dir
T = 1: file
T = 2: symlink
1) Very good! 2) He could send all filenames of the uncombined files in that case. 3) drpmsync.opensuse.org never is because it is extremely overloaded. 4) Thanks. Bump. Any of this still needs a fix? 1) is done. I don't know about drpmsync.opensuse.org. I think I'll close 2) with wontfix. |