Closed (fixed)
Project:
CVS deploy
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
22 Jan 2008 at 19:16 UTC
Updated:
7 Feb 2008 at 01:13 UTC
Jump to comment: Most recent file
Since I own this module, guess where the most up-to-date code is?
Site Documentation HEAD (2008-Jan-17) Update available
Recommended version: 5.x-1.5 (2007-Nov-18)
Development version: 5.x-1.x-dev (2008-Jan-17)
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | sitedoc-us.jpg | 129.06 KB | nancydru |
| #8 | 213014_bogus_project_name.patch | 945 bytes | dww |
| #7 | sitedoc-dir.jpg | 50.78 KB | nancydru |
| #7 | sitedoc-cvs.JPG | 49.37 KB | nancydru |
| #7 | sitedoc.zip | 35.92 KB | nancydru |
Comments
Comment #1
dwwIf you had a release node pointing to HEAD, this wouldn't be a problem.
Feel free to use the settings to have update_status ignore this module if you prefer.
Comment #2
dwwActually, it's not that I "won't fix" this. Really, it's not a problem at all -- you can already solve this yourself in 1 of 2 ways.
Comment #3
nancydru5.x-1.x-dev: Nightly development snapshot from CVS branch: HEAD
So this is more of my problems in creating "official" releases?
Actually maybe this gets more into a question I was going to ask you before I put it into my new docs. Do I need to take all the modules I created and set a sticky tag of "DRUPAL-5" (currently they have none) for the 5.x branches before I start my 6.x conversions. And before I commit anything for 6.x, have those versions with a sticky tag of "DRUPAL-6--1"? And, yes, I now have found out how to set the sticky tag with Tortoise - it's weird, but what they say to do.
Comment #4
dwwI'm assuming:
a) you have the latest cvs_deploy and update_status installed and working
b) your local copy of sitedoc is a regular CVS checkout from cvs.d.o
c) you "Check manually"'ed recently and have accurate available update data
if all that's true, i don't see how update_status could be telling you your locally installed version is just "HEAD". please either provide screenshots and more info, or confirm that the problem went away when you refreshed and/or updated everything.
in terms of your question -- no it's not the sticky tags that matter (those just affect your local workspace), it's creating branches (an operation in the repository itself). yes, you should make DRUPAL-5 branches before you start porting to D6 in HEAD. see http://drupal.org/node/17570
Comment #5
nancydruI'm as sure as you are that I'm doing something wrong, but here are the answers.
a) yes - just downloaded because of today's posts.
b) no - it is the original source with CVS on top of it.
c) yes
Screenshots attached.
Comment #6
dwwI don't understand "it is the original source with CVS on top of it." What does that mean?
Can you post a directory listing and the contents of every file in the "CVS" folder in one of these directories, for example: c:\www\drupal\sites\all\modules\sitedoc\CVS
I'm assuming there's no "Tag" file in there, but there *is* a "Repository" file and a "Root" file. I'm curious what those files contain, and if those files in fact exist. I must admit, I've never tried to use CVS on a windoze machine, so it's entirely possible cvs_deploy is confused since it was written by and for *nix users. ;)
Also, please include the contents of sitedoc.info.
Comment #7
nancydruOriginal source means that is where I developed the module. When I was ready to contribute it, I then told Tortoise to build a CVS repository for that directory.
sitedoc.info:
Entries:
Entries.Extra
Entries.Extra.Old
Entries.Old
Repository
Root
Template is empty
Comment #8
dwwThanks for the info. The data you provided made me say to myself "in-con-CEIV-able". ;) So, I tried it locally, and lo, it's broken. Tee hee, whoops. ;)
Please try the attached patch to cvs_deploy DRUPAL-5. Works for me. Please confirm it's working for you, too. Thanks. Note, because of the differences between D5 and D6, this bug isn't present in the D6 version of cvs_deploy.
Also, note: there's a slightly weird edge case where if you view admin/build/modules or admin/logs/updates when you have no available update data, cvs_deploy can't resolve 'HEAD' into something better. So, you should reload either page as soon as you visit the admin/logs/updates page or "Check manually". Nothing much I can really do about that, unfortunately.
Comment #9
dwwComment #10
nancydruOh, my, I wasn't doing something wrong? Which is more "in-con-CEIV-able"? I didn't think I saw this in D6; I will look more closely though.
I'll give the patch a try shortly (have to get my mother up and fed first).
Thanks for checking into this.
Comment #11
nancydruHere's a current screenshot. It seems to have the correct version, but still incorrectly indicates that there is an update available (and US too?).
Comment #12
dwwThat's a separate problem. cvs_deploy is trying to specify the 'datestamp' attribute for -dev releases based on the modification times on the CVS/Entries files. http://drupal.org/node/158526 u_s then has to compare these against the datestamps of the tarballs on d.o in the XML release history files. it's entirely possible that due to timezone or other clock skew, if your checkouts are from pretty close to the same time, that cvs_deploy thinks the d.o versions are newer. I don't really care, either: u_s is not meant to be perfect when people use -dev and branches. In fact, it's sort of against Earl and my better judgement that it supports them at all -- we'd rather maintainers created and users used, official releases from tags. 1 possible work around that should even work on windoze: remove a file from your workspace (e.g. the README.txt) and checkout again, and CVS/Entries will be newer than the latest tarball on d.o and u_s will be happy.
Given that my patch fixes the actual bug here, I committed to DRUPAL-5.
Comment #13
nancydruOkay, go for it.
I do create, and prefer to use, official releases. However, there are times when I want to put several little fixes into a -dev before creating a new tag.
Comment #14
dwwYes, of course. You should batch small changes into official releases. My point is, why should I spend any time worrying about what update_status tells you about your own -dev code?
Comment #15
nancydruYou shouldn't. But, on the other hand, I don't worry about US - it's in good hands.
Comment #16
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.