[MonoDevelop] Search for parent changelogs

Jacob Ilsø Christensen jacobilsoe at gmail.com
Fri Jun 29 14:03:10 EDT 2007


Hi.

The attached patch adds project configuration for ChangeLog
integration. Is this the way to do it? If yes is it ok to commit or is
it better to wait for the complete patch?

/Jacob

On 6/28/07, Lluis Sanchez <lluis at ximian.com> wrote:
> (snip)
> > >
> > > This should be done by the ChangeLog add-in. You know the files, so you
> > > can know what projects they belong to, and check the policy there.
> >
> > Yes, I know the file names, but how do I determine what project they
> > belong to?
>
> You can call GetProjectContainingFile on the root combine to find it.
>
> > Any documentation on that? Also (in theory) a file could
> > belong to several projects, could it not?
>
> It will return the first project it finds in this case. It's a corner
> case, so that's ok.
>
> >
> > > >
> > > > > So, after a policy is set for a project, the user doing a commit will
> > > > > never have to make a choice. The add-in will be able to find the
> > > > > ChangeLog or create it when necessary, following the configured policy.
> > > > > When a suitable ChangeLog can't be found or created, the add-in can just
> > > > > show a very visible warning message, like it does now.
> > > >
> > > > The add-in should support updating of multiple ChangeLogs, right?
> > >
> > > Yes, it could show a list of all ChangeLog files being updated, and a
> > > warning message if there is some file for which no ChangeLog could be
> > > found.
> > >
> > > Lluis.
> > >
> > >
> > >
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: changelog-integration-config.patch
Type: text/x-patch
Size: 18593 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070629/9953498a/attachment-0001.bin 


More information about the Monodevelop-list mailing list