Git Product home page Git Product logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024

Original comment by [email protected] on 2 Sep 2010 at 8:22

  • Added labels: Type-Enhancement, Priority-High, Milestone-Release1.0
  • Removed labels: Type-Defect, Priority-Medium

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
Hi, it's reasonable request.

Attached patch adds 'delete' option like following;
hook.pl --delete --bug=<BUG#> --revision=<REVISION#> 
--login=<BUGZILLA_USERNAME> --pass=<BUGZILLA_PASSWORD> 
--bugzilla=<URL_TO_BUGZILLA>

Go to extension directory (may be in /usr/share/bugzilla/extensions/VCS) and do;
patch -p0 -i <PATCHFILE>

Please note that I am just a stranger not bugzilla-vcs guys;)

Best Regards,
kohirohi.

Original comment by [email protected] on 15 Feb 2011 at 9:02

Attachments:

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
Hey, that's great, thank you! I think what was wanted was a way to delete this 
in the UI, though. What we'd want to do is implement remove_from_db for a 
Commit object, and then do something with the template_before_page hook to 
allow it to be deleted.

Original comment by [email protected] on 15 Feb 2011 at 2:17

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
Hi, I did shorten Commit.delete by using remove_from_db as you mentioned. Also 
I tried that put a delete button in each commit but I stacked at where we have 
to xml-rpc call from JavaScript. Anyway, an interface to delete function have 
been placed in the patch. So call it please ;)

Thanks,
kohirohi.

Original comment by [email protected] on 17 Feb 2011 at 4:22

Attachments:

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
[deleted comment]

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
[deleted comment]

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
Removed some potions and adjusted.(Wrong files for this issue and relative 
path).
- Shorten Commit.delete

Original comment by [email protected] on 17 Feb 2011 at 12:06

Attachments:

from bugzilla-vcs.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
Thanks for the patch.

modified hook.pl
modified lib/Commit.pm
modified lib/WebService.pm
modified template/en/default/hook/global/user-error-errors.html.tmpl
Committed revision 26.                                                         

Original comment by sgreen%[email protected] on 13 Dec 2013 at 11:47

  • Changed state: Fixed

from bugzilla-vcs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.