Author Topic: I always see a manifest.xml file which dese not belong to our repo  (Read 1153 times)

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5354
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
The file is: src\plugins\contrib\SmartIndent\manifest.xml
With such contents:
Code
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<CodeBlocks_plugin_manifest_file>
    <SdkVersion major="1" minor="11" release="12" />
    <Plugin name="SmartIndentXML">
        <Value title="SmartIndentXML" />
        <Value version="0.1" />
        <Value description="Provides Smart indenting for XML and HTML" />
        <Value author="Alpha" />
        <Value authorEmail="" />
        <Value authorWebsite="" />
        <Value thanksTo="" />
        <Value license="GPL" />
    </Plugin>
</CodeBlocks_plugin_manifest_file>

Is this file automatically generated by some script?
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7133
    • My Best Post
Re: I always see a manifest.xml file which dese not belong to our repo
« Reply #1 on: May 05, 2021, 11:09:34 am »
On windows, the project post build step for each target creates it.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Miguel Gimenez

  • Lives here!
  • ****
  • Posts: 718
Re: I always see a manifest.xml file which dese not belong to our repo
« Reply #2 on: May 05, 2021, 03:07:23 pm »
The attached patch deletes the manifest.xml files after adding them to the zip files (using zip's -m option). This should prevent polution of the src folder.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13338
    • Travis build status
Re: I always see a manifest.xml file which dese not belong to our repo
« Reply #3 on: May 05, 2021, 10:26:16 pm »
Applied.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5354
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: I always see a manifest.xml file which dese not belong to our repo
« Reply #4 on: May 06, 2021, 03:15:35 am »
Good job, thanks for all your guys' help and fix!
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.