[MonoDevelop] Search for parent changelogs
Lluis Sanchez
lluis at ximian.com
Wed Jun 27 18:20:52 EDT 2007
(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.
> >
> >
> >
More information about the Monodevelop-list
mailing list