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

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5910
  • 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: 7582
    • 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 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1553
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: 13413
    • 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: 5910
  • 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.