Hi all, Voting Results for the Cross-Platform Script Separation Plan. The voting results are as follows:
• Option 1: 4 votes (Create a Windows subfolder under the sbin directory) • Option 2: 1 vote (Create a Windows folder parallel to the sbin directory) • Option 4: 2 votes (Maintain the current status with mixed Windows and Unix scripts) Option 1 received the highest number of votes. After careful consideration and discussion, we have decided to proceed with Option 1 for the implementation of our script migration plan. Thank you for your participation in the voting process. Thanks, Yiru Wang > From: "王艺儒"<yiru.w...@timecho.com> > Date: Thu, Apr 17, 2025, 15:45 > Subject: Re: [DISCUSS]Adjustments to sbin and tools Scripts > To: "王艺儒"<yiru.w...@timecho.com> > +1 for [ Option 1] > > > Best regards, > ----------------------- > yiru Wang > From: "王艺儒"<yiru.w...@timecho.com> > Date: Wed, Apr 16, 2025, 17:07 > Subject: [DISCUSS]Adjustments to sbin and tools Scripts > To: "dev"<dev@iotdb.apache.org> > Hi all, > As the number of scripts continues to grow, the current count within a single > sbin directory has reached as high as 27. Moreover, these scripts are > scattered across various projects such as datanode, confignode, cli, and > node-commons, making the search and maintenance of scripts quite inconvenient. > Therefore, we plan to migrate the scripts in the next version, with the main > content as follows: > • Script Central Management: Migrate scripts scattered across different > projects to the scripts/sbin and scripts/tools directories under the root > directory. > • Script Functional Classification: Categorize and move scripts to different > files or subdirectories based on their functionality. For frequently used > scripts, their current locations will be preserved to minimize the impact on > existing workflows. > • Cross-Platform Script Separation: Due to the excessive number of scripts, > we are considering separating Windows and Unix scripts and have proposed the > following four options: > • Option 1: Create a Windows subfolder under the sbin directory (sbin, > sbin/windows). > • Option 2: Create a Windows folder parallel to the sbin directory (sbin, > sbin-windows). > • Option 3: Distinguish during packaging to generate installation > packages for different platforms (apache-iotdb-xxx-SNAPSHOT-all-bin-windows, > apache-iotdb-xxx-SNAPSHOT-all-bin-unix). > • Option 4: Maintain the status quo for the time being (mixed Windows and > Unix). > We sincerely invite community members to vote on these options, with a limit > of two votes per person. Your choice is very important to us and will > directly affect the implementation of the script migration plan.