1 message in com.perforce.perforce-user[p4] Re:perforce-user digest, Vol 1 #...| From | Sent On | Attachments |
|---|---|---|
| Thatcher Deane | 03 Aug 2001 12:03 |
| Subject: | [p4] Re:perforce-user digest, Vol 1 #590 - 5 msgs (Vacation Alert)![]() |
|---|---|
| From: | Thatcher Deane (That...@ci.seattle.wa.us) |
| Date: | 08/03/2001 12:03:12 PM |
| List: | com.perforce.perforce-user |
I will be out of office beginning Noon Aug 2nd returning Tues Aug 7th. In my
absence .....
* Source Code Management see Carolyn Heberlein 684-3915
* DoIT / AIX Single point of contact see Jose Torres 386-4547
AIX DoIT infrastructure problems off hours: Computer Center Operations 3-5050
* SCL IT support for BOC: SCl Service Desk: 684-3766
* Distributed printing (Service Orders, OTC receipts and reports): Sandy
McKnight 684-3599
* CCSS Change Mangement: Vic Koenig 684-0952
-Thatcher
"perforce-user at perforce.com" 08/03/01 12:05 >>>
Send perforce-user mailing list submissions to perforce-user at perforce.com
To subscribe or unsubscribe via the World Wide Web, visit http://maillist.perforce.com/mailman/listinfo/perforce-user or, via email, send a message with subject or body 'help' to perforce-user-request at perforce.com
You can reach the person managing the list at perforce-user-admin at perforce.com
When replying, please edit your Subject line so it is more specific than "Re: Contents of perforce-user digest..."
Today's Topics:
1. RE: Bugzilla 2.12 & P4DTI (Gareth Rees)
2. RE: Bugzilla 2.12 & P4DTI (Gareth Rees)
3. Code reuse: how to convert VSS shares to perforce equivalent?
(david.hildebrandt at redspark.com)
4. Re: Code reuse: how to convert VSS shares to perforce
equivalent? (Stephen Vance)
--__--__--
Message: 1 Date: Thu, 2 Aug 2001 20:17:41 +0100 To: "Albrecht, Matt" <matt.albrecht at zilliant.com>, "'Dave Gough'" <david at ace-comp.com>, perforce-user at perforce.com From: Gareth Rees <gdr at ravenbrook.com> Subject: RE: [p4] Bugzilla 2.12 & P4DTI Cc: p4dti-staff at ravenbrook.com
At 10:30 -0500 2001-08-01, Albrecht, Matt wrote:
I had to make a mod to the P4DTI that made it look for new Bugzilla entries - without it, P4DTI would never see new entries and propagate them over to P4.
This is caused by a bug in the implementation of LEFT JOIN in version 3.23.37 of MySQL. See <http://www.ravenbrook.com/project/p4dti/issue/job000345/>. Here's our workaround, which will be in the next release:
780c780 < " and bugs_activity.bug_when is null" # NO recent activity
---
" and bugs_activity.fieldid is null" # NO recent activity
Also, there's apparently a slight bug with the to-string transformation for inserting into MySQL, where a date (as opposed to a string) is passed into the routine.
Can you describe this problem in more detail? What goes wrong? What are the symptoms?
[Nick: I wonder if this is could be to do with MySQL using date objects instead of date strings if a particular Python module is installed.]
--__--__--
Message: 2 Date: Thu, 2 Aug 2001 20:05:15 +0100 To: "Albrecht, Matt" <matt.albrecht at zilliant.com>, "'Dave Gough'" <david at ace-comp.com>, perforce-user at perforce.com From: Gareth Rees <gdr at ravenbrook.com> Subject: RE: [p4] Bugzilla 2.12 & P4DTI
FYI, FTA.
At 10:30 -0500 2001-08-01, Albrecht, Matt wrote:
I had to make a mod to the P4DTI that made it look for new Bugzilla entries - without it, P4DTI would never see new entries and propagate them over to P4. Also, there's apparently a slight bug with the to-string transformation for inserting into MySQL, where a date (as opposed to a string) is passed into the routine.
Other than that, everything seems to work.
I've attached my changes to the standard distro of bugzilla.py.
-Matt Albrecht SQA Engineer Zilliant, Inc
-----Original Message----- From: Dave Gough [mailto:david at ace-comp.com] Sent: Tuesday, July 31, 2001 1:30 PM To: perforce-user at perforce.com Subject: [p4] Bugzilla 2.12 & P4DTI
Has anyone gotten Bugzilla 2.12 and P4DTI to play well with one another? P4DTI suggests 2.10, but I thought I'd check to see if the newest stable was any better and still functional.
--
Dave Gough System Administrator
Matt Albrecht had modified bugzilla.py from release 1.1.1. Here are the changes he made:
224,227c224,232 < if (type(value) != types.StringType): < # "Given '%s' when expecting a string." < raise error, catalog.msg(105, str(value)) < return "'" + self.db.escape_string(value) + "'"
---
# This is not safe! if (type(value) != types.StringType): return "'" + self.db.escape_string( str( value ) ) + "'" return "'" + self.db.escape_string( value ) + "'" # if (type(value) != types.StringType): # # "Given '%s' when expecting a string." # raise error, catalog.msg(105, str(value)) # raise error, catalog.msg(105, str(value) + ' (type '+str(type(value))+')') # return "'" + self.db.escape_string(value) + "'"
308d312 < 371d374 < 622d624 < 739a742,753
# MCA 15-Jun-2001: # Very first, we need to find all 'bug' entries which do not # have 'p4dti_bug' entries. Fortunately, MySQL provides us an # OUTER JOIN
just_new = self.fetch_rows_as_list_of_dictionaries( ("select bugs.* from bugs " " left join p4dti_bugs " # get all bugs " using (bug_id) " # based on bug_id " where p4dti_bugs.bug_id is NULL"), # where there is no P4 entry "bugs that P4 has not seen")
795c809 < bugs = changed + new_and_touched
---
bugs = just_new + changed + new_and_touched 1123a1138
--__--__--
Message: 3 From: davi...@redspark.com To: perforce-user at perforce.com Date: Fri, 3 Aug 2001 08:51:42 -0700 Subject: [p4] Code reuse: how to convert VSS shares to perforce equivalent?
I am in the throes of converting from VSS to Perforce. One of my user
community, a VSS guru, uses the "share" capability of VSS. This is essentially
the CM version of unix links - that is, a file is "shared" among multiple
directories and is really the same file - has the same version history etc, but
is present as multiple but always-identical copies of itself in each directory
that participates.
My developer uses this to do code reuse. He has a library directory, and
essentially every file in it is shared into each application directory. That
application (developed under Visual Studio) uses the library file as any other
file. Additionally, Visual Studio seems to know about VSS' sharing capability,
and in its integration with the development system, is willing to share files
from one project with another.
Is there a reasonable way to emulate this using Perforce?
If not, doesn't code reuse usually get accomplished with DLLs or LIBs?
-d
--__--__--
Message: 4 Date: Fri, 03 Aug 2001 12:18:22 -0400 To: david.hildebrandt at redspark.com, perforce-user at perforce.com From: Stephen Vance <steve at vance.com> Subject: Re: [p4] Code reuse: how to convert VSS shares to perforce equivalent?
At 08:51 AM 8/3/2001 -0700, david.hildebrandt at redspark.com wrote:
I am in the throes of converting from VSS to Perforce. One of my user community, a VSS guru, uses the "share" capability of VSS. This is essentially the CM version of unix links - that is, a file is "shared" among multiple directories and is really the same file - has the same version history etc, but is present as multiple but always-identical copies of itself in each directory that participates.
My developer uses this to do code reuse. He has a library directory, and essentially every file in it is shared into each application directory. That application (developed under Visual Studio) uses the library file as any other file. Additionally, Visual Studio seems to know about VSS' sharing capability, and in its integration with the development system, is willing to share files from one project with another.
Is there a reasonable way to emulate this using Perforce?
Two techniques:
Put the common code in its own area of the depot and integrate it into each project that uses it. This allows better control of how project-specific changes get approved and migrated back to the truly shared code base.
A more VSS-like approach would be to map the common code into the clients for each project. Everyone modifies it directly.
If not, doesn't code reuse usually get accomplished with DLLs or LIBs?
Ideally, yes. Unfortunately, many organizations don't have the manpower, organization, discipline, regulatory desire, etc. (lots of potential reasons) to have a distinct maintenance cycle for shared core code. This reduces the overhead for a common code base, but also facilitates the introduction of core code changes that work well for one project, but break compatibility for projects other than the one in which the code was changed.
Also, sometimes build environments aren't sufficiently mature to support true modularization. This is a combination of native tool capability and how the tools are implemented. Most build tools, including Visual Studio projects and make, allow you to do that kind of thing, but only through lots of implementation effort on your part.
Steve
Stephen Vance mailto:steve at vance.com http://www.vance.com/
--__--__--
_______________________________________________ perforce-user mailing list - perforce-user at perforce.com http://maillist.perforce.com/mailman/listinfo/perforce-user
End of perforce-user Digest




